VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
15 
21 
23 #include <matrix/vlVector.h>
24 
25 #include <QString>
26 
27 namespace makVrv
28 {
29  class DtDe;
30 }
31 
32 namespace makVrf
33 {
34  class DtAltitudeSelectionWidgetInterface;
35  class DtAltitudeEventProcessor;
36 
41  {
42  public:
43  //CTOR
45 
46  //DTOR
48 
49  public:
52  virtual void setLocation(const DtVector& local, bool resetAltitude = true);
53 
55  virtual void setMouseClickSupportEnabled(bool);
56 
58  virtual void setCoordinateSystem(
60 
63  coordinateSystem() const;
64 
66  virtual void slot_onAltitudeAboveSeaLevelChanged();
67 
68  void setUseHighestLOD(bool b) { myUseHighestLOD = b; };
69  bool useHighestLOD() const { return myUseHighestLOD; };
70 
72  virtual void slot_onAltitudeAboveGroundLevelChanged();
73 
75  virtual void slot_onAltitudeAboveSeaLevelEdited();
76 
78  virtual void slot_onAltitudeAboveGroundLevelEdited();
79 
81  virtual void slot_onAltitudeSelectionTypeChanged();
82 
84  virtual void setDatabaseLocation(double x, double y, double z);
85 
86  virtual QString zUnitsLabel() const;
87 
88  virtual DtGeodeticCoord geodeticLocation() const;
89 
91  virtual void setClampToNearestPolygon(bool);
92 
94  virtual void setIgnoreList(const std::vector<makVrv::DtElementID>&);
95  virtual const std::vector<makVrv::DtElementID>& ignoreList() const;
96 
97  virtual void setMaintainCurrentAltitude(bool);
98  virtual bool maintainCurrentAltitude() const;
99 
100  protected:
101 
102  virtual void initialize();
103 
105  virtual double groundHeight(const DtVector& loc);
106 
107  virtual void refreshLabels();
108 
109  virtual void slot_onUnitChanged(int attribute, int from);
110 
113  virtual void slot_onDisplayUnitDecimalsChanged(
115  int newValue);
116 
117  protected:
119 
122  DtAltitudeEventProcessor *myAltitudeEventProcessor;
124 
126 
130 
131  DtGeodeticCoord myGeodeticLocation;
133 
134  std::vector<makVrv::DtElementID> myIgnoreList;
138  };
139 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)