19 #include <boost/scoped_ptr.hpp>
21 #include <tbb/spin_rw_mutex.h>
37 const osgEarth::Profile* profile,
38 bool erasePrevious =
false);
57 virtual boost::shared_ptr<Record> read(
const osgEarth::TileKey& key);
62 const osgEarth::TileKey& key,
73 boost::scoped_ptr<DtObjectDB::Cursor>
myCursor;
82 typedef std::map<osgEarth::TileKey, boost::shared_ptr<Record> >
CacheMap;
boost::shared_ptr< DtObjectDB > Ptr
Definition: objectDB.h:30
boost::scoped_ptr< DtObjectDB::Cursor > myCursor
Definition: cutoutCache.h:73
DtTileData::Extent::Vector maskExtents
Definition: cutoutCache.h:48
DtU64 Offset
Definition: objectDB.h:31
const std::string myCacheFilename
Definition: cutoutCache.h:87
DtObjectDB::Offset myNextWriteLocationOffset
offset in the file where we store the offset where the record will be written.
Definition: cutoutCache.h:78
DtObjectDB::Ptr myObjectDB
Definition: cutoutCache.h:72
DtObjectDB::Offset myNextWriteLocation
offset in the file where the next record will be written.
Definition: cutoutCache.h:80
std::vector< Extent > Vector
Definition: tileData.h:49
std::map< osgEarth::TileKey, boost::shared_ptr< Record > > CacheMap
Definition: cutoutCache.h:82
Data for masks in a given tilekey.
Definition: cutoutCache.h:44
tbb::spin_rw_mutex myCacheMutex
Definition: cutoutCache.h:85
Contains DtCutoutCache. Binary db for storing cached osgearth cutouts.
Definition: cutoutCache.h:28
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
std::list< boost::shared_ptr< btCollisionObject > > DtCollisionObjectList
Definition: osgToBullet.h:51
osg::ref_ptr< const osgEarth::Profile > myProfile
Definition: cutoutCache.h:75
DtCollisionObjectList collisionObjects
Definition: cutoutCache.h:46
CacheMap myCacheMap
Definition: cutoutCache.h:84
unsigned numberOfTriangles
Definition: cutoutCache.h:47