13 #include <osgEarthProcedural/VegetationLayer>
14 #include <osgEarthProcedural/VegetationFeatureGenerator>
16 #include <tbb/spin_rw_mutex.h>
17 #include <tbb/task_arena.h>
39 virtual bool init()
override;
50 virtual void setVegetationLayerGroupName(
const std::string& veglayerGroup);
53 virtual void setSimVegetationConfigFile(
const std::string& simVegetationFile);
56 virtual unsigned int vegetationLayerGroupLod()
const;
59 virtual std::string vegetationLayerGroupName()
const;
77 virtual void readXmlConfigFile();
84 virtual bool reloadTile(
const osgEarth::TileKey& tileKey,
bool isRemoval =
false,
unsigned numEvents = 1)
override;
91 virtual std::shared_ptr<DtTileData> createTileDataFromVegetationLayer(
92 const osgEarth::TileKey& tilekey,
94 bool createIfAlreadyLoaded =
false)
const;
100 virtual bool pageOutTile(
const osgEarth::TileKey& tileKey)
override;
112 virtual void addTile(
const osgEarth::TileKey& tilekey,
const std::shared_ptr<DtTileData>& tile)
override;
121 treemodel(
const std::string& name,
double width,
double height,
double sim_trunk_height,
122 double sim_trunk_width,
double sim_crown_offset,
double sim_crown_height,
double sim_crown_width,
osg::ref_ptr<osg::Geode> geode) :
126 myTrunkHeight(sim_trunk_height),
127 myTrunkWidth(sim_trunk_width),
128 myCrownOffset(sim_crown_offset),
129 myCrownHeight(sim_crown_height),
130 myCrownWidth(sim_crown_width),
137 myWidth(tree.myWidth),
138 myHeight(tree.myHeight),
139 myTrunkHeight(tree.myTrunkHeight),
140 myTrunkWidth(tree.myTrunkWidth),
141 myCrownOffset(tree.myCrownOffset),
142 myCrownHeight(tree.myCrownHeight),
143 myCrownWidth(tree.myCrownWidth),
144 myGeode(tree.myGeode)
unsigned long long DtTerrainIntersectIDType
Definition: terrainInterfaceDefines.h:28
Base class for Terrain Source trackers. Determines if the necessary data To perform an intersection i...
Definition: terrainSourceTracker.h:75
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
This class wraps the VR-Vantage Display Engine, and uses as a terrain loader and intersector. This is the terrain engine that powers the DtVantageTerrainImplementation. The DtVantageTerrainEngine runs the DtDe it its own thread, and processes commands thought the command queue.
Definition: vantageTerrainEngine.h:112
Definition: osgEarthVegetationLayerSourceTracker.h:25