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 Definition: CompoundShapeToGraphics.cpp:29
double m_orientationScale
Scale factor for the orientation axes; stored locally before the device is initialized.
Definition: TrackIRDevice.h:87
A class that manages Natural Point TRACKIR devices.
Definition: TrackIRScaffold.h:38
bool isInitialized() const override
Definition: TrackIRDevice.cpp:66
bool initialize() override
Fully initialize the device.
Definition: TrackIRDevice.cpp:43
A class implementing the communication with Natural Point TrackIR camera.
Definition: TrackIRDevice.h:44
double getPositionScale() const
Gets the position scale for this device.
Definition: TrackIRDevice.cpp:81
static double defaultOrientationScale()
Definition: TrackIRDevice.cpp:107
double m_positionScale
Scale factor for the position axes; stored locally before the device is initialized.
Definition: TrackIRDevice.h:85
SURGSIM_CLASSNAME(SurgSim::Devices::TrackIRDevice)
virtual ~TrackIRDevice()
Destructor.
Definition: TrackIRDevice.cpp:35
bool finalize() override
Finalize (de-initialize) the device.
Definition: TrackIRDevice.cpp:58
static double defaultPositionScale()
Definition: TrackIRDevice.cpp:102
void setPositionScale(double scale)
Sets the position scale for this device.
Definition: TrackIRDevice.cpp:72
TrackIRDevice(const std::string &uniqueName)
Constructor.
Definition: TrackIRDevice.cpp:28
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
double getOrientationScale() const
Gets the orientation scale for this device.
Definition: TrackIRDevice.cpp:96