VR-Forces 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 Member Functions | Protected Attributes | Private Member Functions | Friends
makVrv::DtIndirectGeometryLayerManager Class Reference

Handles a layer specified in the .earth file, and using the feature_geom plugin and point features. Makes it so that it is rendered using indirect rendering. Contains the indirect registrar that will register the models referred to by the point features in a format that is suitable for consumption by the indirect engine. Maintains a map of each feature tile node it encounters, and a DtIndirectGeometry corresponding to it. Handles loading / unloading of the feature tile nodes This class is not used directly. It is used by the DtIndirectGeometryCallback which will maintain all the layers encountered in the .earth and invoke the methods of the corresponding layer requires the use of <filter_usage>filter_usage_zero_work_callback_based</filter_usage> in the layer.

Public Member Functions

virtual ~DtIndirectGeometryLayerManager ()
 
virtual void onDataPremerge (osg::Node *newData)
 
virtual void onDataLoaded (const osg::Node *newData)
 
virtual void onDataUnloaded (const osg::Node *oldData)
 

Protected Member Functions

 DtIndirectGeometryLayerManager (DtDe &de, const osgEarth::Layer &layer, const DtIndirectFadeParameters &fadeParameters, bool dynamicTerrainInstallerActive, bool cullFaceEnabled)
 

Protected Attributes

DtIndirectFeatureGeomHandlermyIndirectFeatureGeomHandler
 
DtIndirectBuildingsHandlermyIndirectBuildingsHandler
 
DtDemyDe
 

Private Member Functions

 DtIndirectGeometryLayerManager ()
 
 DtIndirectGeometryLayerManager (const DtIndirectGeometryLayerManager &other)
 
DtIndirectGeometryLayerManageroperator= (const DtIndirectGeometryLayerManager &other)
 

Friends

class DtIndirectGeometryLayerManagerCreator
 

Constructor & Destructor Documentation

virtual makVrv::DtIndirectGeometryLayerManager::~DtIndirectGeometryLayerManager ( )
virtual

DTOR.

makVrv::DtIndirectGeometryLayerManager::DtIndirectGeometryLayerManager ( DtDe de,
const osgEarth::Layer &  layer,
const DtIndirectFadeParameters fadeParameters,
bool  dynamicTerrainInstallerActive,
bool  cullFaceEnabled 
)
protected

CTOR. Protected. Only creator can create.

makVrv::DtIndirectGeometryLayerManager::DtIndirectGeometryLayerManager ( )
private

CTOR (unimplemented default CTOR)

makVrv::DtIndirectGeometryLayerManager::DtIndirectGeometryLayerManager ( const DtIndirectGeometryLayerManager other)
private

Copy Constructor Not implemented – Copy Constructor Not Allowed.

Member Function Documentation

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

Assignment Operator Not implemented – Assignment Not Allowed.

virtual void makVrv::DtIndirectGeometryLayerManager::onDataPremerge ( osg::Node *  newData)
virtual

Called when feature tile pages in. Called by the DtIndirectGeometryCallback before data for this layer has been added to the scenegraph from a background paging thread.

virtual void makVrv::DtIndirectGeometryLayerManager::onDataLoaded ( const osg::Node *  newData)
virtual

Called when feature tile pages in. Called by the DtIndirectGeometryCallback when data for this layer is being loaded.

virtual void makVrv::DtIndirectGeometryLayerManager::onDataUnloaded ( const osg::Node *  oldData)
virtual

Called when feature tile pages out (is about to be deleted). Called by the DtIndirectGeometryCallback when data for this layer is being unloaded.

Friends And Related Function Documentation

creator friend class so it is the only one that can create new DtIndirectGeometryLayerManager

Member Data Documentation

DtIndirectFeatureGeomHandler* makVrv::DtIndirectGeometryLayerManager::myIndirectFeatureGeomHandler
protected
DtIndirectBuildingsHandler* makVrv::DtIndirectGeometryLayerManager::myIndirectBuildingsHandler
protected
DtDe& makVrv::DtIndirectGeometryLayerManager::myDe
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)