OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
osgWidget::MouseHandler Class Reference
Inheritance diagram for osgWidget::MouseHandler:
Inheritance graph
[legend]

List of all members.

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

Member Typedef Documentation

typedef bool(MouseHandler::* osgWidget::MouseHandler::MouseAction)(float, float, int)
typedef bool(WindowManager::* osgWidget::MouseHandler::MouseEvent)(float, float)

Constructor & Destructor Documentation

osgWidget::MouseHandler::MouseHandler ( WindowManager )

Member Function Documentation

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]

Handle events, return true if handled, false otherwise.

Reimplemented from osgGA::GUIEventHandler.


Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Mon Oct 3 2011 12:39:51 for the OpenSceneGraph by doxygen 1.7.5.