![]() |
VR-Forces 4.0.4 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.
CTOR.
| DistanceUnits SngCoordinateDisplay::xUnitsFor | ( | DistanceUnits | unit | ) | [virtual] |
Get the x units for this coordinate display (Meters)
Implements makVrv::DtCoordinateDisplay.
| DistanceUnits SngCoordinateDisplay::yUnitsFor | ( | DistanceUnits | unit | ) | [virtual] |
Get the y units for this coordinate display (Meters)
Implements makVrv::DtCoordinateDisplay.
| DistanceUnits SngCoordinateDisplay::zUnitsFor | ( | DistanceUnits | unit | ) | [virtual] |
Get the z units for this coordinate display (Meters)
Implements makVrv::DtCoordinateDisplay.
| virtual makVrv::DtUnicode SngCoordinateDisplay::xAxisLabel | ( | ) | [virtual] |
Return the label that will be used for x values in the GUI ("E ")
Implements makVrv::DtCoordinateDisplay.
| virtual makVrv::DtUnicode SngCoordinateDisplay::yAxisLabel | ( | ) | [virtual] |
Return the label that will be used for y values in the GUI ("N " )
Implements makVrv::DtCoordinateDisplay.
| virtual makVrv::DtUnicode SngCoordinateDisplay::zAxisLabel | ( | ) | [virtual] |
Return the label that will be used for z values in the GUI ("Alt " )
Implements makVrv::DtCoordinateDisplay.
| virtual makVrv::DtUnicode SngCoordinateDisplay::northSouthGridLabel | ( | DistanceUnits | unit, |
| const DtVector & | geocPos, | ||
| int | decimals, | ||
| double | gridSpacing | ||
| ) | [virtual] |
Get the (numeric) label for a north/south grid line at geocPos.
Reimplemented from makVrv::DtCoordinateDisplay.
| virtual makVrv::DtUnicode SngCoordinateDisplay::eastWestGridLabel | ( | DistanceUnits | unit, |
| const DtVector & | geocPos, | ||
| int | decimals, | ||
| double | gridSpacing | ||
| ) | [virtual] |
Get the (numeric) label for an east/west grid line at geocPos.
Reimplemented from makVrv::DtCoordinateDisplay.
| virtual std::vector<std::string> SngCoordinateDisplay::convertPositionToStringList | ( | DistanceUnits | unit, |
| const DtVector & | geocPos, | ||
| int | decimals | ||
| ) | [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.
Implements makVrv::DtCoordinateDisplay.
| virtual void SngCoordinateDisplay::convertToGeocentric | ( | const std::string & | x, |
| const std::string & | y, | ||
| const std::string & | z, | ||
| DistanceUnits | distUnits, | ||
| DistanceUnits | altUnits, | ||
| DtVector & | vector | ||
| ) | [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.
Implements makVrv::DtCoordinateDisplay.
| virtual makVrv::DtUnicode SngCoordinateDisplay::name | ( | ) | [virtual] |
The name of this coordinate display (which will appear in combo boxes in the GUI.
Implements makVrv::DtCoordinateDisplay.
| virtual makVrv::DtCoordinateDisplay* SngCoordinateDisplay::clone | ( | ) | const [virtual] |
Clone a copy of this coordinate display object.
Implements makVrv::DtCoordinateDisplay.
| DtVector SngCoordinateDisplay::convertFromGeocentric | ( | const DtVector & | geoc | ) | const [virtual] |
Conversion function for local to geocentric conversion.
Implements makVrv::DtCoordinateDisplay.
| DtTaitBryan SngCoordinateDisplay::headingPitchRollFor | ( | const DtVector & | location, |
| const DtTaitBryan & | geocOri | ||
| ) | const [virtual] |
Heading pitch and roll function.
Implements makVrv::DtCoordinateDisplay.
| DtTaitBryan SngCoordinateDisplay::localOrientationFor | ( | const DtVector & | location, |
| const DtTaitBryan & | geocOri | ||
| ) | const [virtual] |
Orientation function.
Implements makVrv::DtCoordinateDisplay.
| 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 | ||
| ) | [virtual] |
Regular expression validators for coordinate input.
Implements makVrv::DtCoordinateDisplay.
| static void SngCoordinateDisplay::convertWGS84ToSNG | ( | const DtVector & | InVector, |
| DtVector & | OutVector | ||
| ) | [static, protected] |
Convert from WGS 84 Geocentric to Swiss National Grid (SNG)
| static void SngCoordinateDisplay::convertSNGToWGS84 | ( | const DtVector & | InVecPos, |
| DtVector & | OutVecPos | ||
| ) | [static, protected] |
Convert from Swiss National Grid (SNG) to WGS 84 Geocentric.
const CoordSys SngCoordinateDisplay::CoordSysSNG [static] |