![]() |
VR-Forces 4.0.4 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 |
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 Attributes | |
| QColor | myContourLineColor |
| int | myContourLineInterval |
This class will draw contour lines on the specified terrain.
| virtual DtTerrainContourLinesDrawer::~DtTerrainContourLinesDrawer | ( | ) | [virtual] |
| DtTerrainContourLinesDrawer& DtTerrainContourLinesDrawer::operator= | ( | const DtTerrainContourLinesDrawer & | ) |
| void DtTerrainContourLinesDrawer::setContourLineColor | ( | const QColor & | c | ) | [inline] |
References myContourLineColor.
| const QColor & DtTerrainContourLinesDrawer::contourLineColor | ( | ) | const [inline] |
References myContourLineColor.
| void DtTerrainContourLinesDrawer::setContourLineInterval | ( | int | i | ) | [inline] |
References myContourLineInterval.
| int DtTerrainContourLinesDrawer::contourLineInterval | ( | ) | const [inline] |
References myContourLineInterval.
| static DtTerrainContourLinesDrawer* DtTerrainContourLinesDrawer::create | ( | ) | [static] |
| virtual void DtTerrainContourLinesDrawer::internalDraw | ( | const DtTerrainDatabase * | , |
| const DtViewportExtents * | , | ||
| DtPrimitiveDrawer * | painter | ||
| ) | [protected, virtual] |
Implement this feature to do specific terrain drawing.
Implements DtTerrainDrawer.
| virtual void DtTerrainContourLinesDrawer::drawContourLines | ( | const double & | z0, |
| const double & | z1, | ||
| const DtTerrainDatabase * | db, | ||
| const DtViewportExtents * | v, | ||
| DtPrimitiveDrawer * | painter | ||
| ) | [protected, virtual] |
| virtual void DtTerrainContourLinesDrawer::drawContourLinesOnNode | ( | const DtGdbNode * | node, |
| const double & | zMin, | ||
| const double & | zMax, | ||
| const double & | zInterval, | ||
| const DtHomogeneousTransfMatrix & | matrix, | ||
| const DtViewportExtents * | v, | ||
| DtPrimitiveDrawer * | painter | ||
| ) | [protected, virtual] |
| virtual void DtTerrainContourLinesDrawer::drawContourLinesOnPolygon | ( | const DtAllTypesPolygon * | polygon, |
| const double & | zMin, | ||
| const double & | zMax, | ||
| const double & | zInterval, | ||
| const DtHomogeneousTransfMatrix & | mtx, | ||
| const DtViewportExtents * | v, | ||
| DtPrimitiveDrawer * | painter | ||
| ) | [protected, virtual] |
| virtual void DtTerrainContourLinesDrawer::drawContourLinesOnCoordinateSystem | ( | const DtBaseCoordinateSystem * | cs, |
| const double & | zMin, | ||
| const double & | zMax, | ||
| const double & | zInterval, | ||
| const DtHomogeneousTransfMatrix & | matrix, | ||
| const DtViewportExtents * | v, | ||
| DtPrimitiveDrawer * | painter | ||
| ) | [protected, virtual] |
QColor DtTerrainContourLinesDrawer::myContourLineColor [protected] |
Referenced by contourLineColor(), and setContourLineColor().
int DtTerrainContourLinesDrawer::myContourLineInterval [protected] |
Referenced by contourLineInterval(), and setContourLineInterval().