List of all members.
Public Types |
enum | TrackerMode { NODE_CENTER,
NODE_CENTER_AND_AZIM,
NODE_CENTER_AND_ROTATION
} |
enum | RotationMode { TRACKBALL,
ELEVATION_AZIM
} |
Public Member Functions |
| NodeTrackerManipulator (int flags=DEFAULT_SETTINGS) |
| NodeTrackerManipulator (const NodeTrackerManipulator &om, const osg::CopyOp ©Op=osg::CopyOp::SHALLOW_COPY) |
| META_Object (osgGA, NodeTrackerManipulator) |
void | setTrackNodePath (const osg::NodePath &nodePath) |
void | setTrackNodePath (const osg::ObserverNodePath &nodePath) |
osg::ObserverNodePath & | getTrackNodePath () |
void | setTrackNode (osg::Node *node) |
osg::Node * | getTrackNode () |
const osg::Node * | getTrackNode () const |
void | setTrackerMode (TrackerMode mode) |
TrackerMode | getTrackerMode () const |
void | setRotationMode (RotationMode mode) |
RotationMode | getRotationMode () const |
virtual void | setByMatrix (const osg::Matrixd &matrix) |
virtual osg::Matrixd | getMatrix () const |
virtual osg::Matrixd | getInverseMatrix () const |
virtual void | setNode (osg::Node *) |
virtual void | computeHomePosition () |
Protected Member Functions |
virtual bool | performMovementLeftMouseButton (const double eventTimeDelta, const double dx, const double dy) |
virtual bool | performMovementMiddleMouseButton (const double eventTimeDelta, const double dx, const double dy) |
virtual bool | performMovementRightMouseButton (const double eventTimeDelta, const double dx, const double dy) |
void | computeNodeWorldToLocal (osg::Matrixd &worldToLocal) const |
void | computeNodeLocalToWorld (osg::Matrixd &localToWorld) const |
void | computeNodeCenterAndRotation (osg::Vec3d ¢er, osg::Quat &rotation) const |
void | computePosition (const osg::Vec3d &eye, const osg::Vec3d &lv, const osg::Vec3d &up) |
Protected Attributes |
osg::ObserverNodePath | _trackNodePath |
TrackerMode | _trackerMode |
Member Enumeration Documentation
- Enumerator:
TRACKBALL |
Use a trackball style manipulation of the view direction w.r.t the tracked orientation.
|
ELEVATION_AZIM |
Allow the elevation and azimuth angles to be adjust w.r.t the tracked orientation.
|
- Enumerator:
NODE_CENTER |
Track the center of the node's bounding sphere, but not rotations of the node. For databases which have a CoordinateSystemNode, the orientation is kept relative the coordinate frame if the center of the node.
|
NODE_CENTER_AND_AZIM |
Track the center of the node's bounding sphere, and the azimuth rotation (about the z axis of the current coordinate frame). For databases which have a CoordinateSystemNode, the orientation is kept relative the coordinate frame if the center of the node.
|
NODE_CENTER_AND_ROTATION |
Tack the center of the node's bounding sphere, and the all rotations of the node.
|
Constructor & Destructor Documentation
Member Function Documentation
get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix.
Reimplemented from osgGA::OrbitManipulator.
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.
Member Data Documentation
The documentation for this class was generated from the following file: