14 #include <osgEarthSplat/GroundCoverLayer>
15 #include <osgEarthSplat/GroundCoverFeatureGenerator>
17 #include <osgEarth/Feature>
37 virtual bool init()
override;
48 virtual unsigned int groundCoverLod()
const;
53 unsigned reloadPagesWithinExtent(
const osgEarth::GeoExtent & extent,
bool isRemoval =
false);
56 const osgEarth::GeoExtent& extent,
const DtUUID& dynamicUuid,
bool isRemoval =
false)
override;
68 virtual bool reloadTile(
const osgEarth::TileKey& tileKey,
bool isRemoval =
false,
unsigned numEvents = 1)
override;
75 virtual std::shared_ptr<DtTileData> createTileDataFromGroundCover(
76 const osgEarth::TileKey& tilekey,
78 bool createIfAlreadyLoaded =
false)
const;
84 virtual bool pageOutTile(
const osgEarth::TileKey& tileKey)
override;
96 virtual void addTile(
const osgEarth::TileKey& tilekey,
const std::shared_ptr<DtTileData>& tile)
override;
105 treemodel(
int id,
double width,
double height,
double sim_trunk_height,
106 double sim_trunk_width,
double sim_crown_offset,
double sim_crown_height,
double sim_crown_width,
osg::ref_ptr<osg::Geode> geode) :
110 myTrunkHeight(sim_trunk_height),
111 myTrunkWidth(sim_trunk_width),
112 myCrownOffset(sim_crown_offset),
113 myCrownHeight(sim_crown_height),
114 myCrownWidth(sim_crown_width),
121 myWidth(tree.myWidth),
122 myHeight(tree.myHeight),
123 myTrunkHeight(tree.myTrunkHeight),
124 myTrunkWidth(tree.myTrunkWidth),
125 myCrownOffset(tree.myCrownOffset),
126 myCrownHeight(tree.myCrownHeight),
127 myCrownWidth(tree.myCrownWidth),
128 myGeode(tree.myGeode)
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Definition: osgEarthGroundCoverSourceTracker.h:25
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