![]() |
VR-Forces 4.2 Class Documentation
|
This specialized version of the terrain drawer collection that will create all drawers necessary to draw a gdb. More...

Public Member Functions | |
| DtTerrainGdbDrawer () | |
| virtual | ~DtTerrainGdbDrawer () |
| virtual void | init () |
| Must be called in order to create drawers. | |
| virtual void | draw (const DtTerrainDatabase *, const DtViewportExtents *, DtPrimitiveDrawer *painter) |
| Override to set drawing options into specific drawers. | |
| virtual void | setTerrainDrawerOptions (DtTdbDrawerOptions *) |
| On access, if no options are set, creates options. | |
| virtual DtTdbDrawerOptions * | terrainDrawerOptions () |
| virtual void | setCoordinateSystem (const DtCoordinateSystem *) |
| virtual const DtCoordinateSystem * | coordinateSystem () const |
| virtual void | setPaperMapDatabase (const DtPaperMapDatabase *) |
| const DtPaperMapDatabase * | paperMapDatabase () const |
| virtual int | coordinateSystemDrawerType () const |
| DtTerrainPolygonDrawer * | polygonDrawer () const |
| DtTerrainPaperMapDrawer * | paperMapDrawer () const |
| DtTerrainFeatureDrawer * | featureDrawer () const |
| DtTerrainWireframeDrawer * | wireframeDrawer () const |
| DtTerrainPolygonDrawer * | boundingVolumesDrawer () const |
| DtTerrainContourLinesDrawer * | contourLinesDrawer () const |
| DtTerrainGridLineDrawer * | gridLineDrawer () const |
Public Member Functions inherited from DtCollectionTerrainDrawer | |
| DtCollectionTerrainDrawer () | |
| virtual | ~DtCollectionTerrainDrawer () |
| virtual void | internalDraw (const DtTerrainDatabase *, const DtViewportExtents *, DtPrimitiveDrawer *painter) |
| Implement this feature to do specific terrain drawing. | |
| virtual void | addTerrainDrawer (DtTerrainDrawer *) |
| Add/remove terrain drawers from this collection. | |
| virtual void | insertDrawer (int iIndex, DtTerrainDrawer *) |
| Insert drawer at specified 0 based index. | |
| virtual DtTerrainDrawer * | removeDrawer (int) |
| Remove drawer at specified index and return drawer removed. | |
| virtual void | removeTerrainDrawer (DtTerrainDrawer *) |
| const std::vector < DtTerrainDrawer * > & | terrainDrawers () const |
Public Member Functions inherited from DtTerrainDrawer | |
| DtTerrainDrawer () | |
| DtTerrainDrawer (const DtTerrainDrawer &) | |
| virtual | ~DtTerrainDrawer () |
| DtTerrainDrawer & | operator= (const DtTerrainDrawer &) |
| void | setDrawingEnabled (bool) |
| Get/set the drawingEnabled flag. | |
| bool | drawingEnabled () const |
Protected Attributes | |
| DtTerrainPolygonDrawer * | myPolygonDrawer |
| DtTerrainPaperMapDrawer * | myPaperMapDrawer |
| DtTerrainFeatureDrawer * | myFeatureDrawer |
| DtTerrainWireframeDrawer * | myWireframeDrawer |
| DtTerrainPolygonDrawer * | myBoundingVolumesDrawer |
| DtTerrainContourLinesDrawer * | myContourLinesDrawer |
| DtTerrainGridLineDrawer * | myGridLineDrawer |
| DtTdbDrawerOptions * | myTerrainDrawerOptions |
| bool | myOwnsTerrainDrawerOptions |
| const DtCoordinateSystem * | myCoordinateSystem |
| If not set, this will be created by the grid line drawer when it first tries to draw grid lines. | |
| const DtPaperMapDatabase * | myPaperMapDatabase |
| This is needed for the paper map drawer to correctly draw papermaps. | |
Protected Attributes inherited from DtCollectionTerrainDrawer | |
| std::vector< DtTerrainDrawer * > | myDrawers |
Protected Attributes inherited from DtTerrainDrawer | |
| bool | myDrawingEnabled |
This specialized version of the terrain drawer collection that will create all drawers necessary to draw a gdb.
It will also manage the terrain drawing options and set the appropriate values into the specific drawers before the terrain is drawn
| DtTerrainGdbDrawer::DtTerrainGdbDrawer | ( | ) |
|
virtual |
|
virtual |
Must be called in order to create drawers.
|
virtual |
Override to set drawing options into specific drawers.
The first time draw is called, all appropriate objects that have not been set will be created (specifically the unit converter collection and the terrain drawing options)
Reimplemented from DtTerrainDrawer.
|
virtual |
On access, if no options are set, creates options.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
References myPaperMapDatabase.
|
virtual |
|
inline |
References myPolygonDrawer.
|
inline |
References myPaperMapDrawer.
|
inline |
References myFeatureDrawer.
|
inline |
References myWireframeDrawer.
|
inline |
References myBoundingVolumesDrawer.
|
inline |
References myContourLinesDrawer.
|
inline |
References myGridLineDrawer.
|
protectedvirtual |
Called from init(), creates all the drawers that will be used for this gdb drawer collection.
Will also insert the drawers in drawing order to correctly draw the terrain database
|
protectedvirtual |
Reimplemented in DtTacticalGdbDrawer.
|
protectedvirtual |
Reimplemented in DtTacticalGdbDrawer.
|
protectedvirtual |
Reimplemented in DtTacticalGdbDrawer.
|
protectedvirtual |
Reimplemented in DtTacticalGdbDrawer.
|
protectedvirtual |
Reimplemented in DtTacticalGdbDrawer.
|
protectedvirtual |
Reimplemented in DtTacticalGdbDrawer.
|
protectedvirtual |
Reimplemented in DtTacticalGdbDrawer.
|
protectedvirtual |
|
protectedvirtual |
Calls specific update routines to update terrain drawers from the terrain drawer options.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Referenced by polygonDrawer().
|
protected |
Referenced by paperMapDrawer().
|
protected |
Referenced by featureDrawer().
|
protected |
Referenced by wireframeDrawer().
|
protected |
Referenced by boundingVolumesDrawer().
|
protected |
Referenced by contourLinesDrawer().
|
protected |
Referenced by gridLineDrawer().
|
protected |
|
protected |
|
protected |
If not set, this will be created by the grid line drawer when it first tries to draw grid lines.
|
protected |
This is needed for the paper map drawer to correctly draw papermaps.
Referenced by paperMapDatabase().