VR-Forces 4.3 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 
69  virtual void slot_onAltitudeAboveGroundLevelChanged();
70 
72  virtual void slot_onAltitudeAboveSeaLevelEdited();
73 
75  virtual void slot_onAltitudeAboveGroundLevelEdited();
76 
78  virtual void slot_onAltitudeSelectionTypeChanged();
79 
81  virtual void setDatabaseLocation(double x, double y, double z);
82 
83  virtual QString zUnitsLabel() const;
84 
85  virtual DtGeodeticCoord geodeticLocation() const;
86 
88  virtual void setClampToNearestPolygon(bool);
89 
91  virtual void setIgnoreList(const std::vector<makVrv::DtElementID>&);
92  virtual const std::vector<makVrv::DtElementID>& ignoreList() const;
93 
94  virtual void setMaintainCurrentAltitude(bool);
95  virtual bool maintainCurrentAltitude() const;
96 
97  protected:
98 
99  virtual void initialize();
100 
102  virtual double groundHeight(const DtVector& loc);
103 
104  virtual void refreshLabels();
105 
106  virtual void slot_onUnitChanged(int attribute, int from);
107 
110  virtual void slot_onDisplayUnitDecimalsChanged(
112  int newValue);
113 
114  protected:
116 
119  DtAltitudeEventProcessor *myAltitudeEventProcessor;
121 
123 
127 
128  DtGeodeticCoord myGeodeticLocation;
130 
131  std::vector<makVrv::DtElementID> myIgnoreList;
134  };
135 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)