16 #ifndef SURGSIM_DEVICES_MOUSE_MOUSEDEVICE_H 17 #define SURGSIM_DEVICES_MOUSE_MOUSEDEVICE_H 19 #include "SurgSim/Input/CommonDevice.h" 29 class OsgMouseHandler;
31 SURGSIM_STATIC_REGISTRATION(MouseDevice);
60 explicit MouseDevice(
const std::string& deviceName);
76 bool finalize()
override;
79 std::shared_ptr<MouseScaffold> m_scaffold;
85 #endif //SURGSIM_DEVICES_MOUSE_MOUSEDEVICE_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
virtual ~MouseDevice()
Destructor.
Definition: MouseDevice.cpp:33
MouseDevice(const std::string &deviceName)
Constructor.
Definition: MouseDevice.cpp:28
Definition: OsgMouseHandler.h:30
bool initialize() override
Fully initialize the device.
Definition: MouseDevice.cpp:41
A class implementing the communication with a mouse.
Definition: MouseDevice.h:52
OsgMouseHandler * getMouseHandler() const
Get mouse handler.
Definition: MouseDevice.cpp:68
A class that implements the behavior of MouseDevice objects.
Definition: MouseScaffold.h:38
Definition: MouseDeviceTest.cpp:35
bool isInitialized() const override
Definition: MouseDevice.cpp:63