20 #include <osgEarth/MapNode>
21 #include <osgEarth/GeoData>
22 #include <osgTerrain/Terrain>
24 #include <tbb/concurrent_queue.h>
28 class TerrainTileModel;
47 virtual void setEarthFileName(
const DtFilename& file);
72 virtual bool pageOutTiles(
const DtTileKeyList& tilesToRemove);
79 virtual const unsigned int determineTrackerLod();
82 virtual const osgEarth::TerrainOptions& osgEarthTerrainOptions()
const;
98 virtual bool pageInTile(
const osgEarth::TileKey& tileKey,
106 virtual bool pageOutTile(
const osgEarth::TileKey& tileKey);
112 virtual boost::shared_ptr<DtTileData> createTileDataFromTileModel(
113 const osgEarth::TileKey& tilekey,
120 virtual boost::shared_ptr<DtTileData> createTileDataFromHeightfield(
121 const osgEarth::TileKey& tilekey,
123 const osg::ref_ptr<const osg::HeightField>& heightfield)
const;
129 virtual boost::shared_ptr<DtTileData> createTileDataFromGeometry(
130 const osgEarth::TileKey& tilekey,
132 const osg::ref_ptr<osg::Node>& geometry)
const;
144 virtual void addTile(
const osgEarth::TileKey& tilekey,
const boost::shared_ptr<DtTileData>& tile);
148 virtual void addEmptyTile(
149 const osgEarth::TileKey& tilekey,
153 virtual void addMasks(
const osgEarth::TileKey& tilekey,
const boost::shared_ptr<DtTileData>& tile);