20 #include <unordered_map>
42 class DtIndirectGeometryLayerManager;
86 virtual void onLayerLoaded(
const osgEarth::MapNode* mapNode, osgEarth::Layer* layer)
override;
89 virtual void onLayerOpened(
const osgEarth::MapNode* mapNode, osgEarth::Layer* layer);
92 virtual void onLayerClosed(
const osgEarth::MapNode* mapNode, osgEarth::Layer* layer);
95 virtual void processLayer(
const osgEarth::MapNode* mapNode, osgEarth::Layer* layer);
99 virtual void onDataPreMerge(
const osgEarth::Layer* layer, osg::Node* newData)
override;
102 virtual void onDataLoaded(
const osgEarth::Layer* layer,
const osg::Node* newData)
override;
105 virtual void onDataUnloaded(
const osgEarth::Layer* layer,
const osg::Node* oldData)
override;
108 virtual const std::string& instanceClassName()
const override;
116 virtual bool checkForIndirectRenderingParameter(osgEarth::Layer* layer);
120 virtual void processBuildingLayer(osgEarth::Buildings::BuildingLayer* buildingLayer)
const;
124 virtual void processModelLayer(osgEarth::Layer* layer)
const;
128 static const std::string& className();
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
DtOsgEarthFeatureDataBroker listens to osgEarth feature layers (i.e. model layers with a feature sour...
Definition: DtOsgEarthFeatureDataBroker.h:60
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
Contains makVrv::DtVirtualBaseClass class.
std::unordered_map< const osgEarth::Layer *, DtIndirectGeometryLayerManager * > MapLayerToLayerManagerIndirectGeometry
map of layers in the osg earth terrain to the layer manager for each layer
Definition: DtIndirectGeometryCallback.h:137
MapLayerToLayerManagerIndirectGeometry myMapLayerToLayerManagerIndirectGeometry
Definition: DtIndirectGeometryCallback.h:138
Definition: DtOsgEarthFeatureDataBroker.h:65
DtOsgEarthFeatureDataBroker * myFeatureDataBroker
Definition: DtIndirectGeometryCallback.h:134
DtIndirectGeometryCallback is a data broker callback that handles feature tile load/unload callbacks ...
Definition: DtIndirectGeometryCallback.h:58
Contains makVrv::DtOsgEarthFeatureDataBroker class.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtDe & myDe
Definition: DtIndirectGeometryCallback.h:132
static const std::string theClassName
Definition: DtIndirectGeometryCallback.h:131
friend DtIndirectGeometryCallbackCreator
creator friend class so it is the only one that can create new DtIndirectGeometryCallback ...
Definition: DtIndirectGeometryCallback.h:70
const char * creatorTypeName< DtIndirectGeometryCallback >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtIndirectGeometryCallback.h:52
DtVirtualBaseClassCreator< DtIndirectGeometryCallback > DtIndirectGeometryCallbackCreator
creator
Definition: DtIndirectGeometryCallback.h:45
Contains DLL export macros.