18 #include <osgEarth/MapNode>
19 #include <osgEarth/GeoData>
20 #include <osgTerrain/Terrain>
22 #include <tbb/concurrent_queue.h>
26 class TerrainTileModel;
56 virtual bool pageOutTiles(
const DtTileKeyList& tilesToRemove);
63 virtual const unsigned int determineTrackerLod();
66 virtual const osgEarth::TerrainOptions& osgEarthTerrainOptions()
const;
82 virtual bool pageInTile(
const osgEarth::TileKey& tileKey,
90 virtual bool pageOutTile(
const osgEarth::TileKey& tileKey);
96 virtual boost::shared_ptr<DtTileData> createTileDataFromTileModel(
97 const osgEarth::TileKey& tilekey,
104 virtual boost::shared_ptr<DtTileData> createTileDataFromHeightfield(
105 const osgEarth::TileKey& tilekey,
107 const osg::ref_ptr<const osg::HeightField>& heightfield)
const;
113 virtual boost::shared_ptr<DtTileData> createTileDataFromGeometry(
114 const osgEarth::TileKey& tilekey,
116 const osg::ref_ptr<osg::Node>& geometry)
const;
128 virtual void addTile(
const osgEarth::TileKey& tilekey,
const boost::shared_ptr<DtTileData>& tile);
132 virtual void addEmptyTile(
133 const osgEarth::TileKey& tilekey,
150 typedef std::map<std::pair<osgEarth::TileKey, osgEarth::TileKey>, osg::ref_ptr<osg::Node> >
MaskGeometryCache;