VR-Forces 4.2 Class Documentation
terrainWireframeDrawer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: terrainWireframeDrawer.h,v $ $Revision: 1.3 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef TERRAINWIREFRAMEDRAWER_H
13 #define TERRAINWIREFRAMEDRAWER_H
14 
17 
19 
21 {
22 public:
25 
26  virtual ~DtTerrainWireframeDrawer();
27 
29 
30  void setWireframeColor(const QColor&);
31  const QColor& wireframeColor() const;
32 
34 
36  virtual void drawWireframe(DtAllTypesPolygon* list, const DtViewportExtents* viewport,
37  DtPrimitiveDrawer* drawer, bool usePolygonColor);
38 
39 protected:
40 
41  virtual void drawPolygon(const DtAllTypesPolygon *polygon,
42  const DtHomogeneousTransfMatrix& matrix, const DtViewportExtents* v, DtPrimitiveDrawer* painter);
43 
44 protected:
46 };
47 
48 inline void DtTerrainWireframeDrawer::setWireframeColor(const QColor& c)
49 {
50  myWireframeColor = c;
51 }
52 
53 inline const QColor& DtTerrainWireframeDrawer::wireframeColor() const
54 {
55  return myWireframeColor;
56 }
57 
58 #endif

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)