|
| | DtUnitConverterCollection () |
| | CTOR. More...
|
| |
| | DtUnitConverterCollection (const DtUnitConverterCollection &) |
| | Copy CTOR. More...
|
| |
| | ~DtUnitConverterCollection () |
| | DTOR. More...
|
| |
| void | addUnitConverter (makArchives::DtDisplayUnitsSettingsRecord::DisplayUnitType type, unsigned int unit, const DtUnitConverter *converter) |
| | Adds the converter to the unit converter dictionary. More...
|
| |
|
| double | convertDistance (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits distUnits, double distance) const |
| | Converts the distance to the given units from meters. More...
|
| |
| double | convertSpeed (makArchives::DtDisplayUnitsSettingsRecord::VelocityUnits speedUnits, double speed) const |
| | Converts the speed to the given units from m/s. More...
|
| |
| DtVector | convertVelocity (makArchives::DtDisplayUnitsSettingsRecord::VelocityUnits velUnits, const DtVector &velocity) const |
| | Converts the speed to the given units from m/s. More...
|
| |
| double | convertAcceleration (makArchives::DtDisplayUnitsSettingsRecord::AccelerationUnits accelUnits, double accel) const |
| | Converts the acceleration to the given units from m/s^2. More...
|
| |
| DtVector | convertAcceleration (makArchives::DtDisplayUnitsSettingsRecord::AccelerationUnits accelUnits, const DtVector &accel) const |
| | Converts the acceleration to the given units from m/s^2. More...
|
| |
| DtTaitBryan | convertOrientation (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits oriUnits, const DtTaitBryan &orientation) const |
| | Converts the orientation to the given units from radians. More...
|
| |
| double | convertAngle (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits oriUnits, double angle) const |
| | Converts the angle to the given units from radians. More...
|
| |
| DtVector | convertRotationalVelocity (makArchives::DtDisplayUnitsSettingsRecord::RotVelocityUnits wUnits, const DtVector &rotVel) const |
| | Converts the rotational velocity to the given units from rad/s. More...
|
| |
| double | convertTemperature (makArchives::DtDisplayUnitsSettingsRecord::TemperatureUnits tempUnits, double temperature) const |
| | Converts the temperature to the given units from Kelvins. More...
|
| |
| double | convertPressure (makArchives::DtDisplayUnitsSettingsRecord::PressureUnits pressureUnits, double pressure) const |
| | Converts the pressure to the given units from Pascals. More...
|
| |
|
| double | revertDistance (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits distUnits, double distance) const |
| | Converts the distance from the given units to meters. More...
|
| |
| double | revertSpeed (makArchives::DtDisplayUnitsSettingsRecord::VelocityUnits velUnits, double speed) const |
| | Converts the speed to the given units from m/s. More...
|
| |
| DtVector | revertVelocity (makArchives::DtDisplayUnitsSettingsRecord::VelocityUnits velUnits, const DtVector &velocity) const |
| | Converts the speed to the given units from m/s. More...
|
| |
| DtVector | revertAcceleration (makArchives::DtDisplayUnitsSettingsRecord::AccelerationUnits accelUnits, const DtVector &accel) const |
| | Converts the acceleration from the given units to m/s^2. More...
|
| |
| double | revertAcceleration (makArchives::DtDisplayUnitsSettingsRecord::AccelerationUnits accelUnits, double accel) const |
| | Converts the acceleration from the given units to m/s^2. More...
|
| |
| DtTaitBryan | revertOrientation (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits oriUnits, const DtTaitBryan &ori) const |
| | Converts the orientation from the given units to radians. More...
|
| |
| double | revertAngle (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits oriUnits, double angle) const |
| | Converts the angle from the given units to radians. More...
|
| |
| DtVector | revertRotationalVelocity (makArchives::DtDisplayUnitsSettingsRecord::RotVelocityUnits wUnits, const DtVector &rotVel) const |
| | Converts the rotational velocity from the given units to rad/s. More...
|
| |
| double | revertTemperature (makArchives::DtDisplayUnitsSettingsRecord::TemperatureUnits tempUnits, double temperature) const |
| | Converts the temperature from the given units to Kelvins. More...
|
| |
| double | revertPressure (makArchives::DtDisplayUnitsSettingsRecord::PressureUnits pressureUnits, double pressure) const |
| | Converts the pressure from the given units to Pascals. More...
|
| |
|
| const DtTimeUnitConverter * | timeConverterFor (makArchives::DtDisplayUnitsSettingsRecord::TimeUnits unit) const |
| | Returns the velocity converter for the specified unit type. More...
|
| |
| const DtDistanceUnitConverter * | distanceConverterFor (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unit) const |
| | Returns the distance converter for the specified unit type. More...
|
| |
| const DtOrientationUnitConverter * | orientationConverterFor (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unit) const |
| | Returns the orientation converter for the specified unit type. More...
|
| |
| const DtTemperatureUnitConverter * | temperatureConverterFor (makArchives::DtDisplayUnitsSettingsRecord::TemperatureUnits unit) const |
| | Returns the temperature converter for the specified unit type. More...
|
| |
| const DtPressureUnitConverter * | pressureConverterFor (makArchives::DtDisplayUnitsSettingsRecord::PressureUnits unit) const |
| | Returns the pressure converter for the specified unit type. More...
|
| |
Repository for all unit converters.
Provides utility functions for converting value units without having to retrieve the appropriate unit converter(s) manually.