VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtGeocentricCoordinateSystem Class Reference
Inheritance diagram for DtGeocentricCoordinateSystem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtGeocentricCoordinateSystem (const DtUnitDisplayManager *)
virtual ~DtGeocentricCoordinateSystem ()
virtual QString name ()
virtual QString xLabelFor () const
virtual QString yLabelFor () const
virtual QString zLabelFor () const
virtual QStringList convertPositionToStringList (const Coordinate_System *cs, const DtVector &geocPos) const
 Takes the x, y, z values that comes in and creates a string array of three strings that represent the values.
virtual DtGridLineChoiceMap gridLineChoices (const QString &units) const
 Returns the list of possible grid line choices based on the currently selected units.
virtual void convertToGeocentric (const DtStringLocation &in, const Coordinate_System *cs, DtVector &vector) const
 Converts the given coordinates (in string rep) from the base units to geocentric.
virtual void convertFromGeocentric (const Coordinate_System *cs, const DtVector &vector, DtStringLocation &out) const
 Converts the vector into the given units.
virtual double speed (const Coordinate_System *cs, const DtVector &location, const DtVector &velocity) const
 Assumes location and velocity are in geocentric coordinates.
virtual DtVector velocity (const Coordinate_System *cs, const DtVector &location, const DtVector &velocity) const
 Assumes location and velocity are in geocentric coordinates.
virtual DtVector acceleration (const Coordinate_System *cs, const DtVector &location, const DtVector &acl) const
 Assumes location and acceleration are in geocentric coordinates.
virtual DtVector rotationalVelocity (const Coordinate_System *cs, const DtVector &location, const DtVector &rtVel) const
 Assumes location and rotational velocity are in geocentric coordinates.
virtual DtTaitBryan localOrientationFor (const DtVector &location, const DtTaitBryan &geocOri) const
 Return local orientation given geocentric orientation.
virtual DtTaitBryan headingPitchRollFor (const DtVector &location, const DtTaitBryan &geocOri) const
 Return heading, pitch, roll in end coordinate system given local orientation.
virtual QString formatSourceToDestination (double val, const QString &unitDisplay, const QString &source, const QString &destination) const
 These routies are used for values that are fomatted in non-numeric displays.
virtual QString formatDestinationToSource (double val, const QString &unitDisplay, const QString &source, const QString &destination) const
 Formats from the destination to the source.
virtual QString locationLabelFor ()
 Returns labels based on the coordinate system by default as these labels are not currently changing by coordinate system.

Protected Attributes

QHash< QString, QHash< QString,
double > > 
myMapUnitsToGridLines

Constructor & Destructor Documentation


Member Function Documentation

virtual QString DtGeocentricCoordinateSystem::name ( ) [virtual]

Implements DtCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual QString DtGeocentricCoordinateSystem::xLabelFor ( ) const [virtual]

Implements DtCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual QString DtGeocentricCoordinateSystem::yLabelFor ( ) const [virtual]

Implements DtCoordinateSystem.

virtual QString DtGeocentricCoordinateSystem::zLabelFor ( ) const [virtual]

Implements DtCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual QStringList DtGeocentricCoordinateSystem::convertPositionToStringList ( const Coordinate_System cs,
const DtVector geocPos 
) const [virtual]

Takes the x, y, z values that comes in and creates a string array of three strings that represent the values.

This call assumes the values being passed in are in geocentric values

Implements DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual DtGridLineChoiceMap DtGeocentricCoordinateSystem::gridLineChoices ( const QString &  units) const [virtual]

Returns the list of possible grid line choices based on the currently selected units.

The string is the item to show in the combo box and the double is the value of that string

Implements DtCoordinateSystem.

virtual void DtGeocentricCoordinateSystem::convertToGeocentric ( const DtStringLocation in,
const Coordinate_System cs,
DtVector vector 
) const [virtual]

Converts the given coordinates (in string rep) from the base units to geocentric.

Note that the coordinates must be in the units of this collection

Implements DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual void DtGeocentricCoordinateSystem::convertFromGeocentric ( const Coordinate_System cs,
const DtVector vector,
DtStringLocation out 
) const [virtual]

Converts the vector into the given units.

Assumes the vector is in geocentric coordinates

Implements DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual double DtGeocentricCoordinateSystem::speed ( const Coordinate_System cs,
const DtVector location,
const DtVector velocity 
) const [virtual]

Assumes location and velocity are in geocentric coordinates.

Implements DtTerrainCoordinateSystem.

virtual DtVector DtGeocentricCoordinateSystem::velocity ( const Coordinate_System cs,
const DtVector location,
const DtVector velocity 
) const [virtual]

Assumes location and velocity are in geocentric coordinates.

Implements DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual DtVector DtGeocentricCoordinateSystem::acceleration ( const Coordinate_System cs,
const DtVector location,
const DtVector acl 
) const [virtual]

Assumes location and acceleration are in geocentric coordinates.

Implements DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual DtVector DtGeocentricCoordinateSystem::rotationalVelocity ( const Coordinate_System cs,
const DtVector location,
const DtVector rtVel 
) const [virtual]

Assumes location and rotational velocity are in geocentric coordinates.

Implements DtTerrainCoordinateSystem.

virtual DtTaitBryan DtGeocentricCoordinateSystem::localOrientationFor ( const DtVector location,
const DtTaitBryan &  geocOri 
) const [virtual]

Return local orientation given geocentric orientation.

Implements DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual DtTaitBryan DtGeocentricCoordinateSystem::headingPitchRollFor ( const DtVector geocPos,
const DtTaitBryan &  geocOri 
) const [virtual]

Return heading, pitch, roll in end coordinate system given local orientation.

Implements DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual QString DtGeocentricCoordinateSystem::formatSourceToDestination ( double  val,
const QString &  unitDisplay,
const QString &  source,
const QString &  destination 
) const [virtual]

These routies are used for values that are fomatted in non-numeric displays.

Reimplemented from DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual QString DtGeocentricCoordinateSystem::formatDestinationToSource ( double  val,
const QString &  unitDisplay,
const QString &  source,
const QString &  destination 
) const [virtual]

Formats from the destination to the source.

Reimplemented from DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.

virtual QString DtGeocentricCoordinateSystem::locationLabelFor ( ) [virtual]

Returns labels based on the coordinate system by default as these labels are not currently changing by coordinate system.

Override to provide coordinate system specific labels

Reimplemented from DtTerrainCoordinateSystem.

Reimplemented in DtUtmCoordinateSystem.


Member Data Documentation

QHash<QString, QHash<QString, double> > DtGeocentricCoordinateSystem::myMapUnitsToGridLines [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)