class OSGGA_EXPORT osgGA::FlightManipulator

FlightManipulator is a CameraManipulator which provides flight simulator-like updating of the camera position & orientation.

Inheritance:


Public Methods

[more] FlightManipulator()
[more]virtual ~FlightManipulator()
[more]virtual void setNode(osg::Node*)
[more]virtual const osg::Node* getNode() const
[more]virtual osg::Node* getNode()
[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)
[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)
[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
[more]void setYawControlMode(YawControlMode ycm)
Configure the Yaw control for the flight model.

Public Members

[more]enum YawControlMode


Inherited from CameraManipulator:

Public Methods

ovirtual void setCamera(osg::Camera*)
ovirtual const osg::Camera* getCamera() const
ovirtual osg::Camera* getCamera()
ovirtual void accept(GUIEventHandlerVisitor& v)

Protected Fields

oosg::ref_ptr<osg::Camera> _camera


Inherited from GUIEventHandler:

Public Methods

ovirtual const CompositeGUIEventHandler* getComposite() const
ovirtual CompositeGUIEventHandler* getComposite()


Documentation

FlightManipulator is a CameraManipulator which provides flight simulator-like updating of the camera position & orientation. By default, the left mouse button accelerates, the right mouse button decelerates, and the middle mouse button (or left and right simultaneously) stops dead.
o FlightManipulator()

ovirtual ~FlightManipulator()

ovirtual void setNode(osg::Node*)

ovirtual const osg::Node* getNode() const

ovirtual osg::Node* getNode()

ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)

ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)

ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)

oenum YawControlMode

o YAW_AUTOMATICALLY_WHEN_BANKED

o NO_AUTOMATIC_YAW

ovoid setYawControlMode(YawControlMode ycm)
Configure the Yaw control for the flight model.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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