16 #ifndef SURGSIM_DEVICES_TRACKIR_TRACKIRDEVICE_H 17 #define SURGSIM_DEVICES_TRACKIR_TRACKIRDEVICE_H 22 #include "SurgSim/Input/CommonDevice.h" 28 class TrackIRScaffold;
30 SURGSIM_STATIC_REGISTRATION(TrackIRDevice);
77 bool finalize()
override;
80 static double defaultPositionScale();
82 static double defaultOrientationScale();
85 double m_positionScale;
87 double m_orientationScale;
90 std::shared_ptr<TrackIRScaffold> m_scaffold;
96 #endif // SURGSIM_DEVICES_TRACKIR_TRACKIRDEVICE_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
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
virtual ~TrackIRDevice()
Destructor.
Definition: TrackIRDevice.cpp:35
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
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