Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields

osgTracker::TrackerManipulator Class Reference

Tracker interface for updating the camera position based on a TrackedTransform.


Public Member Functions

virtual const char * className () const
virtual void setByMatrix (const osg::Matrix &matrix)
virtual void setByInverseMatrix (const osg::Matrix &matrix)
virtual osg::Matrix getMatrix () const
virtual osg::Matrix getInverseMatrix () const
virtual void setNode (osg::Node *)
const osg::Node * getNode () const
osg::Node * getNode ()
virtual void home (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us)
virtual void init (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us)
virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us)
virtual void getUsage (osg::ApplicationUsage &usage) const
void setMatrix (const osg::Matrix &matrix)
void setPlatform (const osg::Matrix &newPlatform)
osg::Matrix getPlatform ()

Protected Attributes

osg::Matrix _platform
osg::ref_ptr< osg::Node > _node


Member Function Documentation

osg::Matrix TrackerManipulator::getInverseMatrix  )  const [virtual]
 

get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix.

osg::Matrix TrackerManipulator::getMatrix  )  const [virtual]
 

get the position of the manipulator as 4x4 Matrix.

const osg::Node * TrackerManipulator::getNode  )  const
 

Return node if attached.

void TrackerManipulator::getUsage osg::ApplicationUsage &  usage  )  const [virtual]
 

Get the keyboard and mouse usage of this manipulator.

bool TrackerManipulator::handle const osgGA::GUIEventAdapter &  ea,
osgGA::GUIActionAdapter &  us
[virtual]
 

handle events, return true if handled, false otherwise.

void TrackerManipulator::home const osgGA::GUIEventAdapter &  ea,
osgGA::GUIActionAdapter &  us
[virtual]
 

Move the camera to the default position.

void TrackerManipulator::init const osgGA::GUIEventAdapter &  ea,
osgGA::GUIActionAdapter &  us
[virtual]
 

Start/restart the manipulator.

virtual void osgTracker::TrackerManipulator::setByInverseMatrix const osg::Matrix &  matrix  )  [inline, virtual]
 

set the position of the matrix manipulator using a 4x4 Matrix.

void TrackerManipulator::setByMatrix const osg::Matrix &  matrix  )  [virtual]
 

set the position of the matrix manipulator using a 4x4 Matrix.

void TrackerManipulator::setNode osg::Node *   )  [virtual]
 

Attach a node to the manipulator. Automatically detaches previously attached node. setNode(0) detaches previous nodes.


The documentation for this class was generated from the following files:
Generated on Wed Nov 17 12:22:38 2004 for osgAR by doxygen 1.3.7