Inheritance diagram for osgGA::DriveManipulator:

Public Methods | |
| DriveManipulator () | |
| virtual | ~DriveManipulator () |
| virtual void | setNode (osg::Node *) |
| Attach a node to the manipulator, automatically detaching any previously attached node. | |
| virtual const osg::Node * | getNode () const |
| Return const node if attached. | |
| virtual osg::Node * | getNode () |
| Return node if attached. | |
| virtual void | home (const GUIEventAdapter &ea, GUIActionAdapter &us) |
| Move the camera to the default position. | |
| virtual void | init (const GUIEventAdapter &ea, GUIActionAdapter &us) |
| Start/restart the manipulator. | |
| virtual bool | handle (const GUIEventAdapter &ea, GUIActionAdapter &us) |
| Handle events, return true if handled, false otherwise. | |
By default, the left mouse button accelerates, the right mouse button decelerates, and the middle mouse button (or left and right simultaneously) stops dead.
|
|
|
|
|
|
|
|
Return node if attached.
Reimplemented from osgGA::CameraManipulator. |
|
|
Return const node if attached.
Reimplemented from osgGA::CameraManipulator. |
|
||||||||||||
|
Handle events, return true if handled, false otherwise.
Reimplemented from osgGA::CameraManipulator. |
|
||||||||||||
|
Move the camera to the default position. May be ignored by manipulators if home functionality is not appropriate. Reimplemented from osgGA::CameraManipulator. |
|
||||||||||||
|
Start/restart the manipulator. FIXME: what does this actually mean? Provide examples. Reimplemented from osgGA::CameraManipulator. |
|
|
Attach a node to the manipulator, automatically detaching any previously attached node. setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. Reimplemented from osgGA::CameraManipulator. |