Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_TRACKIR_TRACKIRDEVICE_H
17 #define SURGSIM_DEVICES_TRACKIR_TRACKIRDEVICE_H
28 class TrackIRScaffold;
30 SURGSIM_STATIC_REGISTRATION(TrackIRDevice);
96 #endif // SURGSIM_DEVICES_TRACKIR_TRACKIRDEVICE_H
bool initialize() override
Fully initialize the device.
Definition: TrackIRDevice.cpp:43
std::shared_ptr< TrackIRScaffold > m_scaffold
Communication with hardware is handled by scaffold.
Definition: TrackIRDevice.h:90
void setOrientationScale(double scale)
Sets the orientation scale for this device.
Definition: TrackIRDevice.cpp:87
static double defaultOrientationScale()
Definition: TrackIRDevice.cpp:107
double getOrientationScale() const
Gets the orientation scale for this device.
Definition: TrackIRDevice.cpp:96
double m_orientationScale
Scale factor for the orientation axes; stored locally before the device is initialized.
Definition: TrackIRDevice.h:87
virtual ~TrackIRDevice()
Destructor.
Definition: TrackIRDevice.cpp:35
static double defaultPositionScale()
Definition: TrackIRDevice.cpp:102
Definition: CompoundShapeToGraphics.cpp:30
bool isInitialized() const override
Definition: TrackIRDevice.cpp:66
A class implementing the communication with Natural Point TrackIR camera.
Definition: TrackIRDevice.h:45
double getPositionScale() const
Gets the position scale for this device.
Definition: TrackIRDevice.cpp:81
TrackIRDevice(const std::string &uniqueName)
Constructor.
Definition: TrackIRDevice.cpp:28
double m_positionScale
Scale factor for the position axes; stored locally before the device is initialized.
Definition: TrackIRDevice.h:85
A class that manages Natural Point TRACKIR devices.
Definition: TrackIRScaffold.h:39
SURGSIM_CLASSNAME(SurgSim::Devices::TrackIRDevice)
bool finalize() override
Finalize (de-initialize) the device.
Definition: TrackIRDevice.cpp:58
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38
void setPositionScale(double scale)
Sets the position scale for this device.
Definition: TrackIRDevice.cpp:72