osgGA::GUIEventHandler Class Reference
Inheritance diagram for osgGA::GUIEventHandler:
List of all members.
Detailed Description
GUIEventHandler provides a basic interface for any class which wants to handle a GUI Events.
The GUIEvent is supplied by a GUIEventAdapter. Feedback resulting from the handle method is supplied by a GUIActionAdapter, which allows the GUIEventHandler to ask the GUI to take some action in response to an incoming event.
For example, consider a Trackball Viewer class which takes mouse events and manipulates a scene camera in response. The Trackball Viewer is a GUIEventHandler, and receives the events via the handle method. If the user 'throws' the model, the Trackball Viewer class can detect this via the incoming events, and request that the GUI set up a timer callback to continually redraw the view. This request is made via the GUIActionAdapter class.
Constructor & Destructor Documentation
osgGA::GUIEventHandler::GUIEventHandler |
( |
|
) |
[inline] |
|
Member Function Documentation
|
Get the keyboard and mouse usage of this manipulator.
Reimplemented in osgGA::AnimationPathManipulator, osgGA::DriveManipulator, osgGA::FlightManipulator, osgGA::CompositeGUIEventHandler, osgGA::KeySwitchMatrixManipulator, osgGA::NodeTrackerManipulator, osgGA::StateSetManipulator, osgGA::TerrainManipulator, osgGA::TrackballManipulator, osgGA::UFOManipulator, and osgProducer::ViewerEventHandler. |
|
deprecated, Handle events, return true if handled, false otherwise.
Reimplemented in osgGA::AnimationPathManipulator, osgGA::DriveManipulator, osgGA::FlightManipulator, osgGA::KeySwitchMatrixManipulator, osgGA::MatrixManipulator, osgGA::NodeTrackerManipulator, osgGA::StateSetManipulator, osgGA::TerrainManipulator, and osgGA::TrackballManipulator. |
|
Event traversal node callback method. |
The documentation for this class was generated from the following file:
Generated on Thu Sep 8 04:58:15 2005 for OpenSceneGraph by
1.3.9.1