11 #include <boost/unordered_map.hpp>
12 #include <boost/unordered_set.hpp>
32 class DtOsgTerrainPatchObject;
33 class DtStreamedSpeedTreeForest;
46 void onDataLoaded(
const osgEarth::Map* map,
const osgEarth::Layer* layer,
47 const osg::Node* data);
48 void onDataUnLoaded(
const osgEarth::Map* map,
const osgEarth::Layer* layer,
49 const osg::Node* data);
51 void onLayerLoaded(
const osgEarth::MapNode* mapNode,
52 osgEarth::Layer* layer);
53 void onLayerUnLoaded(
const osgEarth::MapNode* mapNode,
54 const osgEarth::Layer* layer);
56 void addSpeedTreesToForest(
const std::string& forestName,
const osg::Node* group,
const DtVectorTreeRecords& treeRecords);
58 void removeTreesFromForest(
const std::string& forestName,
const osg::Node* dataNode);
62 bool hasForest(
const std::string& strName);
64 void destroyForest(
const std::string& strName);
65 size_t numForests(
void)
const;
66 void destroyAllForests(
void);
69 static std::string getForestName(
const osgEarth::Map* map,
70 const osgEarth::Layer* layer);
73 typedef boost::unordered_map<std::string, DtStreamedSpeedTreeForest*>
boost::unordered_map< std::string, DtStreamedSpeedTreeForest * > MapStreamedForests
Definition: DtTerrainPatchObjectForestManager.h:74
DtStreamedSpeedTreeForest manages the streaming management for The DtSpeedTreeForest that is contains...
Definition: DtStreamedSpeedTreeForest.h:50
MapStreamedForests myStreamedForests
Definition: DtTerrainPatchObjectForestManager.h:75
#define DT_DLL_VRVST
Definition: vrvSt.h:23
DtOsgTerrainPatchObject & myPatch
Definition: DtTerrainPatchObjectForestManager.h:77
Contains DLL export macros.
std::vector< DtTreeRecord * > DtVectorTreeRecords
Definition: DtTreeRecord.h:137
A DtOsgTerrainPatchObject contains the methods for loading a file as a terrain.
Definition: DtOsgTerrainPatchObject.h:50
DtTerrainPatchObjectForestManager manages a collection of DtStreamedSpeedTreeForest objects...
Definition: DtTerrainPatchObjectForestManager.h:39
DtDe & myDe
Definition: DtTerrainPatchObjectForestManager.h:79
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains makVrv::DtTreeRecord class.
Contains makVrv::DtTerrainPatchObject class.