VR-Forces 4.1 Class Documentation
terrainBackground.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2002 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: terrainBackground.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef TERRAINBACKGROUND_H
13 #define TERRAINBACKGROUND_H
14 
15 #include "tmqt/tmBackground.h"
17 
18 class DtTerrainFactory;
21 class DtQtDrawer;
22 class DtTdbDrawerOptions;
23 class DtList;
24 class DtTerrainDatabase;
25 class DtPaperMapDatabase;
26 
29 {
30  Q_OBJECT
31 
32 public:
33 
35 
37 
38  virtual ~DtTerrainBackground();
39 
41 
42  virtual bool init(DtTMArea* area);
43 
44  virtual bool init
45  (
46  DtTacticalGdbDrawer* tdbDrawer,
47  DtQtDrawer* qtDrawer,
48  const DtTdbDrawerOptions* o,
50  );
51 
53  static DtTMBackground* create();
54 
55  virtual void draw(QPainter* painter = NULL);
56 
57  virtual void clear();
58 
59  virtual DtTacticalGdbDrawer* tdbDrawer() const;
60  virtual void setTdbDrawer(DtTacticalGdbDrawer* t);
61 
62  virtual DtQtDrawer* qtDrawer() const;
63  virtual void setQtDrawer(DtQtDrawer* d);
64 
65  virtual const DtTdbDrawerOptions* tdbDrawerOptions() const;
66  virtual void setTdbDrawerOptions(const DtTdbDrawerOptions* o);
67 
72  virtual void setFeatureDrawOrder(DtList* list);
73 
74  virtual void setTerrainDatabase(const DtTerrainDatabase*);
75  virtual void setPaperMapDatabase(const DtPaperMapDatabase* db);
76 
77  virtual const DtTerrainDatabase* terrainDatabase() const;
78 
79 public slots:
80  virtual void updateCoordinateSystem(const DtCoordSys& sys);
81 
82 protected:
85  virtual void fillBackground(QPainter* usePainter);
86 
87 protected:
88 
92 };
93 
94 #endif //TERRAINBACKGROUND_H
95 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)