◆ DeviceData() [1/2]
| SurgSim::Devices::ReplayPoseScaffold::DeviceData::DeviceData |
( |
ReplayPoseDevice * |
device | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
| device | Device to be managed by this scaffold |
◆ DeviceData() [2/2]
| SurgSim::Devices::ReplayPoseScaffold::DeviceData::DeviceData |
( |
const DeviceData & |
| ) |
|
|
private |
◆ getPose()
Retrieve the pose for the given time stamp "m_timestamp".
- Returns
- The requested pose, Identity if none could be loaded
◆ loadFile()
| bool SurgSim::Devices::ReplayPoseScaffold::DeviceData::loadFile |
( |
const std::string & |
fileName | ) |
|
|
inlineprivate |
- Parameters
-
| fileName | the file to be open and loaded |
- Returns
- True if the file was loaded successfully, False otherwise
◆ operator=()
◆ deviceObject
| ReplayPoseDevice* const SurgSim::Devices::ReplayPoseScaffold::DeviceData::deviceObject |
Device object managed by this scaffold.
◆ m_fileLoaded
| bool SurgSim::Devices::ReplayPoseScaffold::DeviceData::m_fileLoaded |
Valid file loaded successfully.
◆ m_index
| size_t SurgSim::Devices::ReplayPoseScaffold::DeviceData::m_index |
Index of the latest pose used.
◆ m_motion
| std::vector<std::pair<double, Math::RigidTransform3d> > SurgSim::Devices::ReplayPoseScaffold::DeviceData::m_motion |
Series of poses through time loaded from the input file.
◆ m_timer
Timer to keep track of the time stamp and keep the replay in sync with the recording.
◆ m_timestamp
| double SurgSim::Devices::ReplayPoseScaffold::DeviceData::m_timestamp |
Time stamp for the device (which time stamp are we reproducing?)
The documentation for this struct was generated from the following file: