#include <SurgSim/Devices/Mouse/OsgMouseHandler.h>
|
| OsgMouseHandler () |
| Constructor. More...
|
|
bool | handle (const osgGA::GUIEventAdapter &eventHandler, osgGA::GUIActionAdapter &actionAdapter) override |
| Method to handle GUI event. More...
|
|
§ OsgMouseHandler()
SurgSim::Devices::OsgMouseHandler::OsgMouseHandler |
( |
| ) |
|
§ handle()
bool SurgSim::Devices::OsgMouseHandler::handle |
( |
const osgGA::GUIEventAdapter & |
eventHandler, |
|
|
osgGA::GUIActionAdapter & |
actionAdapter |
|
) |
| |
|
override |
Method to handle GUI event.
- Parameters
-
eventHandler | A osgGA::GUIEventAdapter |
actionAdapter | A osgGA::GUIActionAdapter (required by this virtual method) |
- Returns
- True if the event has been handled by this method; Otherwise, false.
§ m_lastButtonMask
int SurgSim::Devices::OsgMouseHandler::m_lastButtonMask |
|
private |
§ m_lastScrollX
int SurgSim::Devices::OsgMouseHandler::m_lastScrollX |
|
private |
Last direction of mouse wheel's horizontal (X) and vertical (Y) movement.
§ m_lastScrollY
int SurgSim::Devices::OsgMouseHandler::m_lastScrollY |
|
private |
§ m_lastX
float SurgSim::Devices::OsgMouseHandler::m_lastX |
|
private |
lastX is the X-coordinate of mouse's last location lastY is the Y-coordinate of mouse's last location
§ m_lastY
float SurgSim::Devices::OsgMouseHandler::m_lastY |
|
private |
§ m_mouseScaffold
std::weak_ptr<MouseScaffold> SurgSim::Devices::OsgMouseHandler::m_mouseScaffold |
|
private |
A back pointer to the scaffold which owns this handle.
The documentation for this class was generated from the following files: