20 #include <unordered_map>
37 class DtIndirectGeometryLayerManager;
81 virtual void onLayerLoaded(
const osgEarth::MapNode* mapNode, osgEarth::Layer* layer)
override;
84 virtual void onLayerOpened(
const osgEarth::MapNode* mapNode, osgEarth::Layer* layer);
87 virtual void onLayerClosed(
const osgEarth::MapNode* mapNode, osgEarth::Layer* layer);
90 virtual void processLayer(
const osgEarth::MapNode* mapNode, osgEarth::Layer* layer);
94 virtual void onDataPreMerge(
const osgEarth::Layer* layer, osg::Node* newData)
override;
97 virtual void onDataLoaded(
const osgEarth::Layer* layer,
const osg::Node* newData)
override;
100 virtual void onDataUnloaded(
const osgEarth::Layer* layer,
const osg::Node* oldData)
override;
103 virtual const std::string& instanceClassName()
const override;
111 virtual bool checkForIndirectRenderingParameter(osgEarth::Layer* layer);
115 static const std::string& className();
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
DtOsgEarthFeatureDataBroker listens to osgEarth feature layers (i.e.
Definition: DtOsgEarthFeatureDataBroker.h:60
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
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:124
MapLayerToLayerManagerIndirectGeometry myMapLayerToLayerManagerIndirectGeometry
Definition: DtIndirectGeometryCallback.h:125
Definition: DtOsgEarthFeatureDataBroker.h:65
DtOsgEarthFeatureDataBroker * myFeatureDataBroker
Definition: DtIndirectGeometryCallback.h:121
DtIndirectGeometryCallback is a data broker callback that handles feature tile load/unload callbacks ...
Definition: DtIndirectGeometryCallback.h:53
Contains makVrv::DtOsgEarthFeatureDataBroker class.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
Definition: DtIndirectGeometryCallback.h:119
static const std::string theClassName
Definition: DtIndirectGeometryCallback.h:118
friend DtIndirectGeometryCallbackCreator
creator friend class so it is the only one that can create new DtIndirectGeometryCallback ...
Definition: DtIndirectGeometryCallback.h:65
const char * creatorTypeName< DtIndirectGeometryCallback >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtIndirectGeometryCallback.h:47
DtVirtualBaseClassCreator< DtIndirectGeometryCallback > DtIndirectGeometryCallbackCreator
creator
Definition: DtIndirectGeometryCallback.h:40
Contains DLL export macros.