![]() |
VR-Forces 4.1.1 Class Documentation
|
This class will draw contour lines on the specified terrain. More...

Public Member Functions | |
| DtTerrainContourLinesDrawer () | |
| DtTerrainContourLinesDrawer (const DtTerrainContourLinesDrawer &) | |
| virtual | ~DtTerrainContourLinesDrawer () |
| DtTerrainContourLinesDrawer & | operator= (const DtTerrainContourLinesDrawer &) |
| void | setContourLineColor (const QColor &c) |
| const QColor & | contourLineColor () const |
| void | setContourLineInterval (int) |
| int | contourLineInterval () const |
Public Member Functions inherited from DtTerrainDrawer | |
| DtTerrainDrawer () | |
| DtTerrainDrawer (const DtTerrainDrawer &) | |
| virtual | ~DtTerrainDrawer () |
| DtTerrainDrawer & | operator= (const DtTerrainDrawer &) |
| virtual void | draw (const DtTerrainDatabase *, const DtViewportExtents *, DtPrimitiveDrawer *painter) |
| Call in order to draw the particular aspect of the terrain on the supplied painter. | |
| void | setDrawingEnabled (bool) |
| Get/set the drawingEnabled flag. | |
| bool | drawingEnabled () const |
Static Public Member Functions | |
| static DtTerrainContourLinesDrawer * | create () |
Protected Member Functions | |
| virtual void | internalDraw (const DtTerrainDatabase *, const DtViewportExtents *, DtPrimitiveDrawer *painter) |
| Implement this feature to do specific terrain drawing. | |
| virtual void | drawContourLines (const double &z0, const double &z1, const DtTerrainDatabase *db, const DtViewportExtents *v, DtPrimitiveDrawer *painter) |
| virtual void | drawContourLinesOnNode (const DtGdbNode *node, const double &zMin, const double &zMax, const double &zInterval, const DtHomogeneousTransfMatrix &matrix, const DtViewportExtents *v, DtPrimitiveDrawer *painter) |
| virtual void | drawContourLinesOnPolygon (const DtAllTypesPolygon *polygon, const double &zMin, const double &zMax, const double &zInterval, const DtHomogeneousTransfMatrix &mtx, const DtViewportExtents *v, DtPrimitiveDrawer *painter) |
| virtual void | drawContourLinesOnCoordinateSystem (const DtBaseCoordinateSystem *cs, const double &zMin, const double &zMax, const double &zInterval, const DtHomogeneousTransfMatrix &matrix, const DtViewportExtents *v, DtPrimitiveDrawer *painter) |
Protected Member Functions inherited from DtTerrainDrawer | |
| virtual void | drawExtent (const DtExtent &extent, const DtHomogeneousTransfMatrix &mtx, const DtViewportExtents *v, DtPrimitiveDrawer *painter) |
| Drawing routines. | |
| virtual void | drawFilledPoly (const DtAllTypesPolygon *polygon, const DtHomogeneousTransfMatrix &mtx, const DtViewportExtents *v, DtPrimitiveDrawer *painter) |
| virtual void | drawLine (const DtPoint &gdp0, const DtPoint &gdp1, const DtViewportExtents *view, DtPrimitiveDrawer *painter) |
| virtual void | drawWireframePoly (const DtAllTypesPolygon *polygon, const DtHomogeneousTransfMatrix &mtx, const DtViewportExtents *v, DtPrimitiveDrawer *painter) |
Protected Attributes | |
| QColor | myContourLineColor |
| int | myContourLineInterval |
Protected Attributes inherited from DtTerrainDrawer | |
| bool | myDrawingEnabled |
This class will draw contour lines on the specified terrain.
| DtTerrainContourLinesDrawer::DtTerrainContourLinesDrawer | ( | ) |
| DtTerrainContourLinesDrawer::DtTerrainContourLinesDrawer | ( | const DtTerrainContourLinesDrawer & | ) |
|
virtual |
| DtTerrainContourLinesDrawer& DtTerrainContourLinesDrawer::operator= | ( | const DtTerrainContourLinesDrawer & | ) |
|
inline |
References myContourLineColor.
|
inline |
References myContourLineColor.
|
inline |
References myContourLineInterval.
|
inline |
References myContourLineInterval.
|
static |
|
protectedvirtual |
Implement this feature to do specific terrain drawing.
Implements DtTerrainDrawer.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Referenced by contourLineColor(), and setContourLineColor().
|
protected |
Referenced by contourLineInterval(), and setContourLineInterval().