opensurgsim
|
Public Member Functions | |
DeviceData (ReplayPoseDevice *device) | |
Constructor. More... | |
Math::RigidTransform3d | getPose () |
Retrieve the pose for the given time stamp "m_timestamp". More... | |
Public Attributes | |
ReplayPoseDevice *const | deviceObject |
Device object managed by this scaffold. | |
Framework::Timer | m_timer |
Timer to keep track of the time stamp and keep the replay in sync with the recording. | |
double | m_timestamp |
Time stamp for the device (which time stamp are we reproducing?) | |
std::vector< std::pair< double, Math::RigidTransform3d > > | m_motion |
Series of poses through time loaded from the input file. | |
size_t | m_index |
Index of the latest pose used. | |
bool | m_fileLoaded |
Valid file loaded successfully. | |
|
inlineexplicit |
Constructor.
device | Device to be managed by this scaffold |
|
inline |
Retrieve the pose for the given time stamp "m_timestamp".