|
| UFOManipulator () |
|
virtual const char * | className () const |
|
virtual void | setByMatrix (const osg::Matrixd &matrix) |
|
virtual void | setByInverseMatrix (const osg::Matrixd &invmat) |
|
virtual osg::Matrixd | getMatrix () const |
|
virtual osg::Matrixd | getInverseMatrix () const |
|
virtual void | setNode (osg::Node *node) |
|
virtual const osg::Node * | getNode () const |
|
virtual osg::Node * | getNode () |
|
virtual void | computeHomePosition () |
|
virtual void | home (const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &) |
|
void | home (double) |
|
virtual void | init (const GUIEventAdapter &, GUIActionAdapter &) |
|
bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) |
|
void | getUsage (osg::ApplicationUsage &usage) const |
|
void | getCurrentPositionAsLookAt (osg::Vec3d &eye, osg::Vec3d ¢er, osg::Vec3d &up) |
|
void | setMinHeight (double in_min_height) |
|
double | getMinHeight () const |
|
void | setMinDistance (double in_min_dist) |
|
double | getMinDistance () const |
|
void | setForwardSpeed (double in_fs) |
|
double | getForwardSpeed () const |
|
void | setSideSpeed (double in_ss) |
|
double | getSideSpeed () const |
|
void | setRotationSpeed (double in_rot_speed) |
|
double | getRotationSpeed () const |
|
virtual void | setCoordinateFrameCallback (CoordinateFrameCallback *cb) |
|
CoordinateFrameCallback * | getCoordinateFrameCallback () |
|
const CoordinateFrameCallback * | getCoordinateFrameCallback () const |
|
osg::CoordinateFrame | getCoordinateFrame (const osg::Vec3d &position) const |
|
osg::Vec3d | getSideVector (const osg::CoordinateFrame &cf) const |
|
osg::Vec3d | getFrontVector (const osg::CoordinateFrame &cf) const |
|
osg::Vec3d | getUpVector (const osg::CoordinateFrame &cf) const |
|
virtual void | updateCamera (osg::Camera &camera) |
|
virtual
osgUtil::SceneView::FusionDistanceMode | getFusionDistanceMode () const |
|
virtual float | getFusionDistanceValue () const |
|
void | setIntersectTraversalMask (unsigned int mask) |
|
unsigned int | getIntersectTraversalMask () const |
|
virtual void | setHomePosition (const osg::Vec3d &eye, const osg::Vec3d ¢er, const osg::Vec3d &up, bool autoComputeHomePosition=false) |
|
virtual void | getHomePosition (osg::Vec3d &eye, osg::Vec3d ¢er, osg::Vec3d &up) const |
|
virtual void | setAutoComputeHomePosition (bool flag) |
|
bool | getAutoComputeHomePosition () const |
|
virtual void | computeHomePosition (const osg::Camera *camera=NULL, bool useBoundingBox=false) |
|
virtual void | finishAnimation () |
|
virtual bool | handle (osgGA::Event *event, osg::Object *object, osg::NodeVisitor *nv) |
|
Public Member Functions inherited from osgGA::GUIEventHandler |
| GUIEventHandler () |
|
| GUIEventHandler (const GUIEventHandler &eh, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
| META_Object (osgGA, GUIEventHandler) |
|
virtual bool | handle (const GUIEventAdapter &ea, GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *) |
|
Public Member Functions inherited from osgGA::EventHandler |
| EventHandler () |
|
| EventHandler (const EventHandler &eh, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
| META_Object (osgGA, EventHandler) |
|
virtual bool | run (osg::Object *object, osg::Object *data) |
|
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
|
virtual void | event (osg::NodeVisitor *nv, osg::Drawable *drawable) |
|
| NodeCallback () |
|
| NodeCallback (const NodeCallback &nc, const CopyOp ©op) |
|
| META_Object (osg, NodeCallback) |
|
| Callback () |
|
| Callback (const Callback &cb, const CopyOp ©op) |
|
| META_Object (osg, Callback) |
|
bool | traverse (osg::Object *object, osg::Object *data) |
|
void | setNestedCallback (osg::Callback *cb) |
|
osg::Callback * | getNestedCallback () |
|
const osg::Callback * | getNestedCallback () const |
|
void | addNestedCallback (osg::Callback *nc) |
|
void | removeNestedCallback (osg::Callback *nc) |
|
| Object () |
|
| Object (bool threadSafeRefUnref) |
|
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
|
virtual Object * | cloneType () const =0 |
|
virtual Object * | clone (const CopyOp &) const =0 |
|
virtual bool | isSameKindAs (const Object *) const |
|
virtual const char * | libraryName () const =0 |
|
std::string | getCompoundClassName () const |
|
virtual Node * | asNode () |
|
virtual const Node * | asNode () const |
|
virtual NodeVisitor * | asNodeVisitor () |
|
virtual const NodeVisitor * | asNodeVisitor () const |
|
virtual StateAttribute * | asStateAttribute () |
|
virtual const StateAttribute * | asStateAttribute () const |
|
virtual Uniform * | asUniform () |
|
virtual const Uniform * | asUniform () const |
|
virtual void | setThreadSafeRefUnref (bool threadSafe) |
|
virtual void | setName (const std::string &name) |
|
void | setName (const char *name) |
|
const std::string & | getName () const |
|
void | setDataVariance (DataVariance dv) |
|
DataVariance | getDataVariance () const |
|
virtual void | computeDataVariance () |
|
void | setUserDataContainer (osg::UserDataContainer *udc) |
|
osg::UserDataContainer * | getUserDataContainer () |
|
const osg::UserDataContainer * | getUserDataContainer () const |
|
osg::UserDataContainer * | getOrCreateUserDataContainer () |
|
virtual void | setUserData (Referenced *obj) |
|
virtual Referenced * | getUserData () |
|
virtual const Referenced * | getUserData () const |
|
template<typename T > |
bool | getUserValue (const std::string &name, T &value) const |
|
template<typename T > |
void | setUserValue (const std::string &name, const T &value) |
|
virtual void | resizeGLObjectBuffers (unsigned int) |
|
virtual void | releaseGLObjects (osg::State *=0) const |
|
template<typename T > |
BoolValueObject
UCharValueObject
UShortValueObject
UIntValueObject
DoubleValueObject
Vec3fValueObject
Vec2dValueObject
Vec4dValueObject
PlaneValueObject
MatrixdValueObject
BoundingBoxdValueObject
BoundingSpheredValueObject
bool | getUserValue (const std::string &name, T &value) const |
|
| Referenced () |
|
| Referenced (bool threadSafeRefUnref) |
|
| Referenced (const Referenced &) |
|
Referenced & | operator= (const Referenced &) |
|
bool | getThreadSafeRefUnref () const |
|
OpenThreads::Mutex * | getRefMutex () const |
|
int | ref () const |
|
int | unref () const |
|
int | unref_nodelete () const |
|
int | referenceCount () const |
|
ObserverSet * | getObserverSet () const |
|
ObserverSet * | getOrCreateObserverSet () const |
|
void | addObserver (Observer *observer) const |
|
void | removeObserver (Observer *observer) const |
|
| EventCallback () |
|
| EventCallback (const EventCallback &, const CopyOp &) |
|
| META_Object (osg, EventCallback) |
|
A UFO manipulator driven with keybindings.
The UFOManipulator is better suited for applications that employ architectural walk-throughs, or situations where the eyepoint motion model must move slowly, deliberately and well controlled.
The UFO Manipulator allows the following movements with the listed Key combinations:
- Parameters
-
UpArrow | Acceleration forward. |
DownArrow | Acceleration backward (or deceleration forward). |
LeftArrow | Rotate view and direction of travel to the left. |
RightArrow | Rotate view and direction of travel to the right. |
SpaceBar | Brake. Gradually decelerates linear and rotational movement. |
Shift/UpArrow | Accelerate up. |
Shift/DownArrow | Accelerate down. |
Shift/LeftArrow | Accelerate (linearly) left. |
Shift/RightArrow | Accelerate (linearly) right. |
Shift/SpaceBar | Instant brake. Immediately stop all linear and rotational movement. |
When the Shift key is released, up, down, linear left and/or linear right movement is decelerated.
\param Ctrl/UpArrow Rotate view (but not direction of travel) up.
\param Ctrl/DownArrow Rotate view (but not direction of travel) down.
\param Ctrl/LeftArrow Rotate view (but not direction of travel) left.
\param Ctrl/RightArrow Rotate view (but not direction of travel) right.
\param Ctrl/Return Straightens out the view offset.
Definition at line 56 of file UFOManipulator.h.