Inheritance diagram for osgGA::CameraManipulator:

Public Methods | |
| virtual void | setCamera (osg::Camera *) |
| Attach a camera to the manipulator to be used for specifying view. | |
| virtual const osg::Camera * | getCamera () const |
| Get the attached camera. | |
| virtual osg::Camera * | getCamera () |
| Get the attached camera. | |
| 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 &,GUIActionAdapter &) |
| Move the camera to the default position. | |
| virtual void | init (const GUIEventAdapter &,GUIActionAdapter &) |
| Start/restart the manipulator. | |
| virtual bool | handle (const GUIEventAdapter &ea, GUIActionAdapter &us) |
| Handle events, return true if handled, false otherwise. | |
| virtual void | accept (GUIEventHandlerVisitor &v) |
| Handle visitations. | |
Protected Methods | |
| CameraManipulator () | |
| virtual | ~CameraManipulator () |
Protected Attributes | |
| osg::ref_ptr< osg::Camera > | _camera |
|
|
|
|
|
|
|
|
Handle visitations.
Implements osgGA::GUIEventHandler. |
|
|
Get the attached camera.
Reimplemented in osgGA::KeySwitchCameraManipulator. |
|
|
Get the attached camera.
Reimplemented in osgGA::KeySwitchCameraManipulator. |
|
|
Return node if attached.
Reimplemented in osgGA::DriveManipulator, osgGA::FlightManipulator, osgGA::KeySwitchCameraManipulator, and osgGA::TrackballManipulator. |
|
|
Return const node if attached.
Reimplemented in osgGA::DriveManipulator, osgGA::FlightManipulator, osgGA::KeySwitchCameraManipulator, and osgGA::TrackballManipulator. |
|
||||||||||||
|
Handle events, return true if handled, false otherwise.
Implements osgGA::GUIEventHandler. Reimplemented in osgGA::DriveManipulator, osgGA::FlightManipulator, osgGA::KeySwitchCameraManipulator, and osgGA::TrackballManipulator. |
|
||||||||||||
|
Move the camera to the default position. May be ignored by manipulators if home functionality is not appropriate. Reimplemented in osgGA::DriveManipulator, osgGA::FlightManipulator, osgGA::KeySwitchCameraManipulator, and osgGA::TrackballManipulator. |
|
||||||||||||
|
Start/restart the manipulator. FIXME: what does this actually mean? Provide examples. Reimplemented in osgGA::DriveManipulator, osgGA::FlightManipulator, osgGA::KeySwitchCameraManipulator, and osgGA::TrackballManipulator. |
|
|
Attach a camera to the manipulator to be used for specifying view.
Reimplemented in osgGA::KeySwitchCameraManipulator. |
|
|
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 in osgGA::DriveManipulator, osgGA::FlightManipulator, osgGA::KeySwitchCameraManipulator, and osgGA::TrackballManipulator. |
|
|
|