Public Types | |
typedef bool(MouseHandler::* | MouseAction )(float, float, int) |
typedef bool(WindowManager::* | MouseEvent )(float, float) |
Public Member Functions | |
MouseHandler (WindowManager *) | |
virtual bool | handle (const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &, osg::Object *, osg::NodeVisitor *) |
Handle events, return true if handled, false otherwise. | |
Protected Member Functions | |
bool | _handleMousePush (float, float, int) |
bool | _handleMouseRelease (float, float, int) |
bool | _handleMouseDoubleClick (float, float, int) |
bool | _handleMouseDrag (float, float, int) |
bool | _handleMouseMove (float, float, int) |
bool | _handleMouseScroll (float, float, int) |
MouseAction | _isMouseEvent (osgGA::GUIEventAdapter::EventType) const |
bool | _doMouseEvent (float, float, MouseEvent) |
Protected Attributes | |
osg::observer_ptr< WindowManager > | _wm |
typedef bool(MouseHandler::* osgWidget::MouseHandler::MouseAction)(float, float, int) |
typedef bool(WindowManager::* osgWidget::MouseHandler::MouseEvent)(float, float) |
osgWidget::MouseHandler::MouseHandler | ( | WindowManager * | ) |
bool osgWidget::MouseHandler::_doMouseEvent | ( | float | , | |
float | , | |||
MouseEvent | ||||
) | [protected] |
bool osgWidget::MouseHandler::_handleMouseDoubleClick | ( | float | , | |
float | , | |||
int | ||||
) | [protected] |
bool osgWidget::MouseHandler::_handleMouseDrag | ( | float | , | |
float | , | |||
int | ||||
) | [protected] |
bool osgWidget::MouseHandler::_handleMouseMove | ( | float | , | |
float | , | |||
int | ||||
) | [protected] |
bool osgWidget::MouseHandler::_handleMousePush | ( | float | , | |
float | , | |||
int | ||||
) | [protected] |
bool osgWidget::MouseHandler::_handleMouseRelease | ( | float | , | |
float | , | |||
int | ||||
) | [protected] |
bool osgWidget::MouseHandler::_handleMouseScroll | ( | float | , | |
float | , | |||
int | ||||
) | [protected] |
MouseAction osgWidget::MouseHandler::_isMouseEvent | ( | osgGA::GUIEventAdapter::EventType | ) | const [protected] |
virtual bool osgWidget::MouseHandler::handle | ( | const osgGA::GUIEventAdapter & | ea, | |
osgGA::GUIActionAdapter & | aa, | |||
osg::Object * | , | |||
osg::NodeVisitor * | ||||
) | [virtual] |
osg::observer_ptr<WindowManager> osgWidget::MouseHandler::_wm [protected] |
![]() | Generated at Wed Aug 26 07:19:30 2009 for the OpenSceneGraph by doxygen 1.5.8. |