VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgEarthCacheLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
15 #include <matrix/vlVector.h>
16 #include <vector>
17 
19 
20 #include <osgEarth/Bounds>
21 
22 // Class Forward Declarations
23 namespace osgEarth
24 {
25  class MapNode;
26 }
27 
28 namespace makVrv
29 {
30  // Class Forward Declarations
31  class DtCameraNode;
32  class DtOsgEarthCache;
33  class DtOsgEarthCacheInterface;
34  class DtChannel;
35  class DtOsgEarthCacheHandler;
36 
40  {
41  public:
42 
44 
46  virtual ~DtOsgEarthCacheLogic();
47 
49  virtual void cacheFinished();
50  private:
51 
55  DtOsgEarthCacheLogic &operator=(const DtOsgEarthCacheLogic &);
56 
57  protected:
58 
62 
63  //call in the CTOR
64  void initialize();
65 
67  virtual void connectSignals();
68 
70  virtual void disconnectSignals();
71 
73  virtual void slot_displayCoordinateSystemChanged(DtSharedDisplayUnitsSettings::CoordSys, int, int);
74 
75  protected:
76 
78 
79  virtual void slot_selectOsgEarthChanged(const std::string& file);
80  virtual void slot_lowestLODChanged(int);
81  virtual void slot_highestLODChanged(int);
82  virtual void slot_speficyCacheAreaCheckBoxChanged(int);
83  virtual void slot_startLongitudeChanged(double,bool);
84  virtual void slot_startLatitudeChanged(double,bool);
85  virtual void slot_endLongitudeChanged(double,bool);
86  virtual void slot_endLatitudeChanged(double,bool);
87  virtual void slot_generateCacheButtonClicked();
88  virtual void slot_cleanAreaButtonClicked();
89  virtual void slot_cancelButtonClicked();
90  virtual void slot_cleanup();
91  virtual void slot_estimateMessageBoxResult(int);
92  virtual void slot_cacheFinishedMessageBoxResult(int);
93  virtual void slot_progressUpdate(int);
95 
96  protected:
101  };
102 
106  : public DtVirtualBaseClass
107  {
108  public:
109 
110  // Get the creator instance for this DE object. Creates instance if none found
111  static DtOsgEarthCacheLogicCreator& instance(DtDe& de);
112 
113  static void registerInstance(DtDe& de, DtOsgEarthCacheLogicCreator* creator);
114 
115  //Create the widget's logic.
116  static DtOsgEarthCacheLogic* create(DtDe& de, DtOsgEarthCacheInterface* iface);
117  };
118 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)