19 #include <tbb/spin_rw_mutex.h>
35 const osgEarth::Profile* profile,
36 bool erasePrevious =
false);
55 virtual std::shared_ptr<Record> read(
const osgEarth::TileKey& key);
60 const osgEarth::TileKey& key,
71 const std::unique_ptr<DtObjectDB::Cursor>
myCursor;
80 typedef std::map<osgEarth::TileKey, std::shared_ptr<Record> >
CacheMap;
DtTileData::Extent::Vector maskExtents
Definition: cutoutCache.h:46
DtU64 Offset
Definition: objectDB.h:30
const std::string myCacheFilename
Definition: cutoutCache.h:85
DtObjectDB::Offset myNextWriteLocationOffset
offset in the file where we store the offset where the record will be written.
Definition: cutoutCache.h:76
DtObjectDB::Ptr myObjectDB
Definition: cutoutCache.h:70
DtObjectDB::Offset myNextWriteLocation
offset in the file where the next record will be written.
Definition: cutoutCache.h:78
std::vector< Extent > Vector
Definition: tileData.h:48
const std::unique_ptr< DtObjectDB::Cursor > myCursor
Definition: cutoutCache.h:71
Data for masks in a given tilekey.
Definition: cutoutCache.h:42
tbb::spin_rw_mutex myCacheMutex
Definition: cutoutCache.h:83
std::shared_ptr< DtObjectDB > Ptr
Definition: objectDB.h:29
Contains DtCutoutCache. Binary db for storing cached osgearth cutouts.
Definition: cutoutCache.h:26
std::list< std::shared_ptr< btCollisionObject > > DtCollisionObjectList
Definition: bulletUtil.h:47
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
std::map< osgEarth::TileKey, std::shared_ptr< Record > > CacheMap
Definition: cutoutCache.h:80
osg::ref_ptr< const osgEarth::Profile > myProfile
Definition: cutoutCache.h:73
DtCollisionObjectList collisionObjects
Definition: cutoutCache.h:44
CacheMap myCacheMap
Definition: cutoutCache.h:82
unsigned numberOfTriangles
Definition: cutoutCache.h:45