![]() |
VR-Forces 4.3.1 Class Documentation
|
A representation of a meta-flight terrain. More...
Classes | |
| struct | StringOrInt |
Public Types | |
| typedef std::map< std::string, StringOrInt > | PatternMap |
Public Member Functions | |
| DtMetaFlightDescription () | |
| CTOR, create an empty meta flight description. | |
| ~DtMetaFlightDescription () | |
| DTOR. | |
| void | getPaths (std::vector< std::string > &paths) |
| Get any database paths to search for file contents. | |
| void | parse (DtMetaFlightParser &parser) |
| Initialize the description using a parser. | |
| unsigned int | numberOfGeometryDatasets () const |
| Get the number of geometry datasets. | |
| const std::string & | geometryDatasetName (int index) const |
| Get the geometry grid level switch in distance. | |
| const DtMetaFlightTypes::Position2D & | geometryDatasetOrigin (const std::string &dsName) const |
| Get the x coordinate extent of a geometry dataset. | |
| const DtMetaFlightTypes::Position2D & | geometryDatasetExtent (const std::string &dsName) const |
| Get the extent of a geometry dataset. | |
| const double | geometryDatasetRadius (const std::string &dsName) const |
| Get the radius of a geometry dataset. | |
| const std::string & | geometryDatasetName (const std::string &dsName) const |
| Get the geometry dataset name, the dsName may have a different name member. | |
| const std::string & | geometryDatasetTitle (const std::string &dsName) const |
| Get the geometry dataset title. | |
| const std::string & | geometryDatasetFileFormat (const std::string &dsName) const |
| Get the geometry dataset file format string. | |
| DtMetaFlightTypes::CoordSysTypeSP | geometryDatasetDataCoordinateSystem (const std::string &dsName) const |
| Get the coordinate system for the dataset data files. | |
| const std::string & | geometryDatasetFileNamePattern (const std::string &dsName) const |
| Set the geometry dataset file name pattern string. | |
| DtMetaFlightTypes::CoordSysTypeSP | geometryDatasetGridCoordinateSystem (const std::string &dsName) const |
| Get the coordinate system for the dataset's grid. | |
| const DtMetaFlightTypes::HierarchyType & | geometryDatasetGridHierarchyType (const std::string &dsName) const |
| Get the coordinate system for the dataset's grid. | |
| unsigned int | numberOfGeometryGridLevels (const std::string &dsName) const |
| Get the number of geometry levels for a dataset. | |
| const std::string & | geometryGridLevelName (const std::string &dsName, int index) const |
| Get the geometry grid level switch in distance. | |
| DtMetaFlightTypes::TileType | geometryGridLevelTileType (const std::string &dsName, int index) const |
| Get the geometry grid level tile type. | |
| unsigned int | geometryGridLevelColumns (const std::string &dsName, int index) const |
| Get the total number of columns on a grid level. | |
| unsigned int | geometryGridLevelColDivisions (const std::string &dsName, int index) const |
| Get the number of divisions on the level. | |
| unsigned int | geometryGridLevelRows (const std::string &dsName, int index) const |
| Get the total number of columns on a grid level. | |
| unsigned int | geometryGridLevelRowDivisions (const std::string &dsName, int index) const |
| Get the number of divisions on the level. | |
| double | geometryGridLevelSwitchIn (const std::string &dsName, int index) const |
| Get the geometry grid level switch in distance. | |
| double | geometryGridLevelSwitchOut (const std::string &dsName, int index) const |
| Get the geometry grid level switch out distance. | |
| void | geometryGridTileCenter (const std::string &dsName, unsigned int level, unsigned int row, unsigned int column, double ¢erX, double ¢erY, double ¢erZ) const |
| Get the geometry grid tile center position. | |
| void | geometryGridTileOffset (const std::string &dsName, unsigned int level, unsigned int row, unsigned int column, double &offsetX, double &offsetY, double &offsetZ) const |
| Get the geometry grid tile offset. | |
| std::string | generateGeometryGridTileFilename (const std::string &dsName, int index, unsigned int row, unsigned int column) |
| Generate the filename for a geometry grid tile. | |
| unsigned int | numberOfVirtualTextureDatasets () const |
| Get the number of geometry datasets. | |
| const std::string & | virtualTextureDatasetName (int index) const |
| Get the geometry grid level switch in distance. | |
| DtMetaFlightTypes::CoordSysTypeSP | virtualTextureCoordinateSystem (const std::string &dsName) const |
| Get the coordinate system for the virtual textures. | |
| DtMetaFlightTypes::Position2D | virtualTextureDatasetOrigin (const std::string &dsName) const |
| Get the extent of a geometry dataset. | |
| DtMetaFlightTypes::Position2D | virtualTextureDatasetOrigin (const std::string &dsName, const DtMetaFlightTypes::CoordSysTypeSP &system) const |
| Get the extent of a geometry dataset in a desired coordinate system. | |
| DtMetaFlightTypes::Position2D | virtualTextureDatasetExtent (const std::string &dsName) const |
| Get the extent of a geometry dataset. | |
| DtMetaFlightTypes::Position2D | virtualTextureDatasetExtent (const std::string &dsName, const DtMetaFlightTypes::CoordSysTypeSP &system) const |
| Get the extent of a geometry dataset. | |
| const std::string & | virtualTextureDatasetTitle (const std::string &dsName) const |
| Get the geometry dataset title. | |
| const std::string & | virtualTextureDatasetFileFormat (const std::string &dsName) const |
| Get the geometry dataset file format string. | |
| const std::string & | virtualTextureDatasetFileNamePattern (const std::string &dsName) const |
| Set the geometry dataset file name pattern string. | |
| unsigned int | virtualTextureDatasetTileTexels (const std::string &dsName) const |
| Get the number of texels per tile. | |
| const std::string & | virtualTextureDatasetSubstitutionTextureName (const std::string &dsName) const |
| Get the name of the substitution texture. | |
| unsigned int | numberOfVirtualTextureGridLevels (const std::string &dsName) const |
| Get the number of geometry levels for a dataset. | |
| const std::string & | virtualTextureGridLevelName (const std::string &dsName, int index) const |
| Get the geometry grid level switch in distance. | |
| unsigned int | virtualTextureGridLevelColumns (const std::string &dsName, int index) const |
| Get the total number of columns on a grid level. | |
| unsigned int | virtualTextureGridLevelColDivisions (const std::string &dsName, int index) const |
| Get the number of divisions on the level. | |
| unsigned int | virtualTextureGridLevelRows (const std::string &dsName, int index) const |
| Get the total number of columns on a grid level. | |
| unsigned int | virtualTextureGridLevelRowDivisions (const std::string &dsName, int index) const |
| Get the number of divisions on the level. | |
| std::string | generateVirtualTextureFileName (const std::string &dsName, int index, unsigned int row, unsigned int column) const |
| Generate the filename for a virtual texture filename. | |
| const std::string & | virtualTexturePath () const |
| Get the root path for the virtual textures. | |
| const DtMetaFlightTypes::Database * | database () const |
| Get the database object. | |
Static Public Member Functions | |
| static void | convertPosition (DtMetaFlightTypes::CoordSysTypeSP sourceCoordSystem, DtMetaFlightTypes::CoordSysTypeSP destCoordSystem, double ¢erX, double ¢erY, double ¢erZ) |
| Utility Function for converting a position from one coordinate system to another. | |
| static std::string | generateFileName (const std::string &filenamePattern, const PatternMap &patternMap) |
Static Protected Member Functions | |
| static void | setLonDtDegMinSecFromDegrees (DtDegMinSec &dmslon, double deg) |
| static void | setDtDegMinSecFromDegrees (DtDegMinSec &dms, double deg) |
| static void | setLatDtDegMinSecFromDegrees (DtDegMinSec &dmslat, double deg) |
Protected Attributes | |
| std::string | myFilePath |
| std::string | myVtFilePath |
| DtMetaFlightTypes::Database * | myDatabase |
A representation of a meta-flight terrain.
| typedef std::map<std::string,StringOrInt> makVrv::DtMetaFlightDescription::PatternMap |
| makVrv::DtMetaFlightDescription::DtMetaFlightDescription | ( | ) |
CTOR, create an empty meta flight description.
| makVrv::DtMetaFlightDescription::~DtMetaFlightDescription | ( | ) |
DTOR.
| void makVrv::DtMetaFlightDescription::getPaths | ( | std::vector< std::string > & | paths | ) |
Get any database paths to search for file contents.
| void makVrv::DtMetaFlightDescription::parse | ( | DtMetaFlightParser & | parser | ) |
Initialize the description using a parser.
| unsigned int makVrv::DtMetaFlightDescription::numberOfGeometryDatasets | ( | ) | const |
Get the number of geometry datasets.
| const std::string& makVrv::DtMetaFlightDescription::geometryDatasetName | ( | int | index | ) | const |
Get the geometry grid level switch in distance.
| DtInvalidInput | if the index is invalid. |
| const DtMetaFlightTypes::Position2D& makVrv::DtMetaFlightDescription::geometryDatasetOrigin | ( | const std::string & | dsName | ) | const |
Get the x coordinate extent of a geometry dataset.
| const DtMetaFlightTypes::Position2D& makVrv::DtMetaFlightDescription::geometryDatasetExtent | ( | const std::string & | dsName | ) | const |
Get the extent of a geometry dataset.
| const double makVrv::DtMetaFlightDescription::geometryDatasetRadius | ( | const std::string & | dsName | ) | const |
Get the radius of a geometry dataset.
This is the length of half the extent converted into meters.
| const std::string& makVrv::DtMetaFlightDescription::geometryDatasetName | ( | const std::string & | dsName | ) | const |
Get the geometry dataset name, the dsName may have a different name member.
| DtInvalidInput | if the dataset name is invalid. |
| const std::string& makVrv::DtMetaFlightDescription::geometryDatasetTitle | ( | const std::string & | dsName | ) | const |
Get the geometry dataset title.
| DtInvalidInput | if the dataset name is invalid. |
| const std::string& makVrv::DtMetaFlightDescription::geometryDatasetFileFormat | ( | const std::string & | dsName | ) | const |
Get the geometry dataset file format string.
| DtInvalidInput | if the dataset name is invalid. |
| DtMetaFlightTypes::CoordSysTypeSP makVrv::DtMetaFlightDescription::geometryDatasetDataCoordinateSystem | ( | const std::string & | dsName | ) | const |
Get the coordinate system for the dataset data files.
| const std::string& makVrv::DtMetaFlightDescription::geometryDatasetFileNamePattern | ( | const std::string & | dsName | ) | const |
Set the geometry dataset file name pattern string.
| DtInvalidInput | if the dataset name is invalid. |
| DtMetaFlightTypes::CoordSysTypeSP makVrv::DtMetaFlightDescription::geometryDatasetGridCoordinateSystem | ( | const std::string & | dsName | ) | const |
Get the coordinate system for the dataset's grid.
| const DtMetaFlightTypes::HierarchyType& makVrv::DtMetaFlightDescription::geometryDatasetGridHierarchyType | ( | const std::string & | dsName | ) | const |
Get the coordinate system for the dataset's grid.
| unsigned int makVrv::DtMetaFlightDescription::numberOfGeometryGridLevels | ( | const std::string & | dsName | ) | const |
Get the number of geometry levels for a dataset.
| DtInvalidInput | if the dataset name is invalid. |
| const std::string& makVrv::DtMetaFlightDescription::geometryGridLevelName | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the geometry grid level switch in distance.
| DtInvalidInput | if the dataset name or index are invalid. |
| DtMetaFlightTypes::TileType makVrv::DtMetaFlightDescription::geometryGridLevelTileType | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the geometry grid level tile type.
| DtInvalidInput | if the dataset name or index are invalid. |
| unsigned int makVrv::DtMetaFlightDescription::geometryGridLevelColumns | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the total number of columns on a grid level.
| unsigned int makVrv::DtMetaFlightDescription::geometryGridLevelColDivisions | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the number of divisions on the level.
The division the ratio of tiles on the level compared to the level before it.
| unsigned int makVrv::DtMetaFlightDescription::geometryGridLevelRows | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the total number of columns on a grid level.
| unsigned int makVrv::DtMetaFlightDescription::geometryGridLevelRowDivisions | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the number of divisions on the level.
The division the ratio of tiles on the level compared to the level before it.
| double makVrv::DtMetaFlightDescription::geometryGridLevelSwitchIn | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the geometry grid level switch in distance.
| DtInvalidInput | if the dataset name or index are invalid. |
| double makVrv::DtMetaFlightDescription::geometryGridLevelSwitchOut | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the geometry grid level switch out distance.
| DtInvalidInput | if the dataset name or index are invalid. |
| void makVrv::DtMetaFlightDescription::geometryGridTileCenter | ( | const std::string & | dsName, |
| unsigned int | level, | ||
| unsigned int | row, | ||
| unsigned int | column, | ||
| double & | centerX, | ||
| double & | centerY, | ||
| double & | centerZ | ||
| ) | const |
Get the geometry grid tile center position.
| DtInvalidInput | if the dataset name ,index row or column are invalid. |
|
static |
Utility Function for converting a position from one coordinate system to another.
| void makVrv::DtMetaFlightDescription::geometryGridTileOffset | ( | const std::string & | dsName, |
| unsigned int | level, | ||
| unsigned int | row, | ||
| unsigned int | column, | ||
| double & | offsetX, | ||
| double & | offsetY, | ||
| double & | offsetZ | ||
| ) | const |
Get the geometry grid tile offset.
| DtInvalidInput | if the dataset name ,index row or column are invalid. |
| std::string makVrv::DtMetaFlightDescription::generateGeometryGridTileFilename | ( | const std::string & | dsName, |
| int | index, | ||
| unsigned int | row, | ||
| unsigned int | column | ||
| ) |
Generate the filename for a geometry grid tile.
| DtInvalidInput | if the dataset name ,index row or column are invalid. |
| unsigned int makVrv::DtMetaFlightDescription::numberOfVirtualTextureDatasets | ( | ) | const |
Get the number of geometry datasets.
| const std::string& makVrv::DtMetaFlightDescription::virtualTextureDatasetName | ( | int | index | ) | const |
Get the geometry grid level switch in distance.
| DtInvalidInput | if the index is invalid. |
| DtMetaFlightTypes::CoordSysTypeSP makVrv::DtMetaFlightDescription::virtualTextureCoordinateSystem | ( | const std::string & | dsName | ) | const |
Get the coordinate system for the virtual textures.
| DtMetaFlightTypes::Position2D makVrv::DtMetaFlightDescription::virtualTextureDatasetOrigin | ( | const std::string & | dsName | ) | const |
Get the extent of a geometry dataset.
| DtInvalidInput | if the dataset name is invalid. |
| DtMetaFlightTypes::Position2D makVrv::DtMetaFlightDescription::virtualTextureDatasetOrigin | ( | const std::string & | dsName, |
| const DtMetaFlightTypes::CoordSysTypeSP & | system | ||
| ) | const |
Get the extent of a geometry dataset in a desired coordinate system.
| DtInvalidInput | if the dataset name is invalid. |
| DtMetaFlightTypes::Position2D makVrv::DtMetaFlightDescription::virtualTextureDatasetExtent | ( | const std::string & | dsName | ) | const |
Get the extent of a geometry dataset.
| DtInvalidInput | if the dataset name is invalid. |
| DtMetaFlightTypes::Position2D makVrv::DtMetaFlightDescription::virtualTextureDatasetExtent | ( | const std::string & | dsName, |
| const DtMetaFlightTypes::CoordSysTypeSP & | system | ||
| ) | const |
Get the extent of a geometry dataset.
| DtInvalidInput | if the dataset name is invalid. |
| const std::string& makVrv::DtMetaFlightDescription::virtualTextureDatasetTitle | ( | const std::string & | dsName | ) | const |
Get the geometry dataset title.
| DtInvalidInput | if the dataset name is invalid. |
| const std::string& makVrv::DtMetaFlightDescription::virtualTextureDatasetFileFormat | ( | const std::string & | dsName | ) | const |
Get the geometry dataset file format string.
| DtInvalidInput | if the dataset name is invalid. |
| const std::string& makVrv::DtMetaFlightDescription::virtualTextureDatasetFileNamePattern | ( | const std::string & | dsName | ) | const |
Set the geometry dataset file name pattern string.
| DtInvalidInput | if the dataset name is invalid. |
| unsigned int makVrv::DtMetaFlightDescription::virtualTextureDatasetTileTexels | ( | const std::string & | dsName | ) | const |
Get the number of texels per tile.
| DtInvalidInput | if the dataset name is invalid. |
| const std::string& makVrv::DtMetaFlightDescription::virtualTextureDatasetSubstitutionTextureName | ( | const std::string & | dsName | ) | const |
Get the name of the substitution texture.
| DtInvalidInput | if the dataset name is invalid. |
| unsigned int makVrv::DtMetaFlightDescription::numberOfVirtualTextureGridLevels | ( | const std::string & | dsName | ) | const |
Get the number of geometry levels for a dataset.
| DtInvalidInput | if the dataset name is invalid. |
| const std::string& makVrv::DtMetaFlightDescription::virtualTextureGridLevelName | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the geometry grid level switch in distance.
| DtInvalidInput | if the dataset name or index are invalid. |
| unsigned int makVrv::DtMetaFlightDescription::virtualTextureGridLevelColumns | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the total number of columns on a grid level.
| unsigned int makVrv::DtMetaFlightDescription::virtualTextureGridLevelColDivisions | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the number of divisions on the level.
The division the ratio of tiles on the level compared to the level before it.
| unsigned int makVrv::DtMetaFlightDescription::virtualTextureGridLevelRows | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the total number of columns on a grid level.
| unsigned int makVrv::DtMetaFlightDescription::virtualTextureGridLevelRowDivisions | ( | const std::string & | dsName, |
| int | index | ||
| ) | const |
Get the number of divisions on the level.
The division the ratio of tiles on the level compared to the level before it.
| std::string makVrv::DtMetaFlightDescription::generateVirtualTextureFileName | ( | const std::string & | dsName, |
| int | index, | ||
| unsigned int | row, | ||
| unsigned int | column | ||
| ) | const |
Generate the filename for a virtual texture filename.
| DtInvalidInput | if the dataset name ,index row or column are invalid. |
| const std::string& makVrv::DtMetaFlightDescription::virtualTexturePath | ( | ) | const |
Get the root path for the virtual textures.
|
inline |
Get the database object.
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |