VR-Forces 4.1.1 Class Documentation
terrainPaperMapDrawer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: terrainPaperMapDrawer.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef TERRAINPAPERMAPDRAWER_H
13 #define TERRAINPAPERMAPDRAWER_H
14 
17 
18 #include <QtGui/QColor>
19 
20 class DtPaperMapDatabase;
21 class DtQtDrawer;
22 class DtTdbDrawerOptions;
23 class DtViewportExtents;
24 class DtExtent;
25 class DtPaperMap;
26 class QColor;
27 class Coordinate_System;
28 
30 {
31 
32 public:
33 
36 
37  virtual ~DtTerrainPaperMapDrawer();
38 
40 
41  virtual bool init(const DtPaperMapDatabase* d);
42 
43  virtual const DtPaperMapDatabase* paperMapDatabase() const;
44  virtual void setPaperMapDatabase(const DtPaperMapDatabase* d);
45 
47  void setBackgroundColor(const QColor&);
48  const QColor& backgroundColor() const;
49 
50  static DtTerrainPaperMapDrawer* create();
51 
52 protected:
53  virtual void internalDraw(const DtTerrainDatabase* db, const DtViewportExtents* v, DtPrimitiveDrawer* painter);
54 
55 protected:
56 
57  virtual void drawPaperMaps(const Coordinate_System* coordSys, const DtViewportExtents* v,
59 
60  virtual void drawPaperMap
61  (
62  const Coordinate_System* coordSys,
63  DtPaperMap* p,
64  const DtViewportExtents* v,
66  QColor* backgroundColor = 0
67  );
68 
69 protected:
72 };
73 
74 inline void DtTerrainPaperMapDrawer::setBackgroundColor(const QColor& c)
75 {
77 }
78 
79 inline const QColor& DtTerrainPaperMapDrawer::backgroundColor() const
80 {
81  return myBackgroundColor;
82 }
83 
84 #endif
85 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)