15 #include <tbb/blocked_range.h>
16 #include <tbb/spin_rw_mutex.h>
17 #include <tbb/task_arena.h>
41 virtual bool init() = 0;
66 virtual bool pageOutTiles(
const DtTileKeyList& tilesToRemove);
70 unsigned reloadQueuedPages();
81 virtual bool pageOutTile(
const osgEarth::TileKey& tileKey) = 0;
93 virtual void addTile(
const osgEarth::TileKey& tilekey,
const boost::shared_ptr<DtTileData>& tile) = 0;
100 virtual bool reloadTile(
const osgEarth::TileKey& tileKey,
bool isRemoval =
false,
unsigned numEvents = 1) = 0;
121 virtual void operator()(
const tbb::blocked_range<size_t>& r)
const;
std::list< osgEarth::TileKey > DtTileKeyList
Definition: tileSpatialIndex.h:32
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
Class to tbb the trees creation.
Definition: osgEarthBaseGroundCoverSourcePager.h:117
unsigned long long DtTerrainIntersectIDType
Definition: terrainInterfaceDefines.h:28
Definition: osgEarthBaseGroundCoverSourceTracker.h:27
virtual void createTbbTree(osg::ref_ptr< osgEarth::Feature > tree) const
virtual void operator()(const tbb::blocked_range< size_t > &r) const
DtOsgEarthBaseGroundCoverSourcePager * myPager
Definition: osgEarthBaseGroundCoverSourcePager.h:131
DtOsgEarthBaseGroundCoverSourcePager::FeatureVector & myFeatureVector
Definition: osgEarthBaseGroundCoverSourcePager.h:129
osg::ref_ptr< osg::Group > & myTreeGroup
Definition: osgEarthBaseGroundCoverSourcePager.h:130
TbbCreateTrees(DtOsgEarthBaseGroundCoverSourcePager *pager, DtOsgEarthBaseGroundCoverSourcePager::FeatureVector &vector, osg::ref_ptr< osg::Group > &treeGroup)
#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:109