20 #include <osgEarth/MapNode>
21 #include <osgEarth/MapInfo>
22 #include <osgEarth/GeoData>
23 #include <osgEarth/LandCoverLayer>
25 #include <osgTerrain/Terrain>
27 #include <tbb/task_arena.h>
31 class TerrainTileModel;
74 bool forcePageInAllData =
false);
81 virtual bool pageOutTiles(
const DtTileKeyList& tilesToRemove);
91 virtual const unsigned int determineTrackerLod();
94 virtual const osgEarth::TerrainOptionsAPI& osgEarthTerrainOptions()
const;
102 unsigned reloadQueuedPages();
108 static osgTerrain::Locator* createLocatorForKey(
const osgEarth::TileKey& key,
const osgEarth::Util::MapInfo& mapInfo);
111 virtual void setTerrainSourcePagerName(
const std::string& name);
116 virtual unsigned queuePagesToReloadNotAlreadyLoaded(
const osgEarth::GeoExtent & extent);
123 virtual bool reloadTile(
const osgEarth::TileKey & tileKey,
bool isRemoval =
false);
129 virtual bool findFirstParent(osgEarth::TileKey & firstParentTileKey,
const osgEarth::TileKey & tileKey);
135 virtual bool modifyMaskExtentsForFirstParent(
const boost::shared_ptr<DtTileData> tileData,
bool isRemoval =
false);
147 virtual bool pageInTile(
const osgEarth::TileKey& tileKey,
149 bool forcePageInAllData =
false);
156 virtual bool pageOutTile(
const osgEarth::TileKey& tileKey);
163 virtual boost::shared_ptr<DtTileData> createTileDataFromTileModel(
164 const osgEarth::TileKey& tilekey,
166 bool createIfAlreadyLoaded =
false)
const;
172 virtual boost::shared_ptr<DtTileData> createTileDataFromHeightfield(
173 const osgEarth::TileKey& tilekey,
181 virtual boost::shared_ptr<DtTileData> createTileDataFromGeometry(
182 const osgEarth::TileKey& tilekey,
196 virtual void addTile(
const osgEarth::TileKey& tilekey,
const boost::shared_ptr<DtTileData>& tile);
203 virtual void addMasks(
const osgEarth::TileKey& tilekey,
const boost::shared_ptr<DtTileData>& tile);
205 virtual bool hasConstraintsOrDynamicTerrain(
const TileKey& key);
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
std::list< osgEarth::TileKey > DtTileKeyList
Definition: tileSpatialIndex.h:32
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
Definition: featureContext.h:37
Definition: osgEarthTerrainSourceTracker.h:62
Base class for Terrain Source trackers. Determines if the necessary data To perform an intersection i...
Definition: terrainSourceTracker.h:75
Fidelity
Allows the system to use differently fidelity data for intersecting against. Currently only implement...
Definition: terrainIntersectOptions.h:76
#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:99