![]() |
VR-Forces 4.1 Class Documentation
|
Go to the source code of this file.
Classes | |
| class | DtTerrainPolygonDrawer |
Typedefs | |
| typedef QColor(* | DtPolygonColorFcn )(const DtAllTypesPolygon *, const DtViewportExtents *v, void *usr) |
| This class will draw the polygons and soil colors associated with a terrain. | |
| typedef QColor(* DtPolygonColorFcn)(const DtAllTypesPolygon *, const DtViewportExtents *v, void *usr) |
This class will draw the polygons and soil colors associated with a terrain.
Included in this class are also ways to draw the terrain shading. A static callback is associated with the drawer that will implement the shading of the terrain (it's basic function is to return a color to apply to the polygon). If you wish to implement a different shading algorithm, set it via the member function