Public Member Functions |
| | DtDefaultCoordinateSystem (const DtUnitDisplayManager *manager) |
| virtual | ~DtDefaultCoordinateSystem () |
| virtual QString | name () |
| virtual QString | xLabelFor () const |
| virtual QString | yLabelFor () const |
| virtual QString | zLabelFor () const |
| virtual DtGridLineChoiceMap | gridLineChoices (const QString &units) const |
| | Returns the list of possible grid line choices based on the currently selected units.
|
| 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 | 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.
|
| 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 |
| | Converts val to float and calls above routines.
|
| virtual QString | formatDestinationToSource (const QString &val, const QString &unitDisplay, const QString &source, const QString &destination) const |
| | DtCoordinateSystem (const DtUnitDisplayManager *) |
| virtual | ~DtCoordinateSystem () |
| const DtUnitDisplayManager * | unitDisplayManager () 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 |
| QString | formatToPrecision (double d) 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 DtGridLineDrawer * | gridLineDrawer () 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 DtGridLineDrawer * | createDefaultGridLineDrawer () const |