VR-Forces 4.2 Class Documentation
Classes | Typedefs
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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)