16 #ifndef SURGSIM_DEVICES_SIXENSE_SIXENSETHREAD_H 17 #define SURGSIM_DEVICES_SIXENSE_SIXENSETHREAD_H 22 #include "SurgSim/Framework/BasicThread.h" 29 class SixenseScaffold;
37 BasicThread(
"Sixense thread"),
46 bool doInitialize()
override;
47 bool doStartUp()
override;
57 #endif // SURGSIM_DEVICES_SIXENSE_SIXENSETHREAD_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 Sixense devices, such as the Razer Hydra.
Definition: SixenseScaffold.h:35
void setRate(double val)
Set the update rate of the thread.
Definition: BasicThread.h:106
A class implementing the thread context for sampling Sixense devices.
Definition: SixenseThread.h:33
Basic thread implementation, tries to maintain a constant rate, supplies startup an initialization...
Definition: BasicThread.h:48
bool doUpdate(double dt) override
Implementation of actual work function for this thread, this has a default implementation to handle d...
Definition: SixenseThread.cpp:29