VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtTritonCameraManager Class Reference

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
 
DtTritonDrawablemyTritonDrawable
 
DtDemyDe
 
unsigned int myNextCameraId
 

Private Member Functions

 DtTritonCameraManager ()
 
 DtTritonCameraManager (const DtTritonCameraManager &)
 
DtTritonCameraManageroperator= (const DtTritonCameraManager &)
 

Member Typedef Documentation

typedef std::map< osg::observer_ptr<const osg::Camera>, Triton::Camera* > makVrv::DtTritonCameraManager::MapOsgCamerasToTritonCameras
protected

Constructor & Destructor Documentation

virtual makVrv::DtTritonCameraManager::~DtTritonCameraManager ( )
virtual

destructor

makVrv::DtTritonCameraManager::DtTritonCameraManager ( DtDe de,
DtTritonDrawable tritonDrawable 
)
protected

constructor

makVrv::DtTritonCameraManager::DtTritonCameraManager ( )
private

Default Constructor not implemented.

makVrv::DtTritonCameraManager::DtTritonCameraManager ( const DtTritonCameraManager )
private

Copy Constructor not implemented – Copy not allowed.

Member Function Documentation

DtTritonCameraManager& makVrv::DtTritonCameraManager::operator= ( const DtTritonCameraManager )
private

Assignment Operator not implemented – Copy not allowed.

virtual Triton::Camera* makVrv::DtTritonCameraManager::getOrCreateTritonCamera ( const osg::RenderInfo &  renderInfo)
virtual

get the triton camera associated with this render info

virtual Triton::Camera* makVrv::DtTritonCameraManager::getOrCreateTritonCamera ( const osg::Camera *  osgCamera)
virtual

get the triton camera associated with this osg camera

virtual void makVrv::DtTritonCameraManager::flushInvalidTritonCameras ( void  )
virtual

check to see if the osg camera associated with the triton cameras are still valid. If not destroy the triton camera.

virtual const Triton::Camera* makVrv::DtTritonCameraManager::closetCameraTo ( const DtVector position) const
virtual

find the closest triton camera to the specified world position.

Member Data Documentation

friend makVrv::DtTritonCameraManager::DtTritonCameraManagerCreator
protected

friend creator so it can be the only thing to create this class

MapOsgCamerasToTritonCameras makVrv::DtTritonCameraManager::myMapOsgCamerasToTritonCameras
protected
DtTritonDrawable* makVrv::DtTritonCameraManager::myTritonDrawable
protected
DtDe& makVrv::DtTritonCameraManager::myDe
protected
unsigned int makVrv::DtTritonCameraManager::myNextCameraId
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)