VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Static Protected Member Functions | Static Protected Attributes
makVrv::DtGeoTiffHeaderParser Class Reference

DtGeoTiffHeaderParser parses geo tiff files for their extents. More...

Inheritance diagram for makVrv::DtGeoTiffHeaderParser:
Inheritance graph
[legend]

Public Member Functions

 DtGeoTiffHeaderParser (DtDe &de, const std::string &filePath)
 CTOR.
virtual ~DtGeoTiffHeaderParser ()
 DTOR.
virtual bool isValid ()
 Returns true if the file was loaded and the extent can be discovered.
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.
- Public Member Functions inherited from makVrv::DtImageHeaderParser
 DtImageHeaderParser (DtDe &de, const std::string &filePath)
 CTOR.
virtual ~DtImageHeaderParser ()
 DTOR.
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.
const std::string & terrainPatch () const
- Public Member Functions inherited from makVrv::DtHeaderParser
 DtHeaderParser (const std::string &filePath)
 CTOR.
virtual ~DtHeaderParser ()
 DTOR.
virtual const std::string & terrainCoordinateSystem ()
 Returns the terrain coordinate system parameter for use in creation of a model definition.
virtual const std::string & terrainCoordinateSystemParameters ()
 Returns the terrain Coordinate System Parameters for use in creation of a model definition.
virtual const std::string & filePath ()
 Returns myFilePath.
const TerrainPatchRecordsterrainPatchRecords () const
 TerrainPatchRecords accessor.

Protected Types

typedef const char *(* CSVFileCallbackFP )(const char *)

Static Protected Member Functions

static const charcsvFileCallback (const char *)
 Custom callback for geotiff to load csv files from our own directory.

Static Protected Attributes

static std::string theCsvFilePath
 Path to csv directory; needs to be set according to the de's appdata.

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.
- Protected Attributes inherited from makVrv::DtImageHeaderParser
DtDemyDe
std::string myTerrainPatch

Detailed Description

DtGeoTiffHeaderParser parses geo tiff files for their extents.

Member Typedef Documentation

typedef const char*(* makVrv::DtGeoTiffHeaderParser::CSVFileCallbackFP)(const char *)
protected

Constructor & Destructor Documentation

makVrv::DtGeoTiffHeaderParser::DtGeoTiffHeaderParser ( DtDe de,
const std::string &  filePath 
)

CTOR.

virtual makVrv::DtGeoTiffHeaderParser::~DtGeoTiffHeaderParser ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtGeoTiffHeaderParser::isValid ( )
virtual

Returns true if the file was loaded and the extent can be discovered.

Reimplemented from makVrv::DtImageHeaderParser.

virtual bool makVrv::DtGeoTiffHeaderParser::geotiffExtent ( const char filename,
double *  sw_x,
double *  sw_y,
double *  ne_x,
double *  ne_y 
)
virtual

Returns corners of geotiff (in radians) of supplied geotiff file.

static const char* makVrv::DtGeoTiffHeaderParser::csvFileCallback ( const char )
staticprotected

Custom callback for geotiff to load csv files from our own directory.

Member Data Documentation

std::string makVrv::DtGeoTiffHeaderParser::theCsvFilePath
staticprotected

Path to csv directory; needs to be set according to the de's appdata.


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)