![]() |
VR-Forces 4.1.1 Class Documentation
|
Utility class for doing global unit conversion. More...
Public Member Functions | |
| DtDisplayUnitsConverter (const DtCoordinateSystem &cs, DtSharedSettingsManager &sm) | |
| DtCoordinateDisplay * | currentCoordinateDisplay () |
| Get the current coordinate display. | |
| const DtCoordinateDisplay * | currentCoordinateDisplay () const |
| Get the current coordinate display. | |
Current Unit Accessors | |
| CoordSys | currentCoordinateDisplaySystem () const |
| DistanceUnits | currentDistanceUnits () const |
| DistanceUnits | currentAltitudeUnits () const |
| VelocityUnits | currentVelocityUnits () const |
| OrientationUnits | currentOrientationUnits () const |
| AccelerationUnits | currentAccelerationUnits () const |
| RotVelocityUnits | currentRotationalVelocityUnits () const |
| int | currentCoordinateSystemDecimals () const |
| int | currentDistanceUnitDecimals () const |
| int | currentAltitudeUnitDecimals () const |
| int | currentVelocityUnitDecimals () const |
| int | currentOrientationUnitDecimals () const |
| int | currentAccelerationUnitDecimals () const |
| int | currentRotationalVelocityUnitDecimals () const |
| DtUnicode | currentDistanceUnitNotation () const |
| DtUnicode | currentAltitudeUnitNotation () const |
| DtUnicode | currentVelocityUnitNotation () const |
| DtUnicode | currentOrientationUnitNotation () const |
| DtUnicode | currentAccelerationUnitNotation () const |
| DtUnicode | currentRotationalVelocityUnitNotation () const |
Unit Accessors | |
| int | coordinateSystemDecimals (CoordSys cs) const |
| int | distanceUnitDecimals (DistanceUnits distUnit) const |
| int | altitudeUnitDecimals (DistanceUnits altUnit) const |
| int | velocityUnitDecimals (VelocityUnits velocityUnit) const |
| int | orientationUnitDecimals (OrientationUnits oriUnit) const |
| int | accelerationUnitDecimals (AccelerationUnits accelUnit) const |
| int | rotationalVelocityUnitDecimals (RotVelocityUnits wUnit) const |
| DtUnicode | coordinateSystemNotation (CoordSys cs) const |
| DtUnicode | distanceUnitNotation (DistanceUnits distUnit) const |
| DtUnicode | altitudeUnitNotation (DistanceUnits altUnit) const |
| DtUnicode | velocityUnitNotation (VelocityUnits velocityUnit) const |
| DtUnicode | orientationUnitNotation (OrientationUnits oriUnit) const |
| DtUnicode | accelerationUnitNotation (AccelerationUnits accelUnit) const |
| DtUnicode | rotationalVelocityUnitNotation (RotVelocityUnits wUnit) const |
Complex Accessors | |
| void | coordinateSystemLabels (DtUnicode &x, DtUnicode &y, DtUnicode &z) |
| Gets the coordinate system labels for the current coordinate system. | |
| void | coordinateSystemLabels (CoordSys coordSystem, DtUnicode &x, DtUnicode &y, DtUnicode &z) |
| Gets the coordinate system labels for the given coordinate system. | |
| void | regularExpressionValidators (std::string &x, std::string &y, std::string &z) |
| Gets the regex validators for the current coordinate system. | |
| void | regularExpressionValidators (CoordSys cs, std::string &x, std::string &y, std::string &z) |
| Gets the regex validators for the given coordinate system. | |
| std::vector< std::string > | convertPositionToStringList (CoordSys coordSys, const DtVector &pos) |
| Converts the given position to list of strings in the given units and decimals. | |
| std::vector< std::string > | convertPositionToStringList (const DtVector &pos) const |
| Converts the given position to list of strings in the given units and decimals. | |
Angle Converting: Non-spacial unit type. | |
| double | convertAngleUnitNativeToDisplay (double angle) const |
| Converts the angle to the current orientation units. | |
| double | convertAngleUnitDisplayToNative (double angle) const |
| Converts the angle from the current units to radians. | |
| std::string | convertAngleUnitNativeToDisplayString (double angle) const |
| Converts the angle to the current orientation units. | |
Distance Converters: Spacial unit type. | |
| double | convertDistanceUnitNativeToDisplay (double distance) const |
| Converts the distance to the current distance units. | |
| double | convertDistanceUnitDisplayToNative (double distance) const |
| Converts the distance from the current units to meters. | |
| std::string | convertDistanceUnitNativeToDisplayString (double dist) const |
| Converts the distance to the current distance units. | |
Altitude Converters: Spacial unit type. | |
} | |
| double | convertAltitudeUnitNativeToDisplay (double altitude) const |
| Converts the altitude to the current altitude units. | |
| double | convertAltitudeUnitDisplayToNative (double altitude) const |
| Converts the altitude from the current units to meters. | |
| std::string | convertAltitudeUnitNativeToDisplayString (double altitude) const |
| Converts the altitude to the current altitude units. | |
Velocity Converters: Spacial unit type. | |
| DtVector | convertVelocityUnitNativeToDisplay (const DtVector &vel) const |
| Converts the altitude to the current altitude units. | |
| std::string | convertVelocityUnitNativeToDisplayString (const DtVector &vel) const |
| Converts the velocity to the current display units. | |
| DtVector | convertVelocityUnitDisplayToNative (const DtVector &vel) const |
| Converts the velocity from the current velocity units to the native units. | |
| DtVector | convertVelocitySystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtVector &geocVel) const |
| Converts the geocentric velocity to the current display coordinate system and the current display units. | |
| std::string | convertVelocitySystemAndUnitGeocentricToDisplayString (const DtVector &geocLoc, const DtVector &geocVel) const |
| Converts the geocentric velocity to the current display coordinate system and the current display units. | |
Acceleration Converters: Spacial unit type. | |
| DtVector | convertAccelerationUnitNativeToDisplay (const DtVector &accel) const |
| Converts the acceleration to the current acceleration units. | |
| std::string | convertAccelerationUnitNativeToDisplayString (const DtVector &accel) const |
| Converts the acceleration to the current acceleration units. | |
| DtVector | convertAccelerationUnitDisplayToNative (const DtVector &accel) const |
| Converts the acceleration from the current acceleration units to the native units. | |
| DtVector | convertAccelerationSystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtVector &accel) const |
| Converts the acceleration to the current acceleration units. | |
| std::string | convertAccelerationSystemAndUnitGeocentricToDisplayString (const DtVector &geocLoc, const DtVector &accel) const |
| Converts the acceleration to the current acceleration units. | |
Orientation Converters: Spacial unit type. | |
| DtTaitBryan | convertOrientationUnitNativeToDisplay (const DtTaitBryan &ori) const |
| Converts the orientation to the current orientation units. | |
| std::vector< std::string > | convertOrientationUnitNativeToDisplayStrings (const DtTaitBryan &ori) const |
| Converts the orientation to the current orientation units. | |
| DtTaitBryan | convertOrientationUnitDisplayToNative (const DtTaitBryan &ori) const |
| Converts the orientation from the current units to radians. | |
Rotational Velocity Converters: Spacial unit type. | |
| DtVector | convertRotationalVelocityUnitNativeToDisplay (const DtVector &rotVel) const |
| Converts the rotational velocity to the rotVel units. | |
| std::string | convertRotationalVelocityUnitNativeToDisplayString (const DtVector &rotVel) const |
| Converts the rotational velocity to the rotVel units. | |
| DtVector | convertRotationalVelocityUnitDisplayToNative (const DtVector &rotVel) const |
| Converts the rotational velocity to the rotVel units. | |
| DtVector | convertRotationalVelocitySystemAndUnitGeocentricToDisplay (const DtVector &rotVel) const |
| Converts the rotational velocity to the rotVel units. | |
| std::string | convertRotationalVelocitySystemAndUnitGeocentricToDisplayString (const DtVector &rotVel) const |
| Converts the rotational velocity to the rotVel units. | |
Speed Converters: Spacial-Derived unit type. | |
| double | convertSpeedUnitNativeToDisplay (const DtVector &velocity) const |
| Converts the speed to the current velocity units. | |
| double | convertSpeedUnitNativeToDisplay (double speed) const |
| Converts the speed to the current velocity units. | |
| std::string | convertSpeedUnitNativeToDisplayString (const DtVector &velocity) const |
| Converts the speed to the current velocity units. | |
| std::string | convertSpeedUnitNativeToDisplayString (double speed) const |
| Converts the speed to the current velocity units. | |
| double | convertSpeedUnitDisplayToNative (double speed) const |
| Converts the speed to the current velocity units. | |
| double | convertSpeedSystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtVector &velocity) const |
| Converts the speed to the current velocity units. | |
| std::string | convertSpeedSystemAndUnitGeocentricToDisplayString (const DtVector &geocLoc, const DtVector &velocity) const |
| Converts the speed to the current velocity units. | |
Acceleration Magnitude Converters: Spacial-Derived unit type. | |
| double | convertAccelerationMagnitudeUnitNativeToDisplay (const DtVector &accel) const |
| Converts the acceleration magnitude to the current acceleration units. | |
| double | convertAccelerationMagnitudeUnitNativeToDisplay (double accel) const |
| Converts the acceleration magnitude to the current acceleration units. | |
| std::string | convertAccelerationMagnitudeUnitNativeToDisplayString (const DtVector &accel) const |
| Converts the acceleration to the current acceleration units. | |
| std::string | convertAccelerationMagnitudeUnitNativeToDisplayString (double accel) const |
| Converts the acceleration to the current acceleration units. | |
| double | convertAccelerationMagnitudeUnitDisplayToNative (double acc) const |
| Converts the acceleration from the current units to m/s^2. | |
| double | convertAccelerationMagnitudeSystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtVector &accel) const |
| Converts the acceleration magnitude to the current acceleration units. | |
| std::string | convertAccelerationMagnitudeSystemAndUnitGeocentricToDisplayString (const DtVector &geocLoc, const DtVector &accel) const |
| Converts the acceleration magnitude to the current acceleration units. | |
Heading/Pitch/Roll conversions: Spacial-Derived unit type. | |
| DtTaitBryan | convertHeadingPitchRollSystemAndUnitGeocentricToDisplay (const DtVector &geocLoc, const DtTaitBryan &geocOri) const |
| Converts the orientation to HPR in the current orientation units. | |
| std::vector< std::string > | convertHeadingPitchRollSystemAndUnitGeocentricToDisplayStrings (const DtVector &geocLoc, const DtTaitBryan &geocOri) const |
| Converts the orientation to HPR strings. | |
Static Protected Member Functions | |
| static std::string | valueToText (double value, int decimals) |
| Returns the given double value as a string with the given decimal count. | |
| static std::string | valuesToText (const DtVector &localVelocity, int decimals) |
| Returns the given vector value as a string with the given decimal count. | |
Protected Attributes | |
| const DtCoordinateSystem & | myCoordinateSystem |
| DtSharedSettingsManager & | mySharedSettingsManager |
Utility class for doing global unit conversion.
All conversions functions use the following naming conventions: convert{A}{B}{C}to{D}(); or convert{A}{B}{C}to{D}String(); Where {A} is the type of Unit Where {B} is the type of Conversion, for example Unit Where {C} is the Input conversion system, for example Native Where {D} is the Output conversion system, for example Display
Example: convertVelocityUnitNativeToDisplay() will take a velocity in Native units and convert it to a velocity in display units.
Unit types: Velocity, Acceleration, AccelerationMagnitude, Speed, Orientation, Distance, Altitude, Angle, HeadingPitchRoll, RotationalVelocity
Terms:
SystemAndUnit: The function will do both coordinate system and unit conversion.
Unit The function will only do unit conversion.
Native: Refers to VR-Vantage's native units. VR-Vantage's native units are Meters, Radians, Meter/Second, Meters/Second/Second the local coordinate system and all internal values are in native units.
Display: Refers to VR-Vantage's current Display units and current Display coordinate system.
Geocentric: Refers to values in the geocentric coordinate system. ALl units will be assumed to be native.
| typedef makArchives::DtDisplayUnitsSettingsRecord::CoordSys makVrv::DtDisplayUnitsConverter::CoordSys |
| typedef makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits makVrv::DtDisplayUnitsConverter::DistanceUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::VelocityUnits makVrv::DtDisplayUnitsConverter::VelocityUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::AccelerationUnits makVrv::DtDisplayUnitsConverter::AccelerationUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits makVrv::DtDisplayUnitsConverter::OrientationUnits |
| typedef makArchives::DtDisplayUnitsSettingsRecord::RotVelocityUnits makVrv::DtDisplayUnitsConverter::RotVelocityUnits |
| makVrv::DtDisplayUnitsConverter::DtDisplayUnitsConverter | ( | const DtCoordinateSystem & | cs, |
| DtSharedSettingsManager & | sm | ||
| ) |
| DtCoordinateDisplay* makVrv::DtDisplayUnitsConverter::currentCoordinateDisplay | ( | ) |
Get the current coordinate display.
| const DtCoordinateDisplay* makVrv::DtDisplayUnitsConverter::currentCoordinateDisplay | ( | ) | const |
Get the current coordinate display.
| CoordSys makVrv::DtDisplayUnitsConverter::currentCoordinateDisplaySystem | ( | ) | const |
| DistanceUnits makVrv::DtDisplayUnitsConverter::currentDistanceUnits | ( | ) | const |
| DistanceUnits makVrv::DtDisplayUnitsConverter::currentAltitudeUnits | ( | ) | const |
| VelocityUnits makVrv::DtDisplayUnitsConverter::currentVelocityUnits | ( | ) | const |
| OrientationUnits makVrv::DtDisplayUnitsConverter::currentOrientationUnits | ( | ) | const |
| AccelerationUnits makVrv::DtDisplayUnitsConverter::currentAccelerationUnits | ( | ) | const |
| RotVelocityUnits makVrv::DtDisplayUnitsConverter::currentRotationalVelocityUnits | ( | ) | const |
| int makVrv::DtDisplayUnitsConverter::currentCoordinateSystemDecimals | ( | ) | const |
| int makVrv::DtDisplayUnitsConverter::currentDistanceUnitDecimals | ( | ) | const |
| int makVrv::DtDisplayUnitsConverter::currentAltitudeUnitDecimals | ( | ) | const |
| int makVrv::DtDisplayUnitsConverter::currentVelocityUnitDecimals | ( | ) | const |
| int makVrv::DtDisplayUnitsConverter::currentOrientationUnitDecimals | ( | ) | const |
| int makVrv::DtDisplayUnitsConverter::currentAccelerationUnitDecimals | ( | ) | const |
| int makVrv::DtDisplayUnitsConverter::currentRotationalVelocityUnitDecimals | ( | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::currentDistanceUnitNotation | ( | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::currentAltitudeUnitNotation | ( | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::currentVelocityUnitNotation | ( | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::currentOrientationUnitNotation | ( | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::currentAccelerationUnitNotation | ( | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::currentRotationalVelocityUnitNotation | ( | ) | const |
| int makVrv::DtDisplayUnitsConverter::coordinateSystemDecimals | ( | CoordSys | cs | ) | const |
| int makVrv::DtDisplayUnitsConverter::distanceUnitDecimals | ( | DistanceUnits | distUnit | ) | const |
| int makVrv::DtDisplayUnitsConverter::altitudeUnitDecimals | ( | DistanceUnits | altUnit | ) | const |
| int makVrv::DtDisplayUnitsConverter::velocityUnitDecimals | ( | VelocityUnits | velocityUnit | ) | const |
| int makVrv::DtDisplayUnitsConverter::orientationUnitDecimals | ( | OrientationUnits | oriUnit | ) | const |
| int makVrv::DtDisplayUnitsConverter::accelerationUnitDecimals | ( | AccelerationUnits | accelUnit | ) | const |
| int makVrv::DtDisplayUnitsConverter::rotationalVelocityUnitDecimals | ( | RotVelocityUnits | wUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::distanceUnitNotation | ( | DistanceUnits | distUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::altitudeUnitNotation | ( | DistanceUnits | altUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::velocityUnitNotation | ( | VelocityUnits | velocityUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::orientationUnitNotation | ( | OrientationUnits | oriUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::accelerationUnitNotation | ( | AccelerationUnits | accelUnit | ) | const |
| DtUnicode makVrv::DtDisplayUnitsConverter::rotationalVelocityUnitNotation | ( | RotVelocityUnits | wUnit | ) | const |
| void makVrv::DtDisplayUnitsConverter::coordinateSystemLabels | ( | DtUnicode & | x, |
| DtUnicode & | y, | ||
| DtUnicode & | z | ||
| ) |
Gets the coordinate system labels for the current coordinate system.
| void makVrv::DtDisplayUnitsConverter::coordinateSystemLabels | ( | CoordSys | coordSystem, |
| DtUnicode & | x, | ||
| DtUnicode & | y, | ||
| DtUnicode & | z | ||
| ) |
Gets the coordinate system labels for the given coordinate system.
| void makVrv::DtDisplayUnitsConverter::regularExpressionValidators | ( | std::string & | x, |
| std::string & | y, | ||
| std::string & | z | ||
| ) |
Gets the regex validators for the current coordinate system.
| void makVrv::DtDisplayUnitsConverter::regularExpressionValidators | ( | CoordSys | cs, |
| std::string & | x, | ||
| std::string & | y, | ||
| std::string & | z | ||
| ) |
Gets the regex validators for the given coordinate system.
| std::vector<std::string> makVrv::DtDisplayUnitsConverter::convertPositionToStringList | ( | CoordSys | coordSys, |
| const DtVector & | pos | ||
| ) |
Converts the given position to list of strings in the given units and decimals.
Performs the conversion for the given coordinate system (coordSys)
| std::vector<std::string> makVrv::DtDisplayUnitsConverter::convertPositionToStringList | ( | const DtVector & | pos | ) | const |
Converts the given position to list of strings in the given units and decimals.
Performs the conversion for the current coordinate system.
| double makVrv::DtDisplayUnitsConverter::convertAngleUnitNativeToDisplay | ( | double | angle | ) | const |
Converts the angle to the current orientation units.
| double makVrv::DtDisplayUnitsConverter::convertAngleUnitDisplayToNative | ( | double | angle | ) | const |
Converts the angle from the current units to radians.
| std::string makVrv::DtDisplayUnitsConverter::convertAngleUnitNativeToDisplayString | ( | double | angle | ) | const |
Converts the angle to the current orientation units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertDistanceUnitNativeToDisplay | ( | double | distance | ) | const |
Converts the distance to the current distance units.
| double makVrv::DtDisplayUnitsConverter::convertDistanceUnitDisplayToNative | ( | double | distance | ) | const |
Converts the distance from the current units to meters.
| std::string makVrv::DtDisplayUnitsConverter::convertDistanceUnitNativeToDisplayString | ( | double | dist | ) | const |
Converts the distance to the current distance units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertAltitudeUnitNativeToDisplay | ( | double | altitude | ) | const |
Converts the altitude to the current altitude units.
| double makVrv::DtDisplayUnitsConverter::convertAltitudeUnitDisplayToNative | ( | double | altitude | ) | const |
Converts the altitude from the current units to meters.
| std::string makVrv::DtDisplayUnitsConverter::convertAltitudeUnitNativeToDisplayString | ( | double | altitude | ) | const |
Converts the altitude to the current altitude units.
Formats the converted value as a string with the correct precision.
| DtVector makVrv::DtDisplayUnitsConverter::convertVelocityUnitNativeToDisplay | ( | const DtVector & | vel | ) | const |
Converts the altitude to the current altitude units.
| std::string makVrv::DtDisplayUnitsConverter::convertVelocityUnitNativeToDisplayString | ( | const DtVector & | vel | ) | const |
Converts the velocity to the current display units.
Formats the converted value as a string with the correct precision.
| DtVector makVrv::DtDisplayUnitsConverter::convertVelocityUnitDisplayToNative | ( | const DtVector & | vel | ) | const |
Converts the velocity from the current velocity units to the native units.
| DtVector makVrv::DtDisplayUnitsConverter::convertVelocitySystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtVector & | geocVel | ||
| ) | const |
Converts the geocentric velocity to the current display coordinate system and the current display units.
| std::string makVrv::DtDisplayUnitsConverter::convertVelocitySystemAndUnitGeocentricToDisplayString | ( | const DtVector & | geocLoc, |
| const DtVector & | geocVel | ||
| ) | const |
Converts the geocentric velocity to the current display coordinate system and the current display units.
Formats the converted value as a string with the correct precision.
| DtVector makVrv::DtDisplayUnitsConverter::convertAccelerationUnitNativeToDisplay | ( | const DtVector & | accel | ) | const |
Converts the acceleration to the current acceleration units.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationUnitNativeToDisplayString | ( | const DtVector & | accel | ) | const |
Converts the acceleration to the current acceleration units.
Formats the converted value as a string with the correct precision.
| DtVector makVrv::DtDisplayUnitsConverter::convertAccelerationUnitDisplayToNative | ( | const DtVector & | accel | ) | const |
Converts the acceleration from the current acceleration units to the native units.
| DtVector makVrv::DtDisplayUnitsConverter::convertAccelerationSystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtVector & | accel | ||
| ) | const |
Converts the acceleration to the current acceleration units.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationSystemAndUnitGeocentricToDisplayString | ( | const DtVector & | geocLoc, |
| const DtVector & | accel | ||
| ) | const |
Converts the acceleration to the current acceleration units.
Formats the converted value as a string with the correct precision.
| DtTaitBryan makVrv::DtDisplayUnitsConverter::convertOrientationUnitNativeToDisplay | ( | const DtTaitBryan & | ori | ) | const |
Converts the orientation to the current orientation units.
| std::vector<std::string> makVrv::DtDisplayUnitsConverter::convertOrientationUnitNativeToDisplayStrings | ( | const DtTaitBryan & | ori | ) | const |
Converts the orientation to the current orientation units.
Formats the converted value as a string with the correct precision.
| DtTaitBryan makVrv::DtDisplayUnitsConverter::convertOrientationUnitDisplayToNative | ( | const DtTaitBryan & | ori | ) | const |
Converts the orientation from the current units to radians.
| DtVector makVrv::DtDisplayUnitsConverter::convertRotationalVelocityUnitNativeToDisplay | ( | const DtVector & | rotVel | ) | const |
Converts the rotational velocity to the rotVel units.
| std::string makVrv::DtDisplayUnitsConverter::convertRotationalVelocityUnitNativeToDisplayString | ( | const DtVector & | rotVel | ) | const |
Converts the rotational velocity to the rotVel units.
| DtVector makVrv::DtDisplayUnitsConverter::convertRotationalVelocityUnitDisplayToNative | ( | const DtVector & | rotVel | ) | const |
Converts the rotational velocity to the rotVel units.
| DtVector makVrv::DtDisplayUnitsConverter::convertRotationalVelocitySystemAndUnitGeocentricToDisplay | ( | const DtVector & | rotVel | ) | const |
Converts the rotational velocity to the rotVel units.
| std::string makVrv::DtDisplayUnitsConverter::convertRotationalVelocitySystemAndUnitGeocentricToDisplayString | ( | const DtVector & | rotVel | ) | const |
Converts the rotational velocity to the rotVel units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertSpeedUnitNativeToDisplay | ( | const DtVector & | velocity | ) | const |
Converts the speed to the current velocity units.
| double makVrv::DtDisplayUnitsConverter::convertSpeedUnitNativeToDisplay | ( | double | speed | ) | const |
Converts the speed to the current velocity units.
| std::string makVrv::DtDisplayUnitsConverter::convertSpeedUnitNativeToDisplayString | ( | const DtVector & | velocity | ) | const |
Converts the speed to the current velocity units.
Formats the converted value as a string with the correct precision.
| std::string makVrv::DtDisplayUnitsConverter::convertSpeedUnitNativeToDisplayString | ( | double | speed | ) | const |
Converts the speed to the current velocity units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertSpeedUnitDisplayToNative | ( | double | speed | ) | const |
Converts the speed to the current velocity units.
| double makVrv::DtDisplayUnitsConverter::convertSpeedSystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtVector & | velocity | ||
| ) | const |
Converts the speed to the current velocity units.
| std::string makVrv::DtDisplayUnitsConverter::convertSpeedSystemAndUnitGeocentricToDisplayString | ( | const DtVector & | geocLoc, |
| const DtVector & | velocity | ||
| ) | const |
Converts the speed to the current velocity units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitNativeToDisplay | ( | const DtVector & | accel | ) | const |
Converts the acceleration magnitude to the current acceleration units.
| double makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitNativeToDisplay | ( | double | accel | ) | const |
Converts the acceleration magnitude to the current acceleration units.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitNativeToDisplayString | ( | const DtVector & | accel | ) | const |
Converts the acceleration to the current acceleration units.
Formats the converted value as a string with the correct precision.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitNativeToDisplayString | ( | double | accel | ) | const |
Converts the acceleration to the current acceleration units.
Formats the converted value as a string with the correct precision.
| double makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeUnitDisplayToNative | ( | double | acc | ) | const |
Converts the acceleration from the current units to m/s^2.
| double makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeSystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtVector & | accel | ||
| ) | const |
Converts the acceleration magnitude to the current acceleration units.
| std::string makVrv::DtDisplayUnitsConverter::convertAccelerationMagnitudeSystemAndUnitGeocentricToDisplayString | ( | const DtVector & | geocLoc, |
| const DtVector & | accel | ||
| ) | const |
Converts the acceleration magnitude to the current acceleration units.
| DtTaitBryan makVrv::DtDisplayUnitsConverter::convertHeadingPitchRollSystemAndUnitGeocentricToDisplay | ( | const DtVector & | geocLoc, |
| const DtTaitBryan & | geocOri | ||
| ) | const |
Converts the orientation to HPR in the current orientation units.
| std::vector<std::string> makVrv::DtDisplayUnitsConverter::convertHeadingPitchRollSystemAndUnitGeocentricToDisplayStrings | ( | const DtVector & | geocLoc, |
| const DtTaitBryan & | geocOri | ||
| ) | const |
Converts the orientation to HPR strings.
Gets the HPR for the orientation and formats using orientation units.
|
staticprotected |
Returns the given double value as a string with the given decimal count.
|
staticprotected |
Returns the given vector value as a string with the given decimal count.
Appends the 3 values in the vector using a single space to separate them.
|
protected |
|
protected |