VR-Forces 4.8 Class Documentation
 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 | Friends
makVrv::DtTritonCameraManager Class Reference

class for managing the link between the triton camera's and the osg cameras More...

Public Member Functions

virtual ~DtTritonCameraManager ()
 destructor More...
 
virtual Triton::Camera * getOrCreateTritonCamera (const osg::RenderInfo &renderInfo)
 get the triton camera associated with this render info More...
 
virtual Triton::Camera * getOrCreateTritonCamera (const osg::Camera *osgCamera)
 get the triton camera associated with this osg camera More...
 
virtual void flushInvalidTritonCameras (void)
 check to see if the osg camera associated with the triton cameras are still valid. If not destroy the triton camera. More...
 
virtual const Triton::Camera * closetCameraTo (const DtVector &position) const
 find the closest triton camera to the specified world position. More...
 

Protected Types

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

Protected Member Functions

 DtTritonCameraManager (DtTritonDrawable *tritonDrawable, DtDe &de, unsigned int id)
 constructor More...
 

Protected Attributes

MapOsgCamerasToTritonCameras myMapOsgCamerasToTritonCameras
 
DtTritonDrawablemyTritonDrawable
 
DtDemyDe
 
const unsigned int myManagerId
 
unsigned int myNextCameraId
 

Private Member Functions

 DtTritonCameraManager ()
 Default Constructor not implemented. More...
 
 DtTritonCameraManager (const DtTritonCameraManager &)
 Copy Constructor not implemented – Copy not allowed. More...
 
DtTritonCameraManageroperator= (const DtTritonCameraManager &)
 Assignment Operator not implemented – Copy not allowed. More...
 

Friends

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

Detailed Description

class for managing the link between the triton camera's and the osg cameras

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 ( DtTritonDrawable tritonDrawable,
DtDe de,
unsigned int  id 
)
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.

Friends And Related Function Documentation

friend class DtTritonCameraManagerCreator
friend

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

Member Data Documentation

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

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)