16 #ifndef SURGSIM_DEVICES_MOUSE_MOUSESCAFFOLD_H 17 #define SURGSIM_DEVICES_MOUSE_MOUSESCAFFOLD_H 21 #include "SurgSim/Framework/Logger.h" 26 namespace DataStructures
34 class OsgMouseHandler;
54 static std::shared_ptr<MouseScaffold> getOrCreateSharedInstance();
68 bool unregisterDevice();
77 bool updateDevice(
int buttons,
float x,
float y,
int scrollDeltaX,
int scrollDeltaY);
88 std::shared_ptr<SurgSim::Framework::Logger> m_logger;
90 std::unique_ptr<DeviceData> m_device;
96 #endif // SURGSIM_DEVICES_MOUSE_MOUSESCAFFOLD_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
Definition: OsgMouseHandler.h:30
A class implementing the communication with a mouse.
Definition: MouseDevice.h:52
A collection of NamedData objects.
Definition: DataGroup.h:68
A class that implements the behavior of MouseDevice objects.
Definition: MouseScaffold.h:38
Definition: MouseDeviceTest.cpp:35
Struct to hold a MouseDevice object, a OsgMouseHandler, and a mutex for data passing.
Definition: MouseScaffold.cpp:34