![]() |
VR-Forces 4.0.4 Class Documentation
|
This class will draw UTM grid lines as defined by the current database (labels only) More...

Public Member Functions | |
| DtUtmGridLineDrawer (const DtCoordinateSystem *) | |
| DtUtmGridLineDrawer (const DtUtmGridLineDrawer &) | |
| virtual | ~DtUtmGridLineDrawer () |
| virtual DtGridLineDrawer * | clone () |
| Pure virtuals that need to be implemented in order to be a grid line drawer. | |
Protected Member Functions | |
| virtual QString | labelForHorizLine (const DtPoint &val, double increment, const DtTerrainDatabase *db) |
| Override to provide different labels for the vertical or horizontal grid lines. | |
| virtual QString | labelForVertiLine (const DtPoint &val, double increment, const DtTerrainDatabase *db) |
| Since horizontal and vertical labels are the same, default implementation calls labelForHorizLine. | |
| virtual int | type () const |
| This is only to try and identify one grid line drawer from another to prevent unnecessary terrain redraw as a coordinate system choice changes. | |
This class will draw UTM grid lines as defined by the current database (labels only)
| virtual DtUtmGridLineDrawer::~DtUtmGridLineDrawer | ( | ) | [virtual] |
| virtual DtGridLineDrawer* DtUtmGridLineDrawer::clone | ( | ) | [virtual] |
Pure virtuals that need to be implemented in order to be a grid line drawer.
Reimplemented from DtDatabaseGridLineDrawer.
| virtual QString DtUtmGridLineDrawer::labelForHorizLine | ( | const DtPoint & | val, |
| double | increment, | ||
| const DtTerrainDatabase * | db | ||
| ) | [protected, virtual] |
Override to provide different labels for the vertical or horizontal grid lines.
The "buf" variable should contain the label the be displayed
Reimplemented from DtDatabaseGridLineDrawer.
| virtual QString DtUtmGridLineDrawer::labelForVertiLine | ( | const DtPoint & | val, |
| double | increment, | ||
| const DtTerrainDatabase * | db | ||
| ) | [protected, virtual] |
Since horizontal and vertical labels are the same, default implementation calls labelForHorizLine.
Reimplemented from DtDatabaseGridLineDrawer.
| virtual int DtUtmGridLineDrawer::type | ( | ) | const [protected, virtual] |
This is only to try and identify one grid line drawer from another to prevent unnecessary terrain redraw as a coordinate system choice changes.
Reimplemented from DtDatabaseGridLineDrawer.