osgWidget::MouseHandler Class Reference

Inheritance diagram for osgWidget::MouseHandler:

osgGA::GUIEventHandler osg::NodeCallback osg::Drawable::EventCallback osg::Object osg::Object osg::Referenced osg::Referenced

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 *)

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

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.

bool osgWidget::MouseHandler::_handleMousePush ( float  ,
float  ,
int   
) [protected]

bool osgWidget::MouseHandler::_handleMouseRelease ( float  ,
float  ,
int   
) [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::_handleMouseScroll ( float  ,
float  ,
int   
) [protected]

MouseAction osgWidget::MouseHandler::_isMouseEvent ( osgGA::GUIEventAdapter::EventType   )  const [protected]

bool osgWidget::MouseHandler::_doMouseEvent ( float  ,
float  ,
MouseEvent   
) [protected]


Member Data Documentation


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

Generated on Fri Mar 19 19:53:01 2010 for openscenegraph by  doxygen 1.5.6