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

osgTracker::vrpnManipulator Class Reference

DEPRECATED. USE TrackerManipulator INSTEAD! More...


Public Member Functions

 vrpnManipulator (char *)
 vrpnManipulator (char *, unsigned int)
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 setPlatform (osg::Matrix &newPlatform)
osg::Matrix getPlatform ()
void updateFromVRPN (const vrpn_TRACKERCB info)

Protected Attributes

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


Detailed Description

THIS CLASS IS DEPRECATED. USE trackerManipulator INSTEAD! FOR AN EXAMPLE ON HOW TO USE TrackerManipulator, SEE AEL demo vrpnHeadTracker


Member Function Documentation

osg::Matrix vrpnManipulator::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 vrpnManipulator::getMatrix  )  const [virtual]
 

get the position of the manipulator as 4x4 Matrix.

const osg::Node * vrpnManipulator::getNode  )  const
 

Return node if attached.

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

Get the keyboard and mouse usage of this manipulator.

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

handle events, return true if handled, false otherwise.

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

Move the camera to the default position.

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

Start/restart the manipulator.

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

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

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

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

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

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

void vrpnManipulator::updateFromVRPN const vrpn_TRACKERCB  info  ) 
 

check if there is any new tracker information available


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