Frame holder for C3D data.
More...
#include <Frame.h>
Frame holder for C3D data.
Definition at line 17 of file Frame.h.
◆ add() [1/4]
Add a frame by copying a sent frame.
- Parameters
-
Definition at line 50 of file Frame.cpp.
◆ add() [2/4]
Add points to a frame.
- Parameters
-
points | The 3D points to add |
Definition at line 55 of file Frame.cpp.
◆ add() [3/4]
Add analogs to a frame.
- Parameters
-
analogs | The analogous data to add |
Definition at line 60 of file Frame.cpp.
◆ add() [4/4]
Add points and analogs to a frame.
- Parameters
-
points | The 3D points to add |
analogs | The analogous data to add |
Definition at line 65 of file Frame.cpp.
◆ analogs()
Return a reference to all the analogs.
- Returns
- Reference to all the analogs
Definition at line 40 of file Frame.cpp.
◆ analogs_nonConst()
Return a reference to all the analogs in order to be modified by the caller.
- Returns
- A non-const reference to all the analogs
Get all the analogs in the form of a non-const reference. The user can thereafter modify these analogs at will, but with the caution it requires.
Definition at line 45 of file Frame.cpp.
◆ isempty()
bool ezc3d::DataNS::Frame::isempty |
( |
| ) |
const |
Return if the frame is empty.
- Returns
- if the frame is empty
Definition at line 71 of file Frame.cpp.
◆ points()
Return a reference to all the points.
- Returns
- Reference to all the points
Definition at line 30 of file Frame.cpp.
◆ points_nonConst()
Return a reference to all the points in order to be modified by the caller.
- Returns
- A non-const reference to all the points
Get all the points in the form of a non-const reference. The user can thereafter modify these points at will, but with the caution it requires.
Definition at line 35 of file Frame.cpp.
◆ print()
void ezc3d::DataNS::Frame::print |
( |
| ) |
const |
Print the frame.
Print the frame to the console by calling sequentially the print method for points and analogs
Definition at line 18 of file Frame.cpp.
◆ write()
void ezc3d::DataNS::Frame::write |
( |
std::fstream & |
f | ) |
const |
Write a frame to an opened file.
- Parameters
-
f | Already opened fstream file with write access |
Write the frame to a file by calling sequentially the write method for points and analogs
Definition at line 24 of file Frame.cpp.
The documentation for this class was generated from the following files: