OpenSceneGraph
3.0.1
|
FlightManipulator is a MatrixManipulator which provides flight simulator-like updating of the camera position & orientation. More...
FlightManipulator is a MatrixManipulator 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.
osgGA::FlightManipulator::FlightManipulator | ( | int | flags = UPDATE_MODEL_SIZE|COMPUTE_HOME_USING_BBOX | ) |
osgGA::FlightManipulator::FlightManipulator | ( | const FlightManipulator & | fpm, |
const osg::CopyOp & | copyOp = osg::CopyOp::SHALLOW_COPY |
||
) |
virtual bool osgGA::FlightManipulator::flightHandleEvent | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | us | ||
) | [protected, virtual] |
virtual void osgGA::FlightManipulator::getUsage | ( | osg::ApplicationUsage & | ) | const [virtual] |
Get the keyboard and mouse usage of this manipulator.
Reimplemented from osgGA::StandardManipulator.
FlightManipulator::YawControlMode osgGA::FlightManipulator::getYawControlMode | ( | ) | const [inline] |
Returns the Yaw control for the flight model.
References _yawMode.
virtual bool osgGA::FlightManipulator::handleFrame | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | us | ||
) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual bool osgGA::FlightManipulator::handleKeyDown | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | us | ||
) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual bool osgGA::FlightManipulator::handleMouseDrag | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | us | ||
) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual bool osgGA::FlightManipulator::handleMouseMove | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | us | ||
) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual bool osgGA::FlightManipulator::handleMousePush | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | us | ||
) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual bool osgGA::FlightManipulator::handleMouseRelease | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | us | ||
) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual void osgGA::FlightManipulator::home | ( | const osgGA::GUIEventAdapter & | , |
osgGA::GUIActionAdapter & | |||
) | [virtual] |
Move the camera to the default position.
May be ignored by manipulators if home functionality is not appropriate.
Reimplemented from osgGA::FirstPersonManipulator.
virtual void osgGA::FlightManipulator::init | ( | const osgGA::GUIEventAdapter & | , |
osgGA::GUIActionAdapter & | |||
) | [virtual] |
Start/restart the manipulator.
FIXME: what does this actually mean? Provide examples.
Reimplemented from osgGA::FirstPersonManipulator.
virtual bool osgGA::FlightManipulator::performMovement | ( | ) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual bool osgGA::FlightManipulator::performMovementLeftMouseButton | ( | const double | eventTimeDelta, |
const double | dx, | ||
const double | dy | ||
) | [protected, virtual] |
Reimplemented from osgGA::FirstPersonManipulator.
virtual bool osgGA::FlightManipulator::performMovementMiddleMouseButton | ( | const double | eventTimeDelta, |
const double | dx, | ||
const double | dy | ||
) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual bool osgGA::FlightManipulator::performMovementRightMouseButton | ( | const double | eventTimeDelta, |
const double | dx, | ||
const double | dy | ||
) | [protected, virtual] |
Reimplemented from osgGA::StandardManipulator.
virtual void osgGA::FlightManipulator::setYawControlMode | ( | YawControlMode | ycm | ) | [virtual] |
YawControlMode osgGA::FlightManipulator::_yawMode [protected] |
Referenced by getYawControlMode().
![]() | Generated at Mon May 7 2012 07:18:34 for the OpenSceneGraph by doxygen 1.8.0. |