![]() |
VR-Forces 4.2 Class Documentation
|
The SngCoordinateDisplay class provides the ability for VR-Vantage to display Swiss grid geographic coordinate system. More...

Public Member Functions | |
| SngCoordinateDisplay (const makVrv::DtCoordinateSystem &cs) | |
| CTOR. | |
| DistanceUnits | xUnitsFor (DistanceUnits unit) |
| Get the x units for this coordinate display (Meters) | |
| DistanceUnits | yUnitsFor (DistanceUnits unit) |
| Get the y units for this coordinate display (Meters) | |
| DistanceUnits | zUnitsFor (DistanceUnits unit) |
| Get the z units for this coordinate display (Meters) | |
| virtual makVrv::DtUnicode | xAxisLabel () |
| Return the label that will be used for x values in the GUI ("E ") | |
| virtual makVrv::DtUnicode | yAxisLabel () |
| Return the label that will be used for y values in the GUI ("N " ) | |
| virtual makVrv::DtUnicode | zAxisLabel () |
| Return the label that will be used for z values in the GUI ("Alt " ) | |
| virtual makVrv::DtUnicode | northSouthGridLabel (DistanceUnits unit, const DtVector &geocPos, int decimals, double gridSpacing) |
| Get the (numeric) label for a north/south grid line at geocPos. | |
| virtual makVrv::DtUnicode | eastWestGridLabel (DistanceUnits unit, const DtVector &geocPos, int decimals, double gridSpacing) |
| Get the (numeric) label for an east/west grid line at geocPos. | |
| virtual std::vector< std::string > | convertPositionToStringList (DistanceUnits unit, const DtVector &geocPos, int decimals) |
| Convert the specified geocPos to an x/y/z list of values, using the specified distance unit (m, ft, etc) and the decimal precision indicated. | |
| virtual void | convertToGeocentric (const std::string &x, const std::string &y, const std::string &z, DistanceUnits distUnits, DistanceUnits altUnits, DtVector &vector) |
| Convert a local position in x,y,z string form to geocentric coordinates, given that the x and y strings represent distUnits and the z value represents altUnits. | |
| virtual makVrv::DtUnicode | name () |
| The name of this coordinate display (which will appear in combo boxes in the GUI. | |
| virtual makVrv::DtCoordinateDisplay * | clone () const |
| Clone a copy of this coordinate display object. | |
| DtVector | convertFromGeocentric (const DtVector &geoc) const |
| Conversion function for local to geocentric conversion. | |
| DtTaitBryan | headingPitchRollFor (const DtVector &location, const DtTaitBryan &geocOri) const |
| Heading pitch and roll function. | |
| DtTaitBryan | localOrientationFor (const DtVector &location, const DtTaitBryan &geocOri) const |
| Orientation function. | |
| DtTaitBryan | orientationFor (const DtVector &location, const DtTaitBryan &geocOri, bool local) const |
| Orientation function. | |
| void | regularExpressionValidator (std::string &x, std::string &y, std::string &z) |
| Regular expression validators for coordinate input. | |
Static Public Attributes | |
| static const CoordSys | CoordSysSNG |
Static Protected Member Functions | |
| static void | convertWGS84ToSNG (const DtVector &InVector, DtVector &OutVector) |
| Convert from WGS 84 Geocentric to Swiss National Grid (SNG) | |
| static void | convertSNGToWGS84 (const DtVector &InVecPos, DtVector &OutVecPos) |
| Convert from Swiss National Grid (SNG) to WGS 84 Geocentric. | |
The SngCoordinateDisplay class provides the ability for VR-Vantage to display Swiss grid geographic coordinate system.
| SngCoordinateDisplay::SngCoordinateDisplay | ( | const makVrv::DtCoordinateSystem & | cs | ) |
CTOR.
| DistanceUnits SngCoordinateDisplay::xUnitsFor | ( | DistanceUnits | unit | ) |
Get the x units for this coordinate display (Meters)
| DistanceUnits SngCoordinateDisplay::yUnitsFor | ( | DistanceUnits | unit | ) |
Get the y units for this coordinate display (Meters)
| DistanceUnits SngCoordinateDisplay::zUnitsFor | ( | DistanceUnits | unit | ) |
Get the z units for this coordinate display (Meters)
|
virtual |
Return the label that will be used for x values in the GUI ("E ")
|
virtual |
Return the label that will be used for y values in the GUI ("N " )
|
virtual |
Return the label that will be used for z values in the GUI ("Alt " )
|
virtual |
Get the (numeric) label for a north/south grid line at geocPos.
|
virtual |
Get the (numeric) label for an east/west grid line at geocPos.
|
virtual |
Convert the specified geocPos to an x/y/z list of values, using the specified distance unit (m, ft, etc) and the decimal precision indicated.
|
virtual |
Convert a local position in x,y,z string form to geocentric coordinates, given that the x and y strings represent distUnits and the z value represents altUnits.
|
virtual |
The name of this coordinate display (which will appear in combo boxes in the GUI.
|
virtual |
Clone a copy of this coordinate display object.
Conversion function for local to geocentric conversion.
| DtTaitBryan SngCoordinateDisplay::headingPitchRollFor | ( | const DtVector & | location, |
| const DtTaitBryan & | geocOri | ||
| ) | const |
Heading pitch and roll function.
| DtTaitBryan SngCoordinateDisplay::localOrientationFor | ( | const DtVector & | location, |
| const DtTaitBryan & | geocOri | ||
| ) | const |
Orientation function.
| DtTaitBryan SngCoordinateDisplay::orientationFor | ( | const DtVector & | location, |
| const DtTaitBryan & | geocOri, | ||
| bool | local | ||
| ) | const |
Orientation function.
| void SngCoordinateDisplay::regularExpressionValidator | ( | std::string & | x, |
| std::string & | y, | ||
| std::string & | z | ||
| ) |
Regular expression validators for coordinate input.
|
staticprotected |
Convert from WGS 84 Geocentric to Swiss National Grid (SNG)
|
staticprotected |
Convert from Swiss National Grid (SNG) to WGS 84 Geocentric.
|
static |