VR-Forces 4.10 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
makVrv::DtCellToIndirectGeoMap Class Referenceabstract
Inheritance diagram for makVrv::DtCellToIndirectGeoMap:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtCellToIndirectGeoMap ()
 DTOR. More...
 
virtual DtCellIndirectGeogetEntryFor (const osg::Node *node)
 get the cell for this key node. 0 if entry does not exist More...
 
virtual void deleteAllEntries (void)
 explicitly delete all cells More...
 
virtual bool keyNodeGettingDeleted (const osg::Node *node)
 call back so that we can clean up the corresponding cell returns whether a cell entry was found (and deleted) More...
 
virtual const DtCullShaderConfigcullShaderConfig (void) const
 access the cull shader config. const version More...
 
virtual DtCullShaderConfigcullShaderConfig (void)
 access the cull shader config. non const version More...
 
virtual int size (void) const
 num of cells More...
 
virtual void setRegistrarInvalid ()
 set registrar invalid. More...
 
virtual void setName (const std::string &name)
 set/get the name More...
 
virtual const std::string & name (void) const
 

Protected Types

typedef std::unordered_map
< const osg::Node
*, DtCellIndirectGeo * > 
KeyToEntryTypeMap
 

Protected Member Functions

 DtCellToIndirectGeoMap (DtDe &de)
 CTOR. Protected. Only creator an create. More...
 
virtual DtCellIndirectGeogetEntry (const osg::Node *node)
 internal method to determine whether an entry exists for a given node More...
 
virtual DtCellIndirectGeocreateEntry (const osg::Node *keyNode, bool includeIntersectionGeoInNodePath, bool terrainPatch, const DtIndirectFadeParameters &fadeParameters)=0
 internal method to create an entry More...
 
virtual void deleteEntries ()
 internal method to delete all entries, called via the destructor More...
 

Protected Attributes

Threading::Mutex myMutex
 
KeyToEntryTypeMap myKeyToEntryTypeMap
 
DtDemyDe
 
DtCullShaderConfig myCullShaderConfig
 
std::string myName
 

Private Member Functions

 DtCellToIndirectGeoMap ()=delete
 not allowed More...
 
 DtCellToIndirectGeoMap (const DtCellToIndirectGeoMap &rhs)=delete
 not allowed More...
 
DtCellToIndirectGeoMapoperator= (const DtCellToIndirectGeoMap &rhs)=delete
 not allowed More...
 

Member Typedef Documentation

typedef std::unordered_map<const osg::Node*, DtCellIndirectGeo*> makVrv::DtCellToIndirectGeoMap::KeyToEntryTypeMap
protected

Constructor & Destructor Documentation

virtual makVrv::DtCellToIndirectGeoMap::~DtCellToIndirectGeoMap ( )
virtual

DTOR.

makVrv::DtCellToIndirectGeoMap::DtCellToIndirectGeoMap ( DtDe de)
protected

CTOR. Protected. Only creator an create.

makVrv::DtCellToIndirectGeoMap::DtCellToIndirectGeoMap ( )
privatedelete

not allowed

makVrv::DtCellToIndirectGeoMap::DtCellToIndirectGeoMap ( const DtCellToIndirectGeoMap rhs)
privatedelete

not allowed

Member Function Documentation

DtCellToIndirectGeoMap& makVrv::DtCellToIndirectGeoMap::operator= ( const DtCellToIndirectGeoMap rhs)
privatedelete

not allowed

virtual DtCellIndirectGeo* makVrv::DtCellToIndirectGeoMap::getEntryFor ( const osg::Node *  node)
virtual

get the cell for this key node. 0 if entry does not exist

virtual void makVrv::DtCellToIndirectGeoMap::deleteAllEntries ( void  )
virtual

explicitly delete all cells

virtual bool makVrv::DtCellToIndirectGeoMap::keyNodeGettingDeleted ( const osg::Node *  node)
virtual

call back so that we can clean up the corresponding cell returns whether a cell entry was found (and deleted)

virtual void makVrv::DtCellToIndirectGeoMap::setName ( const std::string &  name)
virtual

set/get the name

virtual const std::string& makVrv::DtCellToIndirectGeoMap::name ( void  ) const
virtual
virtual const DtCullShaderConfig& makVrv::DtCellToIndirectGeoMap::cullShaderConfig ( void  ) const
virtual

access the cull shader config. const version

virtual DtCullShaderConfig& makVrv::DtCellToIndirectGeoMap::cullShaderConfig ( void  )
virtual

access the cull shader config. non const version

virtual int makVrv::DtCellToIndirectGeoMap::size ( void  ) const
virtual

num of cells

virtual void makVrv::DtCellToIndirectGeoMap::setRegistrarInvalid ( )
virtual

set registrar invalid.

need this for scenarios when registrar is deleted before nodes/entries for the map get a chance to be deleted (because the registrar is held externally)

virtual DtCellIndirectGeo* makVrv::DtCellToIndirectGeoMap::getEntry ( const osg::Node *  node)
protectedvirtual

internal method to determine whether an entry exists for a given node

virtual DtCellIndirectGeo* makVrv::DtCellToIndirectGeoMap::createEntry ( const osg::Node *  keyNode,
bool  includeIntersectionGeoInNodePath,
bool  terrainPatch,
const DtIndirectFadeParameters fadeParameters 
)
protectedpure virtual

internal method to create an entry

Implemented in makVrv::DtCellToGeoSpecificIndirectGeoMap, and makVrv::DtCellToGeoTypicalIndirectGeoMap.

virtual void makVrv::DtCellToIndirectGeoMap::deleteEntries ( )
protectedvirtual

internal method to delete all entries, called via the destructor

Member Data Documentation

Threading::Mutex makVrv::DtCellToIndirectGeoMap::myMutex
protected
KeyToEntryTypeMap makVrv::DtCellToIndirectGeoMap::myKeyToEntryTypeMap
protected
DtDe& makVrv::DtCellToIndirectGeoMap::myDe
protected
DtCullShaderConfig makVrv::DtCellToIndirectGeoMap::myCullShaderConfig
protected
std::string makVrv::DtCellToIndirectGeoMap::myName
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)