![]() |
VR-Forces 4.10 Class Documentation
|
DtGeoTiffHeaderParser parses geo tiff files for their extents. More...

Public Member Functions | |
| DtGeoTiffHeaderParser (DtDe &de, const std::string &filePath) | |
| CTOR. More... | |
| virtual | ~DtGeoTiffHeaderParser () |
| DTOR. More... | |
| virtual bool | isValid () |
| Returns true if the file was loaded and the extent can be discovered. More... | |
| virtual bool | geotiffExtent (const char *filename, double *sw_x, double *sw_y, double *ne_x, double *ne_y) |
| Returns corners of geotiff (in radians) of supplied geotiff file. More... | |
Public Member Functions inherited from makVrv::DtImageHeaderParser | |
| DtImageHeaderParser (DtDe &de, const std::string &filePath) | |
| CTOR. More... | |
| virtual | ~DtImageHeaderParser () |
| DTOR. More... | |
| void | setTerrainPatch (const std::string &patch) |
| Need to set before calling isValid as the image needs to know the patch it is going to be placed on before it can be placed. More... | |
| const std::string & | terrainPatch () const |
Public Member Functions inherited from makVrv::DtHeaderParser | |
| DtHeaderParser (const std::string &filePath) | |
| CTOR. More... | |
| virtual | ~DtHeaderParser () |
| DTOR. More... | |
| virtual const std::string & | terrainCoordinateSystem () |
| Returns the terrain coordinate system parameter for use in creation of a model definition. More... | |
| virtual const std::string & | terrainCoordinateSystemParameters () |
| Returns the terrain Coordinate System Parameters for use in creation of a model definition. More... | |
| virtual const std::string & | filePath () |
| Returns myFilePath. More... | |
| const TerrainPatchRecords & | terrainPatchRecords () const |
| TerrainPatchRecords const accessor. More... | |
| TerrainPatchRecords & | terrainPatchRecords () |
| TerrainPatchRecords accessor. More... | |
Protected Types | |
| typedef const char *(* | CSVFileCallbackFP )(const char *) |
Static Protected Member Functions | |
| static const char * | csvFileCallback (const char *) |
| Custom callback for geotiff to load csv files from our own directory. More... | |
Static Protected Attributes | |
| static std::string | theCsvFilePath |
| Path to csv directory; needs to be set according to the de's appdata. More... | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtHeaderParser | |
| typedef std::list < makArchives::DtTerrainPatchRecord > | TerrainPatchRecords |
Static Public Member Functions inherited from makVrv::DtImageHeaderParser | |
| static void | convertCorner (char *token, double &x, double &y, double &z) |
| static void | parseInformation (const std::string &info, double &sw_x, double &sw_y, double &sw_z, double &ne_x, double &ne_y, double &ne_z, int &blendMode, int &wrapMode) |
Protected Member Functions inherited from makVrv::DtImageHeaderParser | |
| void | addTerrainPatchRecord (const std::string &filename) |
| Helper function that turns a filename into a DtTerrainPatchRecord. More... | |
Protected Attributes inherited from makVrv::DtImageHeaderParser | |
| DtDe & | myDe |
| std::string | myTerrainPatch |
Protected Attributes inherited from makVrv::DtHeaderParser | |
| std::string | myFilePath |
| std::string | myTerrainCoordinateSystem |
| std::string | myTerrainCoordinateSystemParameters |
| TerrainPatchRecords | myTerrainPatchRecords |
DtGeoTiffHeaderParser parses geo tiff files for their extents.
| makVrv::DtGeoTiffHeaderParser::DtGeoTiffHeaderParser | ( | DtDe & | de, |
| const std::string & | filePath | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Returns true if the file was loaded and the extent can be discovered.
Reimplemented from makVrv::DtImageHeaderParser.
|
virtual |
Returns corners of geotiff (in radians) of supplied geotiff file.
Custom callback for geotiff to load csv files from our own directory.
|
staticprotected |
Path to csv directory; needs to be set according to the de's appdata.