![]() |
VR-Forces 4.0.4 Class Documentation
|
This class is responsible for owning the DtCameraObject. More...

Public Member Functions | |
| DtSlaveCameraController (DtDe &myDe) | |
| Constructor. | |
| virtual | ~DtSlaveCameraController () |
| Destructor. | |
| virtual void | setCameraObject (DtCameraObject *cameraObject) |
| This method is called when the slave creates a channel and therefore a DtCameraObject. | |
| virtual void | setParentCameraObject (DtCameraObject *cameraObject) |
| This method is called when a camera is locked to another "parent" camera. | |
| virtual bool | getViewMatrixFromCameraObject (osg::Matrixd &viewMatrixOut) const |
| Return true if viewMatrixOut has been filled with the window matrix from a camera object. | |
Protected Attributes | |
| DtDe & | myDe |
| DtCameraObject * | myCameraObject |
| DtCameraObject * | myParentCameraObject |
This class is responsible for owning the DtCameraObject.
This class was designed to be multiply inherited with OSG manipulators. It also gets called by manipulators and feeds them the window matrix as dictated by the master.
Constructor.
| virtual makVrv::DtSlaveCameraController::~DtSlaveCameraController | ( | ) | [virtual] |
Destructor.
| virtual void makVrv::DtSlaveCameraController::setCameraObject | ( | DtCameraObject * | cameraObject | ) | [virtual] |
This method is called when the slave creates a channel and therefore a DtCameraObject.
This manipulator will be accessed by a osg::Window and the DtCameraObject will be used to produce the window matrix to pass back.
| virtual void makVrv::DtSlaveCameraController::setParentCameraObject | ( | DtCameraObject * | cameraObject | ) | [virtual] |
This method is called when a camera is locked to another "parent" camera.
DtCameraObject. This manipulator will be accessed by a osg::Window and the DtCameraObject will be used to produce the window matrix to pass back.
| virtual bool makVrv::DtSlaveCameraController::getViewMatrixFromCameraObject | ( | osg::Matrixd & | viewMatrixOut | ) | const [virtual] |
Return true if viewMatrixOut has been filled with the window matrix from a camera object.
DtDe& makVrv::DtSlaveCameraController::myDe [protected] |