VR-Forces 4.0.4 Class Documentation
Public Member Functions
makVrv::DtSlaveCameraManipulator Class Reference

This class changes the OSG camera based on user input from the master. More...

Inheritance diagram for makVrv::DtSlaveCameraManipulator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSlaveCameraManipulator (DtDe &de)
 Constructor.
virtual ~DtSlaveCameraManipulator ()
 Destructor.
virtual const char * className () const
 Return the class name.
virtual void setByMatrix (const osg::Matrixd &matrix)
 Here because base class method is unimplemented.
virtual void setByInverseMatrix (const osg::Matrixd &matrix)
 Here because base class method is unimplemented.
virtual osg::Matrixd getMatrix () const
 Get the position of the manipulator from the DtSlaveCameraController (as 4x4 Matrix).
virtual osg::Matrixd getInverseMatrix () const
 Get the position of the manipulator from the DtSlaveCameraController (as a inverse matrix of the manipulator) typically used as a model window matrix.
virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us)
 Do nothing.

Detailed Description

This class changes the OSG camera based on user input from the master.

It's derived from a osgGA::MatrixManipulator because the osg::Window renders the camera from a window matrix gotten from one of those. It inherits from DtSlaveCameraController because that class gets the position and orientation of the camera as dictated by the master.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

virtual const char* makVrv::DtSlaveCameraManipulator::className ( ) const [inline, virtual]

Return the class name.

virtual void makVrv::DtSlaveCameraManipulator::setByMatrix ( const osg::Matrixd &  matrix) [virtual]

Here because base class method is unimplemented.

This method does nothing.

Exceptions:
DtCorruptedStateif called.
virtual void makVrv::DtSlaveCameraManipulator::setByInverseMatrix ( const osg::Matrixd &  matrix) [virtual]

Here because base class method is unimplemented.

This method does nothing.

Exceptions:
DtCorruptedStateif called.
virtual osg::Matrixd makVrv::DtSlaveCameraManipulator::getMatrix ( ) const [virtual]

Get the position of the manipulator from the DtSlaveCameraController (as 4x4 Matrix).

virtual osg::Matrixd makVrv::DtSlaveCameraManipulator::getInverseMatrix ( ) const [virtual]

Get the position of the manipulator from the DtSlaveCameraController (as a inverse matrix of the manipulator) typically used as a model window matrix.

virtual bool makVrv::DtSlaveCameraManipulator::handle ( const osgGA::GUIEventAdapter &  ea,
osgGA::GUIActionAdapter &  us 
) [virtual]

Do nothing.

Slaves don't handle user input, they get it from the DtCameraObject.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)