VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions
DtGeodeticCoordinateSystemDDD Class Reference
Inheritance diagram for DtGeodeticCoordinateSystemDDD:
Inheritance graph
[legend]

Public Member Functions

 DtGeodeticCoordinateSystemDDD (const DtUnitDisplayManager *)
virtual ~DtGeodeticCoordinateSystemDDD ()
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 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 QString formatToPrecision (double d) const
 Returns a string formatted D:M:S.
virtual QString locationLabelFor ()
 Returns labels based on the coordinate system by default as these labels are not currently changing by coordinate system.
- Public Member Functions inherited from DtGeodeticCoordinateSystemDMS
 DtGeodeticCoordinateSystemDMS (const DtUnitDisplayManager *)
virtual ~DtGeodeticCoordinateSystemDMS ()
virtual DtGridLineChoiceMap gridLineChoices (const QString &units) const
 Returns the list of possible grid line choices based on the currently selected units.
virtual double convertToDegrees (const QString &str, int prec=1) const
 Converts the string that is of the format deg:min:sec, assuming the supplied precision.
virtual double speed (const Coordinate_System *cs, const DtVector &location, const DtVector &velocity) const
 Since this can be handled generically with this coordinate system, calls to DtDatabaseCoordinateSystem to get speed.
virtual DtVector velocity (const Coordinate_System *cs, const DtVector &location, const DtVector &velocity) const
 Since this can be handled generically with this coordinate system, calls to DtDatabaseCoordinateSystem to get velocity.
virtual DtVector acceleration (const Coordinate_System *cs, const DtVector &location, const DtVector &acl) const
 Since this can be handled generically with this coordinate system, calls to DtDatabaseCoordinateSystem to get acceleration.
virtual DtVector rotationalVelocity (const Coordinate_System *cs, const DtVector &location, const DtVector &rtVel) const
 Since this can be handled generically with this coordinate system, calls to DtDatabaseCoordinateSystem to get rotationalVelocity.
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
 Formats from the source to the destination units and returns formatted value.
- Public Member Functions inherited from DtTerrainCoordinateSystem
 DtTerrainCoordinateSystem (const DtUnitDisplayManager *)
virtual bool convertFrom (const DtCoordinateSystem *oldCS, const DtStringLocation &curLoc, DtStringLocation &newLoc) const
 Converts from the supplied coordinate system (including units) to our coordinate system and returns the newly formatted values into the result.
virtual QString formatDestinationToSource (double val, const QString &unitDisplay, const QString &source, const QString &destination) const
 Formats from the destination to the source.
virtual QString formatSourceToDestination (const QString &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 (const QString &val, const QString &unitDisplay, const QString &source, const QString &destination) const
virtual QString speedLabelFor ()
virtual QString velocityLabelFor ()
virtual QString accelerationLabelFor ()
const DtTerrainDatabaseterrainDatabase () const
void setTerrainDatabase (const DtTerrainDatabase *)
virtual DtTaitBryan topoOrientationFor (const DtVector &geocPos, const DtTaitBryan &geocOri) const
- Public Member Functions inherited from DtCoordinateSystem
 DtCoordinateSystem (const DtUnitDisplayManager *)
virtual ~DtCoordinateSystem ()
const DtUnitDisplayManagerunitDisplayManager () const
void setPrecision (int)
virtual int precision () const
void setPrecisionLowerBound (int)
virtual int precisionLowerBound () const
void setPrecisionUpperBound (int)
int precisionUpperBound () const
void setApplyPrecision (bool b)
bool applyPrecision () const
virtual QString formatSourceToDisplay (double val, const QString &unitDisplay, const QString &source) const
 Uses destiation as defined i unit manager.
virtual QString formatDisplayToSource (double val, const QString &unitDisplay, const QString &source) const
 Uses destiation as defined i unit manager.
virtual QString formatSourceToDisplay (const QString &val, const QString &unitDisplay, const QString &source) const
virtual QString formatDisplayToSource (const QString &val, const QString &unitDisplay, const QString &source) const
virtual double convertSourceToDestination (double val, const QString &source, const QString &destination) const
 Converts from the source to the destination units and returns formatted value.
virtual double convertSourceToDisplay (double val, const QString &unitDisplay, const QString &source) const
virtual double convertDestinationToSource (double val, const QString &source, const QString &destination) const
 Converts from the destination to the source.
virtual double convertDisplayToSource (double val, const QString &unitDisplay, const QString &source) const
virtual DtGridLineDrawergridLineDrawer () const
 Returns the drawer that is used for displaying grid lines.
virtual void setGridLineDrawer (DtGridLineDrawer *)
 Clones the grid line drawer to keep it's own copy upon set.
virtual DtGridLineDrawercreateDefaultGridLineDrawer () const

Additional Inherited Members

- Protected Attributes inherited from DtGeodeticCoordinateSystemDMS
QHash< QString, double > myMapGeodChoiceToDouble

Constructor & Destructor Documentation

DtGeodeticCoordinateSystemDDD::DtGeodeticCoordinateSystemDDD ( const DtUnitDisplayManager )
virtual DtGeodeticCoordinateSystemDDD::~DtGeodeticCoordinateSystemDDD ( )
virtual

Member Function Documentation

virtual QString DtGeodeticCoordinateSystemDDD::name ( )
virtual

Reimplemented from DtGeodeticCoordinateSystemDMS.

virtual QString DtGeodeticCoordinateSystemDDD::xLabelFor ( ) const
virtual

Reimplemented from DtGeodeticCoordinateSystemDMS.

virtual QString DtGeodeticCoordinateSystemDDD::yLabelFor ( ) const
virtual

Reimplemented from DtGeodeticCoordinateSystemDMS.

virtual QString DtGeodeticCoordinateSystemDDD::zLabelFor ( ) const
virtual

Reimplemented from DtGeodeticCoordinateSystemDMS.

virtual QStringList DtGeodeticCoordinateSystemDDD::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

Reimplemented from DtGeodeticCoordinateSystemDMS.

virtual void DtGeodeticCoordinateSystemDDD::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

Reimplemented from DtGeodeticCoordinateSystemDMS.

virtual void DtGeodeticCoordinateSystemDDD::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

Reimplemented from DtGeodeticCoordinateSystemDMS.

virtual QString DtGeodeticCoordinateSystemDDD::formatToPrecision ( double  d) const
virtual

Returns a string formatted D:M:S.

Reimplemented from DtGeodeticCoordinateSystemDMS.

virtual QString DtGeodeticCoordinateSystemDDD::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 DtGeodeticCoordinateSystemDMS.


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)