VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtTerrainWireframeDrawer Class Reference

This class will draw the wireframe around a polygon. More...

Inheritance diagram for DtTerrainWireframeDrawer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTerrainWireframeDrawer ()
 DtTerrainWireframeDrawer (const DtTerrainWireframeDrawer &)
virtual ~DtTerrainWireframeDrawer ()
const DtTerrainWireframeDraweroperator= (const DtTerrainWireframeDrawer &)
void setWireframeColor (const QColor &)
const QColor & wireframeColor () const
virtual void drawWireframe (DtAllTypesPolygon *list, const DtViewportExtents *viewport, DtPrimitiveDrawer *drawer, bool usePolygonColor)
 Draws a wireframe around the specified polygon using the specified color.

Static Public Member Functions

static DtTerrainWireframeDrawercreate ()

Protected Member Functions

virtual void drawPolygon (const DtAllTypesPolygon *polygon, const DtHomogeneousTransfMatrix &matrix, const DtViewportExtents *v, DtPrimitiveDrawer *painter)

Protected Attributes

QColor myWireframeColor

Detailed Description

This class will draw the wireframe around a polygon.


Constructor & Destructor Documentation


Member Function Documentation

const DtTerrainWireframeDrawer& DtTerrainWireframeDrawer::operator= ( const DtTerrainWireframeDrawer )
void DtTerrainWireframeDrawer::setWireframeColor ( const QColor &  c) [inline]

References myWireframeColor.

const QColor & DtTerrainWireframeDrawer::wireframeColor ( ) const [inline]

References myWireframeColor.

Reimplemented from DtTerrainPolygonDrawer.

virtual void DtTerrainWireframeDrawer::drawWireframe ( DtAllTypesPolygon list,
const DtViewportExtents viewport,
DtPrimitiveDrawer drawer,
bool  usePolygonColor 
) [virtual]

Draws a wireframe around the specified polygon using the specified color.

virtual void DtTerrainWireframeDrawer::drawPolygon ( const DtAllTypesPolygon polygon,
const DtHomogeneousTransfMatrix matrix,
const DtViewportExtents v,
DtPrimitiveDrawer painter 
) [protected, virtual]

Reimplemented from DtTerrainPolygonDrawer.


Member Data Documentation


The documentation for this class was generated from the following file:

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)