18 #include <osg/NodeCallback>
19 #include <osg/ref_ptr>
22 #include <osgEarth/MapNode>
27 class DtOsgTerrainPatchObject;
45 :
public osgEarth::VisibleLayerCallback
50 virtual void onVisibleChanged(osgEarth::VisibleLayer* layer)
override;
85 virtual void onLayerLoaded(
const osgEarth::MapNode* mapNode,
86 osgEarth::Layer* layer)
override;
90 virtual void onDataPreMerge(
const osgEarth::Layer* layer,
91 osg::Node* newNode)
override;
94 virtual void onDataLoaded(
const osgEarth::Layer* layer,
95 const osg::Node* data)
override;
98 virtual const std::string& instanceClassName()
const override;
102 static const std::string& className();
DtOsgTerrainPatchObject & myPatch
Definition: DtStreamingSpeedTreeFeatureCallback.h:54
DtStreamingSpeedTreeForestManager & myForestManager
Definition: DtStreamingSpeedTreeFeatureCallback.h:108
#define DT_DLL_VRVST
Definition: vrvSt.h:20
DtStreamingSpeedTreeForestManager is a singleton class that manages a collection of DtTerrainPatchObj...
Definition: DtStreamingSpeedTreeForestManager.h:51
static const std::string theClassName
Definition: DtStreamingSpeedTreeFeatureCallback.h:105
DtStreamingSpeedTreeForestManager & myForestManager
Definition: DtStreamingSpeedTreeFeatureCallback.h:53
Contains DLL export macros.
DtVirtualBaseClassCreator< DtStreamingSpeedTreeFeatureCallback, DtOsgTerrainPatchObject &, DtStreamingSpeedTreeForestManager & > DtStreamingSpeedTreeFeatureCallbackCreator
creator
Definition: DtStreamingSpeedTreeFeatureCallback.h:30
friend DtStreamingSpeedTreeFeatureCallbackCreator
creator friend class so it is the only one that can create new DtStreamingSpeedTreeFeatureCallback ...
Definition: DtStreamingSpeedTreeFeatureCallback.h:68
DtOsgTerrainPatchObject & myPatch
Definition: DtStreamingSpeedTreeFeatureCallback.h:109
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
A DtOsgTerrainPatchObject contains the methods for loading a file as a terrain. When loading a file a...
Definition: DtOsgTerrainPatchObject.h:51
DtDe & myDe
Definition: DtStreamingSpeedTreeFeatureCallback.h:110
const char * creatorTypeName< DtStreamingSpeedTreeFeatureCallback >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtStreamingSpeedTreeFeatureCallback.h:37
Definition: DtOsgEarthFeatureDataBroker.h:65
DtStreamingSpeedTreeVisibilityCallback is a callback responsible for hiding/showing speedtrees for an...
Definition: DtStreamingSpeedTreeFeatureCallback.h:44
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:70
DtStreamingSpeedTreeFeatureCallback is a data broker callback that will create speedtrees for an osgE...
Definition: DtStreamingSpeedTreeFeatureCallback.h:62