![]() |
VR-Forces 4.6 Class Documentation
|
Maintains a list of feature layers specified with feature_custom plugin and to be rendered with indirect rendering. More...

Public Member Functions | |
| virtual | ~DtIndirectGeometryManager () |
| DTOR. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtIndirectGeometryManager & | instance (DtDe &de) |
| Get the instance for the DtIndirectGeometryManager. | |
Protected Types | |
| typedef boost::unordered_map < const osgEarth::ModelLayer *, DtIndirectGeometryLayerManager * > | MapLayerToLayerManagerIndirectGeometry |
| map of layers in the osg earth terrain to the layer manager for each layer | |
Protected Member Functions | |
| DtIndirectGeometryManager (DtDe &de) | |
| CTOR (protected, only created through creator function) | |
| virtual void | slot_terrainPatchCreated (DtTerrainPatchObject &patch) |
| Find out when the terrain patch is ready to accept DtOsgEarthFeatureDataBroker callbacks. | |
| virtual bool | isFeatureCustomModelSource (const osgEarth::ModelLayer *layer) |
| cannot handle something that's not a feature custom model source | |
| virtual void | onLayerLoaded (const osgEarth::MapNode *mapNode, const osgEarth::ModelLayer *layer) |
| The DtIndirectGeometryCallback installed by this manager actually receives the callbacks. | |
| virtual void | onDataPreMerge (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, osg::Node *newData) |
| Called by the via DtIndirectGeometryCallback::onDataPreMerge. | |
| virtual void | onDataLoaded (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, const osg::Node *newData) |
| Called by the via DtIndirectGeometryCallback::onDataLoaded. | |
| virtual void | onDataUnloaded (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, const osg::Node *oldData) |
| Called by the via DtIndirectGeometryCallback::onDataUnloaded. | |
Protected Attributes | |
| DtDe & | myDe |
| MapLayerToLayerManagerIndirectGeometry | myMapLayerToLayerManagerIndirectGeometry |
Private Member Functions | |
| DtIndirectGeometryManager () | |
| CTOR (unimplemented default CTOR) | |
Friends | |
| class | DtIndirectGeometryManagerCreator |
| Friended with creator so that it can use our constructor. | |
| class | DtIndirectGeometryCallback |
| friended with DtIndirectGeometryCallback so that it can route calls to our protected methods directly | |
Maintains a list of feature layers specified with feature_custom plugin and to be rendered with indirect rendering.
Listens in on the signal_terrainPatchCreated signal
|
protected |
map of layers in the osg earth terrain to the layer manager for each layer
|
virtual |
DTOR.
|
protected |
CTOR (protected, only created through creator function)
|
private |
CTOR (unimplemented default CTOR)
|
static |
Get the instance for the DtIndirectGeometryManager.
| DtCorruptedState | if it is unable to get the instance. |
|
protectedvirtual |
Find out when the terrain patch is ready to accept DtOsgEarthFeatureDataBroker callbacks.
When this signal fires, the manager looks up a terrain patch and installs the DtIndirectGeometryCallback
|
protectedvirtual |
The DtIndirectGeometryCallback installed by this manager actually receives the callbacks.
It simply re-routes them to the manager's corresponding methods below Called by the via DtIndirectGeometryCallback::onLayerLoaded
|
protectedvirtual |
Called by the via DtIndirectGeometryCallback::onDataPreMerge.
|
protectedvirtual |
Called by the via DtIndirectGeometryCallback::onDataLoaded.
|
protectedvirtual |
Called by the via DtIndirectGeometryCallback::onDataUnloaded.
|
protectedvirtual |
cannot handle something that's not a feature custom model source
|
friend |
Friended with creator so that it can use our constructor.
|
friend |
friended with DtIndirectGeometryCallback so that it can route calls to our protected methods directly
|
protected |
|
protected |