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;
122 treemodel(
const std::string& name,
double width,
double height,
double sim_trunk_height,
123 double sim_trunk_width,
double sim_crown_offset,
double sim_crown_height,
double sim_crown_width,
osg::ref_ptr<osg::Geode> geode) :
127 myTrunkHeight(sim_trunk_height),
128 myTrunkWidth(sim_trunk_width),
129 myCrownOffset(sim_crown_offset),
130 myCrownHeight(sim_crown_height),
131 myCrownWidth(sim_crown_width),
138 myWidth(tree.myWidth),
139 myHeight(tree.myHeight),
140 myTrunkHeight(tree.myTrunkHeight),
141 myTrunkWidth(tree.myTrunkWidth),
142 myCrownOffset(tree.myCrownOffset),
143 myCrownHeight(tree.myCrownHeight),
144 myCrownWidth(tree.myCrownWidth),
145 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