12 #include <osgEarth/TileSource>
13 #include <osgEarth/ImageMosaic>
18 #include <Cee_CdbDB.h>
20 namespace makVrv {
namespace oe {
namespace CDB
22 using namespace osgEarth;
24 class DtCDBBaseMaterialTable;
35 virtual osg::Image* createImage(
bool isRasterMaterial);
50 Status initialize(
const osgDB::Options* dbOptions);
56 osg::HeightField* createHeightField(
const TileKey& key,
ProgressCallback* progress);
66 void processCDBImageryTileSource(
const TileKey& key,
const std::string& CdbTile,
const int st,
const TileKey& cdbKey,
const std::vector<TileKey>::iterator& k,
CdbImageMosaic& mosaic,
bool& foundAtLeastOneRealTile,
bool& addedImage);
69 void processCDBRasterMaterialTileSource(
const TileKey& key,
const std::string& CdbTile,
const std::string& CdbMaterialDescriptorTile,
const int st,
const TileKey& cdbKey,
const std::vector<TileKey>::iterator& k,
CdbImageMosaic& mosaic,
bool& foundAtLeastOneRealTile,
bool& addedImage);
72 ReadResult readImage(
const std::string& cdbfile);
75 osg::ref_ptr<osg::HeightField> readElevation(
const std::string& cdbfile);
78 bool convertToSplat(
osg::Image* rasterImage,
const std::string& CdbMaterialDescriptorTile);