VR-Forces 4.0.4 Class Documentation
Classes | Typedefs
include/drawertdb/terrainPolygonDrawer.h File Reference

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.

Detailed Description


Typedef Documentation

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


Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)