osgGA::UFOManipulator Class Reference
A UFO manipulator driven with keybindings.
More...
Inheritance diagram for osgGA::UFOManipulator:
List of all members.
Detailed Description
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.
- Parameters:
-
| Ctrl/UpArrow | Rotate view (but not direction of travel) up. |
| Ctrl/DownArrow | Rotate view (but not direction of travel) down. |
| Ctrl/LeftArrow | Rotate view (but not direction of travel) left. |
| Ctrl/RightArrow | Rotate view (but not direction of travel) right. |
| Ctrl/Return | Straightens out the view offset. |
Constructor & Destructor Documentation
osgGA::UFOManipulator::UFOManipulator |
( |
|
) |
|
|
Member Function Documentation
virtual const char* osgGA::UFOManipulator::className |
( |
|
) |
const [virtual] |
|
virtual void osgGA::UFOManipulator::computeHomePosition |
( |
|
) |
[virtual] |
|
|
Computes the home position based on the extents and scale of the scene graph rooted at node
Reimplemented from osgGA::MatrixManipulator. |
|
Report the current position as LookAt vectors |
virtual osg::Matrixd osgGA::UFOManipulator::getInverseMatrix |
( |
|
) |
const [virtual] |
|
virtual osg::Matrixd osgGA::UFOManipulator::getMatrix |
( |
|
) |
const [virtual] |
|
virtual osg::Node* osgGA::UFOManipulator::getNode |
( |
|
) |
[virtual] |
|
|
Get the root node of the subgraph this manipulator is driving the eye through
Reimplemented from osgGA::MatrixManipulator. |
virtual const osg::Node* osgGA::UFOManipulator::getNode |
( |
|
) |
const [virtual] |
|
|
Get the root node of the subgraph this manipulator is driving the eye through (const)
Reimplemented from osgGA::MatrixManipulator. |
|
Handles incoming osgGA events |
void osgGA::UFOManipulator::home |
( |
double |
|
) |
[virtual] |
|
|
Sets the viewpoint matrix to the home position |
|
Start/restart the manipulator. FIXME: what does this actually mean? Provide examples.
Reimplemented from osgGA::MatrixManipulator. |
virtual void osgGA::UFOManipulator::setByInverseMatrix |
( |
const osg::Matrixd & |
invmat |
) |
[virtual] |
|
|
Set the current position with the invers matrix - Parameters:
-
| invmat | The inverse of a viewpoint matrix |
Implements osgGA::MatrixManipulator. |
virtual void osgGA::UFOManipulator::setByMatrix |
( |
const osg::Matrixd & |
matrix |
) |
[virtual] |
|
virtual void osgGA::UFOManipulator::setNode |
( |
osg::Node * |
node |
) |
[virtual] |
|
The documentation for this class was generated from the following file:
Generated on Thu Sep 8 04:58:16 2005 for OpenSceneGraph by
1.3.9.1