VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtTerrainPatchObjectManager Class Reference

Manager that provides direct access to the terrain patch objects in use in a display engine also handles global tasks related to the terrain patches like dynamic features for paged tiles. More...

Inheritance diagram for makVrv::DtTerrainPatchObjectManager:
Inheritance graph
[legend]

Public Types

typedef std::set
< DtOsgTerrainPatchObject * > 
TerrainPatchObjectSet

Public Member Functions

virtual ~DtTerrainPatchObjectManager ()
 DTOR.
virtual const
TerrainPatchObjectSet
findTerrainPatchObjects () const
 Find the Terrain Patch object, returns null if none exists.
virtual TerrainPatchObjectSetfindTerrainPatchObjects ()
 Find the Terrain Patch object, returns null if none exists.
virtual void registerTerrainPatchObject (DtOsgTerrainPatchObject *obj)
 Register a Terrain Patch object pointer for later retrieval.
virtual void unregisterTerrainPatchObject (DtOsgTerrainPatchObject *obj)
 Register a Terrain Patch object pointer for later retrieval.
virtual void cleanupPagedDynamicFeatures ()
 check the paged dynamic features for orphaned nodes and page out those dynamic features.
virtual void slot_childPagedIn (osg::Group *page, osg::Node *child)
 find dynamic features for tiles as they page in.
virtual void slot_childAboutToPageOut (osg::Group *page, osg::Node *child)
 remove dynamic features for tiles as they page out.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static
DtTerrainPatchObjectManager
instance (DtDe &de)
 Get/create instance of Terrain Patch object manager.
static std::string theClassName ()
 Get the name this class is registered by.

Protected Types

typedef std::map< osg::ref_ptr
< osg::Node >
, DtDynamicTerrainWorld::FeatureHandle
NodeFeatureMap

Protected Member Functions

 DtTerrainPatchObjectManager (DtDe &de)
 CTOR (protected)

Protected Attributes

TerrainPatchObjectSet myTerrainPatchObjects
NodeFeatureMap myPagedDynamicFeatures
DtDemyDe

Detailed Description

Manager that provides direct access to the terrain patch objects in use in a display engine also handles global tasks related to the terrain patches like dynamic features for paged tiles.

Member Typedef Documentation

Constructor & Destructor Documentation

virtual makVrv::DtTerrainPatchObjectManager::~DtTerrainPatchObjectManager ( )
virtual

DTOR.

makVrv::DtTerrainPatchObjectManager::DtTerrainPatchObjectManager ( DtDe de)
protected

CTOR (protected)

Member Function Documentation

virtual const TerrainPatchObjectSet& makVrv::DtTerrainPatchObjectManager::findTerrainPatchObjects ( ) const
virtual

Find the Terrain Patch object, returns null if none exists.

virtual TerrainPatchObjectSet& makVrv::DtTerrainPatchObjectManager::findTerrainPatchObjects ( )
virtual

Find the Terrain Patch object, returns null if none exists.

virtual void makVrv::DtTerrainPatchObjectManager::registerTerrainPatchObject ( DtOsgTerrainPatchObject obj)
virtual

Register a Terrain Patch object pointer for later retrieval.

virtual void makVrv::DtTerrainPatchObjectManager::unregisterTerrainPatchObject ( DtOsgTerrainPatchObject obj)
virtual

Register a Terrain Patch object pointer for later retrieval.

virtual void makVrv::DtTerrainPatchObjectManager::cleanupPagedDynamicFeatures ( )
virtual

check the paged dynamic features for orphaned nodes and page out those dynamic features.

static DtTerrainPatchObjectManager& makVrv::DtTerrainPatchObjectManager::instance ( DtDe de)
static

Get/create instance of Terrain Patch object manager.

static std::string makVrv::DtTerrainPatchObjectManager::theClassName ( )
static

Get the name this class is registered by.

virtual void makVrv::DtTerrainPatchObjectManager::slot_childPagedIn ( osg::Group *  page,
osg::Node *  child 
)
virtual

find dynamic features for tiles as they page in.

virtual void makVrv::DtTerrainPatchObjectManager::slot_childAboutToPageOut ( osg::Group *  page,
osg::Node *  child 
)
virtual

remove dynamic features for tiles as they page out.

Member Data Documentation

TerrainPatchObjectSet makVrv::DtTerrainPatchObjectManager::myTerrainPatchObjects
protected
NodeFeatureMap makVrv::DtTerrainPatchObjectManager::myPagedDynamicFeatures
protected
DtDe& makVrv::DtTerrainPatchObjectManager::myDe
protected

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)