![]() |
VR-Forces 4.10 Class Documentation
|
DtWktHeaderParser parses coordinate system info from files supporting the Well Known Text standard. More...

Public Member Functions | |
| DtWktHeaderParser (const std::string &filePath) | |
| CTOR. More... | |
| virtual | ~DtWktHeaderParser () |
| DTOR. More... | |
| virtual bool | isValid () |
| Returns true if the file was loaded and produced acceptable coordinate system information and origin information. More... | |
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 Member Functions | |
| virtual bool | getWktString (std::string &wktString) |
| Returns true if the WKT string was found, the string being placed in wktString. More... | |
| virtual bool | checkLz4Medf (std::fstream &f, std::string &decompressedString) |
| check for an Lz4 Medf and get the decompressed version of the file if it is. More... | |
| virtual bool | decompressLz4 (std::istream &fin, std::string &target) |
| takes in a stream and decompresses the lz4. used for MEDF 1.2. More... | |
| virtual bool | findWktString (std::istream &f, std::string &wktString) |
| takes in a stream and finds the wkt string if it exists. More... | |
| virtual bool | getOrigin (const std::string &originLabel, double &val) |
| Returns true if the specified origin value was found, the origin value being placed in val. More... | |
| virtual bool | findOrigin (std::istream &decompressedStream, const std::string &originLabel, double &val) |
| takes in a stream and finds the origin string if it exists. More... | |
| virtual bool | parseWktString (const std::string &wktString, double xOrigin, double yOrigin) |
| Returns true if the WKT string yields an appropriate coordinate system. More... | |
| virtual bool | parseGeocentric (const OGRSpatialReference &spatialRef, double xOrigin, double yOrigin) |
| virtual bool | parseLambert (const OGRSpatialReference &spatialRef, double xOrigin, double yOrigin) |
| virtual bool | parseUtm (const OGRSpatialReference &spatialRef, double xOrigin, double yOrigin) |
| virtual bool | parseFlat (const OGRSpatialReference &spatialRef, double xOrigin, double yOrigin) |
| virtual bool | convertCoordinates (const OGRSpatialReference &spatialRef, double x, double y, double &convX, double &convY, bool inDegrees) |
| Converts a point to the latitude and longitude of the corresponding point in the coordinate system. More... | |
| virtual bool | usingDegrees (const OGRSpatialReference &spatialRef) |
| Returns true if the coordinate system parameters are specified in degrees instead of radians. More... | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtHeaderParser | |
| typedef std::list < makArchives::DtTerrainPatchRecord > | TerrainPatchRecords |
Protected Attributes inherited from makVrv::DtHeaderParser | |
| std::string | myFilePath |
| std::string | myTerrainCoordinateSystem |
| std::string | myTerrainCoordinateSystemParameters |
| TerrainPatchRecords | myTerrainPatchRecords |
DtWktHeaderParser parses coordinate system info from files supporting the Well Known Text standard.
| makVrv::DtWktHeaderParser::DtWktHeaderParser | ( | const std::string & | filePath | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Returns true if the file was loaded and produced acceptable coordinate system information and origin information.
Implements makVrv::DtHeaderParser.
|
protectedvirtual |
Returns true if the WKT string was found, the string being placed in wktString.
|
protectedvirtual |
check for an Lz4 Medf and get the decompressed version of the file if it is.
returns true if it is an Lz4 Medf.
|
protectedvirtual |
takes in a stream and decompresses the lz4. used for MEDF 1.2.
|
protectedvirtual |
takes in a stream and finds the wkt string if it exists.
|
protectedvirtual |
Returns true if the specified origin value was found, the origin value being placed in val.
|
protectedvirtual |
takes in a stream and finds the origin string if it exists.
|
protectedvirtual |
Returns true if the WKT string yields an appropriate coordinate system.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Converts a point to the latitude and longitude of the corresponding point in the coordinate system.
|
protectedvirtual |
Returns true if the coordinate system parameters are specified in degrees instead of radians.