VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
altitudeSelectionWidgetLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
22 
24 #include <matrix/vlVector.h>
25 
26 #include <QString>
27 
28 namespace makVrv
29 {
30  class DtDe;
31 }
32 
33 namespace makVrf
34 {
35  class DtAltitudeSelectionWidgetInterface;
36  class DtAltitudeEventProcessor;
37 
42  {
43  public:
44  //CTOR
46 
47  //DTOR
49 
50  public:
53  virtual void setLocation(const DtVector& local, bool resetAltitude = true);
54 
56  virtual void setMouseClickSupportEnabled(bool);
57 
59  virtual void setCoordinateSystem(
61 
64  coordinateSystem() const;
65 
67  virtual void slot_onAltitudeAboveSeaLevelChanged();
68 
69  void setUseHighestLOD(bool b) { myUseHighestLOD = b; };
70  bool useHighestLOD() const { return myUseHighestLOD; };
71 
73  virtual void slot_onAltitudeAboveGroundLevelChanged();
74 
76  virtual void slot_onAltitudeAboveSeaLevelEdited();
77 
79  virtual void slot_onAltitudeAboveGroundLevelEdited();
80 
82  virtual void slot_onAltitudeSelectionTypeChanged();
83 
85  virtual void setDatabaseLocation(double x, double y, double z);
86 
87  virtual QString zUnitsLabel() const;
88 
89  virtual DtGeodeticCoord geodeticLocation() const;
90 
92  virtual void setClampToNearestPolygon(bool);
93 
95  virtual void setIgnoreList(const std::vector<makVrv::DtElementID>&);
96  virtual const std::vector<makVrv::DtElementID>& ignoreList() const;
97 
98  virtual void setMaintainCurrentAltitude(bool);
99  virtual bool maintainCurrentAltitude() const;
100 
101  virtual void setClampFlag(DtLocalObjectManager::ClampFlag);
102  DtLocalObjectManager::ClampFlag clampFlag() const { return myClampFlag; };
103 
104  virtual void refreshLabels();
105 
106  protected:
107 
108  virtual void initialize();
109 
111  virtual double groundHeight(const DtVector& loc);
112 
113  virtual void slot_onUnitChanged(int attribute, int from);
114 
117  virtual void slot_onDisplayUnitDecimalsChanged(
119  int newValue);
120 
121  protected:
123 
126  DtAltitudeEventProcessor *myAltitudeEventProcessor;
128 
130 
134 
135  DtGeodeticCoord myGeodeticLocation;
137 
138  std::vector<makVrv::DtElementID> myIgnoreList;
143  std::set<makVrv::DtElementID> myIgnoreSet;
144  };
145 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)