VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtSlaveCameraController Class Reference

This class is responsible for owning the DtCameraObject. More...

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

List of all members.

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

DtDemyDe
DtCameraObjectmyCameraObject
DtCameraObjectmyParentCameraObject

Detailed Description

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 & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

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.


Member Data Documentation


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)