DtImageHeaderParser parses image files for their extents.
More...
Static Public Member Functions |
| 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 |
| void | addTerrainPatchRecord (const std::string &filename) |
| | Helper function that turns a filename into a DtTerrainPatchRecord.
|
Additional Inherited Members |
Detailed Description
DtImageHeaderParser parses image files for their extents.
By default, returns the extent of the terrain
Constructor & Destructor Documentation
| makVrv::DtImageHeaderParser::DtImageHeaderParser |
( |
DtDe & |
de, |
|
|
const std::string & |
filePath |
|
) |
| |
| virtual makVrv::DtImageHeaderParser::~DtImageHeaderParser |
( |
| ) |
|
|
virtual |
Member Function Documentation
| void makVrv::DtImageHeaderParser::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& makVrv::DtImageHeaderParser::terrainPatch |
( |
| ) |
const |
| virtual bool makVrv::DtImageHeaderParser::isValid |
( |
| ) |
|
|
virtual |
| void makVrv::DtImageHeaderParser::addTerrainPatchRecord |
( |
const std::string & |
filename | ) |
|
|
protected |
Helper function that turns a filename into a DtTerrainPatchRecord.
The coordinate system parameters will be a string of type <sw>:<ne> corners where the corners are comma delimeted items of x, y, z. After the parameters will be the drape mode (0 = DECAL, 1 = MODULATE) and the clamp mode (0 = REPEAT, 1 = CLAMP). Call parseInformation to get all the encoded information
Member Data Documentation
| DtDe& makVrv::DtImageHeaderParser::myDe |
|
protected |
| std::string makVrv::DtImageHeaderParser::myTerrainPatch |
|
protected |
The documentation for this class was generated from the following file: