Inheritance:
Public Methods
-
FlightManipulator()
-
virtual ~FlightManipulator()
-
virtual void setNode(osg::Node*)
- Attach a node to the manipulator.
-
virtual const osg::Node* getNode() const
- 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
-
void setYawControlMode(YawControlMode ycm)
- Set the yaw control between no yaw and yawing when banked
Public Members
-
enum YawControlMode
Public Methods
-
virtual void setCamera(osg::Camera*)
-
virtual const osg::Camera* getCamera() const
Protected Fields
-
osg::ref_ptr<osg::Camera> _camera
Documentation
- FlightManipulator()
- virtual ~FlightManipulator()
- virtual 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.
- virtual const osg::Node* getNode() const
- Return node if attached
- virtual 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.
- 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
- enum YawControlMode
- YAW_AUTOMATICALLY_WHEN_BANKED
- NO_AUTOMATIC_YAW
- void 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++.