c3d-utils
|
Class for reading frame data of a C3d file. More...
#include <uuc3d.hpp>
Public Member Functions | |
C3dFile (C3dFileInfo const &fi) | |
Constructor. | |
void | get_frame_data (FrameData &data, int frame_no) const |
DataPoint3d | get_point (int frame_no, int point_no) const |
Class for reading frame data of a C3d file.
UuIcsC3d::C3dFile::C3dFile | ( | C3dFileInfo const & | fi | ) |
Constructor.
[in] | fi | C3d file information |
void UuIcsC3d::C3dFile::get_frame_data | ( | FrameData & | data, |
int | frame_no | ||
) | const |
Get the data of one frame
[out] | data | will be filled with the data |
[in] | frame_no | is the number of the frame (0 based) Should be less than the value of frame_count in the corresponding C3dFileInfo object. |
DataPoint3d UuIcsC3d::C3dFile::get_point | ( | int | frame_no, |
int | point_no | ||
) | const |
Get the data of one point
[in] | frame_no | is the number of the frame (0 based). Should be less than the value of frame_count in the corresponding C3dFileInfo object. |
[in] | point_no | the number of the point (0 based). Should be less than the value of points_per_frame in the corresponding C3dFileInfo object. |