class OSGUTIL_EXPORT osgUtil::FlightManipulator: public CameraManipulator


Inheritance:


Public Classes

[more]enum YawControlMode

Public Methods

[more] FlightManipulator()
[more]virtual ~FlightManipulator()
[more]virtual void setNode(osg::Node*)
Attach a node to the manipulator.
[more]virtual osg::Node* getNode() const
Return node if attached
[more]virtual void home(GUIEventAdapter& ea, GUIActionAdapter& us)
Move the camera to the default position.
[more]virtual void init(GUIEventAdapter& ea, GUIActionAdapter& us)
Start/restart the manipulator
[more]virtual bool update(GUIEventAdapter& ea, GUIActionAdapter& us)
handle events, return true if handled, false otherwise
[more]void setYawControlMode(YawControlMode ycm)
Set the yaw control between no yaw and yawing when banked


Inherited from CameraManipulator:

Public Methods

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

Protected Fields

oosg::ref_ptr<osg::Camera> _camera


Documentation

o FlightManipulator()

ovirtual ~FlightManipulator()

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 osg::Node* getNode() const
Return node if attached

ovirtual void home(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(GUIEventAdapter& ea, GUIActionAdapter& us)
Start/restart the manipulator

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

oenum YawControlMode

o YAW_AUTOMATICALLY_WHEN_BANKED

o NO_AUTOMATIC_YAW

ovoid setYawControlMode(YawControlMode ycm)
Set the yaw control between no yaw and yawing when banked


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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