List of all members.
Public Types |
enum | RotationMode { ELEVATION_AZIM_ROLL,
ELEVATION_AZIM
} |
Public Member Functions |
| TerrainManipulator (int flags=DEFAULT_SETTINGS) |
| TerrainManipulator (const TerrainManipulator &tm, const osg::CopyOp ©Op=osg::CopyOp::SHALLOW_COPY) |
| META_Object (osgGA, TerrainManipulator) |
virtual void | setRotationMode (RotationMode mode) |
RotationMode | getRotationMode () const |
virtual void | setByMatrix (const osg::Matrixd &matrix) |
| set the position of the matrix manipulator using a 4x4 Matrix.
|
virtual void | setTransformation (const osg::Vec3d &eye, const osg::Vec3d ¢er, const osg::Vec3d &up) |
| Sets manipulator by eye position, center of rotation, and up vector.
|
virtual void | setNode (osg::Node *node) |
| Attach a node to the manipulator, automatically detaching any previously attached node.
|
Protected Member Functions |
virtual bool | performMovementMiddleMouseButton (const double eventTimeDelta, const double dx, const double dy) |
virtual bool | performMovementRightMouseButton (const double eventTimeDelta, const double dx, const double dy) |
bool | intersect (const osg::Vec3d &start, const osg::Vec3d &end, osg::Vec3d &intersection) const |
void | clampOrientation () |
Protected Attributes |
osg::Vec3d | _previousUp |
Member Enumeration Documentation
- Enumerator:
ELEVATION_AZIM_ROLL |
|
ELEVATION_AZIM |
|
Constructor & Destructor Documentation
osgGA::TerrainManipulator::TerrainManipulator |
( |
int |
flags = DEFAULT_SETTINGS | ) |
|
Member Function Documentation
void osgGA::TerrainManipulator::clampOrientation |
( |
| ) |
[protected] |
RotationMode osgGA::TerrainManipulator::getRotationMode |
( |
| ) |
const |
virtual bool osgGA::TerrainManipulator::performMovementMiddleMouseButton |
( |
const double |
eventTimeDelta, |
|
|
const double |
dx, |
|
|
const double |
dy |
|
) |
| [protected, virtual] |
virtual bool osgGA::TerrainManipulator::performMovementRightMouseButton |
( |
const double |
eventTimeDelta, |
|
|
const double |
dx, |
|
|
const double |
dy |
|
) |
| [protected, virtual] |
virtual void osgGA::TerrainManipulator::setByMatrix |
( |
const osg::Matrixd & |
matrix | ) |
[virtual] |
virtual void osgGA::TerrainManipulator::setNode |
( |
osg::Node * |
| ) |
[virtual] |
Attach a node to the manipulator, automatically detaching any previously attached node.
setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.
Reimplemented from osgGA::StandardManipulator.
virtual void osgGA::TerrainManipulator::setRotationMode |
( |
RotationMode |
mode | ) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: