OpenSim::MarkerFrame Class Reference
A class implementing a frame of marker data from a TRC/TRB file.
More...
#include <MarkerFrame.h>
List of all members.
Detailed Description
A class implementing a frame of marker data from a TRC/TRB file.
- Author:
- Peter Loan
- Version:
- 1.0
Constructor & Destructor Documentation
MarkerFrame::MarkerFrame |
( |
|
) |
|
MarkerFrame::MarkerFrame |
( |
int |
aNumMarkers, |
|
|
int |
aFrameNumber, |
|
|
double |
aTime, |
|
|
Units & |
aUnits | |
|
) |
| | |
Constructor taking all the header information.
- Parameters:
-
| aNumMarkers | the number of markers in the frame |
| aFrameNumber | the frame number |
| aTime | the time of the frame |
| aUnits | the units of the XYZ marker coordinates |
MarkerFrame::MarkerFrame |
( |
const MarkerFrame & |
aFrame |
) |
|
MarkerFrame::~MarkerFrame |
( |
|
) |
[virtual] |
Member Function Documentation
void MarkerFrame::addMarker |
( |
const SimTK::Vec3 & |
aCoords |
) |
|
Add a marker to the frame.
- Parameters:
-
| aCoords | the XYZ coordinates of the marker |
int OpenSim::MarkerFrame::getFrameNumber |
( |
|
) |
const [inline] |
double OpenSim::MarkerFrame::getFrameTime |
( |
|
) |
const [inline] |
SimmPoint& OpenSim::MarkerFrame::getMarker |
( |
int |
aIndex |
) |
[inline] |
void MarkerFrame::scale |
( |
double |
aScaleFactor |
) |
|
Scale the XYZ coordinates of all markers in the frame.
- Parameters:
-
| aScaleFactor | the scale factor |
void OpenSim::MarkerFrame::setFrameNumber |
( |
int |
aNumber |
) |
[inline] |
The documentation for this class was generated from the following files:
- OpenSim/Common/MarkerFrame.h
- OpenSim/Common/MarkerFrame.cpp