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::DtTritonHeightMapSuperManager Class Reference

A class to manage multiple DtTritonHeightMapManager(s) (one per camera) More...

Public Member Functions

virtual ~DtTritonHeightMapSuperManager ()
 Destructor. More...
 
virtual void setHeightMapResolution (float metersPerTexel)
 Set the height map resolution for all managers. More...
 
virtual float heightMapResolution (void) const
 Get the height map resolution that all managers use. More...
 
virtual void deleteAllHeightMapManagers (void)
 Delete all the height map managers owned by this super manager. More...
 
virtual int numHeightMapManagers (void) const
 returns how many height map managers are owned by this supter manager More...
 
virtual bool flushInvalidCameras (void)
 delete any height map managers that are associated with osg cameras that are no longer valid More...
 
DtTritonHeightMapManagergetOrCreateHeightMapManager (osg::RenderInfo &renderInfo)
 get or create a new height map manager based on the current camera for this renderInfo More...
 

Protected Types

typedef std::map
< osg::observer_ptr
< osg::Camera >
, DtTritonHeightMapManager * > 
MapCamerasToHeightMapManagers
 

Protected Member Functions

 DtTritonHeightMapSuperManager (DtTritonDrawable *tritonDrawable, DtDe &de)
 Constructor. More...
 

Protected Attributes

MapCamerasToHeightMapManagers myHeightMapManagerMap
 
float myHeightMapResolution
 
DtTritonDrawablemyTritonDrawable
 
DtDemyDe
 

Private Member Functions

 DtTritonHeightMapSuperManager ()
 Default Constructor not implemented. More...
 
 DtTritonHeightMapSuperManager (const DtTritonHeightMapSuperManager &other)
 Copy Constructor not implemented – Copy Not Allowed. More...
 
DtTritonHeightMapSuperManageroperator= (const DtTritonHeightMapSuperManager &other)
 Assignment Operator Not implemented – Assignment Not Allowed. More...
 

Friends

class DtTritonHeightMapSuperManagerCreator
 friend class for creating More...
 

Detailed Description

A class to manage multiple DtTritonHeightMapManager(s) (one per camera)

Member Typedef Documentation

typedef std::map< osg::observer_ptr<osg::Camera>, DtTritonHeightMapManager* > makVrv::DtTritonHeightMapSuperManager::MapCamerasToHeightMapManagers
protected

Constructor & Destructor Documentation

virtual makVrv::DtTritonHeightMapSuperManager::~DtTritonHeightMapSuperManager ( )
virtual

Destructor.

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

Constructor.

makVrv::DtTritonHeightMapSuperManager::DtTritonHeightMapSuperManager ( )
private

Default Constructor not implemented.

makVrv::DtTritonHeightMapSuperManager::DtTritonHeightMapSuperManager ( const DtTritonHeightMapSuperManager other)
private

Copy Constructor not implemented – Copy Not Allowed.

Member Function Documentation

DtTritonHeightMapSuperManager& makVrv::DtTritonHeightMapSuperManager::operator= ( const DtTritonHeightMapSuperManager other)
private

Assignment Operator Not implemented – Assignment Not Allowed.

virtual void makVrv::DtTritonHeightMapSuperManager::setHeightMapResolution ( float  metersPerTexel)
virtual

Set the height map resolution for all managers.

virtual float makVrv::DtTritonHeightMapSuperManager::heightMapResolution ( void  ) const
virtual

Get the height map resolution that all managers use.

virtual void makVrv::DtTritonHeightMapSuperManager::deleteAllHeightMapManagers ( void  )
virtual

Delete all the height map managers owned by this super manager.

virtual int makVrv::DtTritonHeightMapSuperManager::numHeightMapManagers ( void  ) const
virtual

returns how many height map managers are owned by this supter manager

virtual bool makVrv::DtTritonHeightMapSuperManager::flushInvalidCameras ( void  )
virtual

delete any height map managers that are associated with osg cameras that are no longer valid

DtTritonHeightMapManager* makVrv::DtTritonHeightMapSuperManager::getOrCreateHeightMapManager ( osg::RenderInfo &  renderInfo)

get or create a new height map manager based on the current camera for this renderInfo

Friends And Related Function Documentation

friend class for creating

Member Data Documentation

MapCamerasToHeightMapManagers makVrv::DtTritonHeightMapSuperManager::myHeightMapManagerMap
protected
float makVrv::DtTritonHeightMapSuperManager::myHeightMapResolution
protected
DtTritonDrawable* makVrv::DtTritonHeightMapSuperManager::myTritonDrawable
protected
DtDe& makVrv::DtTritonHeightMapSuperManager::myDe
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)