![]() |
VR-Forces 4.0.4 Class Documentation
|
This class changes the OSG camera based on user input from the master. More...

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. | |
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.
| virtual makVrv::DtSlaveCameraManipulator::~DtSlaveCameraManipulator | ( | ) | [virtual] |
Destructor.
| 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.
| DtCorruptedState | if called. |
| virtual void makVrv::DtSlaveCameraManipulator::setByInverseMatrix | ( | const osg::Matrixd & | matrix | ) | [virtual] |
Here because base class method is unimplemented.
This method does nothing.
| DtCorruptedState | if 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.