![]() |
VR-Forces 5.0.2 Developer's Guide
|
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 | |
| DtIndirectFeatureGeomHandler * | myIndirectFeatureGeomHandler |
| DtIndirectBuildingsHandler * | myIndirectBuildingsHandler |
| DtDe & | myDe |
Private Member Functions | |
| DtIndirectGeometryLayerManager () | |
| DtIndirectGeometryLayerManager (const DtIndirectGeometryLayerManager &other) | |
| DtIndirectGeometryLayerManager & | operator= (const DtIndirectGeometryLayerManager &other) |
Friends | |
| class | DtIndirectGeometryLayerManagerCreator |
|
virtual |
DTOR.
|
protected |
CTOR. Protected. Only creator can create.
|
private |
CTOR (unimplemented default CTOR)
|
private |
Copy Constructor Not implemented – Copy Constructor Not Allowed.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
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 |
Called when feature tile pages in. Called by the DtIndirectGeometryCallback when data for this layer is being loaded.
|
virtual |
Called when feature tile pages out (is about to be deleted). Called by the DtIndirectGeometryCallback when data for this layer is being unloaded.
|
friend |
creator friend class so it is the only one that can create new DtIndirectGeometryLayerManager
|
protected |
|
protected |
|
protected |