![]() |
VR-Forces 5.0.3 Developer's Guide
|
class for managing the link between the triton camera's and the osg cameras
Public Member Functions | |
| virtual | ~DtTritonCameraManager () |
| virtual Triton::Camera * | getOrCreateTritonCamera (const osg::RenderInfo &renderInfo) |
| virtual Triton::Camera * | getOrCreateTritonCamera (const osg::Camera *osgCamera) |
| virtual void | flushInvalidTritonCameras (void) |
| virtual const Triton::Camera * | closetCameraTo (const DtVector &position) const |
Protected Types | |
| typedef std::map < osg::observer_ptr< const osg::Camera >, Triton::Camera * > | MapOsgCamerasToTritonCameras |
Protected Member Functions | |
| DtTritonCameraManager (DtDe &de, DtTritonDrawable *tritonDrawable) | |
Protected Attributes | |
| friend | DtTritonCameraManagerCreator |
| MapOsgCamerasToTritonCameras | myMapOsgCamerasToTritonCameras |
| DtTritonDrawable * | myTritonDrawable |
| DtDe & | myDe |
| unsigned int | myNextCameraId |
Private Member Functions | |
| DtTritonCameraManager () | |
| DtTritonCameraManager (const DtTritonCameraManager &) | |
| DtTritonCameraManager & | operator= (const DtTritonCameraManager &) |
|
protected |
|
virtual |
destructor
|
protected |
constructor
|
private |
Default Constructor not implemented.
|
private |
Copy Constructor not implemented – Copy not allowed.
|
private |
Assignment Operator not implemented – Copy not allowed.
|
virtual |
get the triton camera associated with this render info
|
virtual |
get the triton camera associated with this osg camera
|
virtual |
check to see if the osg camera associated with the triton cameras are still valid. If not destroy the triton camera.
|
virtual |
find the closest triton camera to the specified world position.
|
protected |
friend creator so it can be the only thing to create this class
|
protected |
|
protected |
|
protected |