![]() |
VR-Forces 4.1.1 Class Documentation
|

Public Types | |
| enum | DtScaleType { DtGridScale = 0, DtScaleLowerLeft = 1, DtScaleLowerRight = 2 } |
Public Member Functions | |
| DtGridLineDrawer (const DtCoordinateSystem *c) | |
| DtGridLineDrawer (const DtGridLineDrawer &orig) | |
| virtual | ~DtGridLineDrawer () |
| void | setGridLineColor (const QColor &) |
| const QColor & | gridLineColor () const |
| void | setGridLineLabelColor (const QColor &) |
| const QColor & | gridLineLabelColor () const |
| void | setDrawScale (DtGridLineDrawer::DtScaleType) |
| Set to true to draw a scale line (distance) and where (lower left or lower right). Will not draw grid labels. | |
| DtGridLineDrawer::DtScaleType | drawScale () const |
| virtual void | drawGridLines (const DtPoint &vp_min_WC, const DtPoint &vp_max_WC, double increment, const DtTerrainDatabase *db, const DtViewportExtents *v, DtPrimitiveDrawer *painter)=0 |
| Override to draw grid lines. | |
| virtual DtGridLineDrawer * | clone ()=0 |
| Pure virtuals that need to be implemented in order to be a grid line drawer. | |
| virtual int | type () const =0 |
| This is only to try and identify one grid line drawer from another to prevent unnecessary terrain redraw as a coordinate system choice changes. | |
Protected Attributes | |
| const DtCoordinateSystem * | myCoordinateSystem |
| QColor | myGridLineColor |
| QColor | myGridLineLabelColor |
| DtScaleType | myScaleLine |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
References myGridLineColor.
|
inline |
References myGridLineColor.
|
inline |
References myGridLineLabelColor.
|
inline |
References myGridLineLabelColor.
|
inline |
Set to true to draw a scale line (distance) and where (lower left or lower right). Will not draw grid labels.
References myScaleLine.
|
inline |
References myScaleLine.
|
pure virtual |
Override to draw grid lines.
Implemented in DtDatabaseGridLineDrawer.
|
pure virtual |
Pure virtuals that need to be implemented in order to be a grid line drawer.
Implemented in DtDatabaseGridLineDrawer, and DtUtmGridLineDrawer.
|
pure 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.
Implemented in DtDatabaseGridLineDrawer, and DtUtmGridLineDrawer.
|
protected |
|
protected |
Referenced by gridLineColor(), and setGridLineColor().
|
protected |
Referenced by gridLineLabelColor(), and setGridLineLabelColor().
|
protected |
Referenced by drawScale(), and setDrawScale().