class OSGUTIL_EXPORT osgUtil::DriveManipulator


Inheritance:


Public Methods

[more] DriveManipulator()
[more]virtual ~DriveManipulator()
[more]virtual void setNode(osg::Node*)
Attach a node to the manipulator.
[more]virtual const osg::Node* getNode() const
Return node if attached
[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)
Move the camera to the default position.
[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)
Start/restart the manipulator
[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
handle events, return true if handled, false otherwise


Inherited from CameraManipulator:

Public Methods

ovirtual void setCamera(osg::Camera*)
ovirtual const osg::Camera* getCamera() const

Protected Fields

oosg::ref_ptr<osg::Camera> _camera


Inherited from GUIEventHandler:


Documentation

o DriveManipulator()

ovirtual ~DriveManipulator()

ovirtual void setNode(osg::Node*)
Attach a node to the manipulator. Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model.

ovirtual const osg::Node* getNode() const
Return node if attached

ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)
Move the camera to the default position. May be ignored by manipulators if home functionality is not appropriate.

ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)
Start/restart the manipulator

ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
handle events, return true if handled, false otherwise

o USE_MOUSE_Y_FOR_SPEED

o USE_MOUSE_BUTTONS_FOR_SPEED


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.