VR-Forces 4.1 Class Documentation
DtAltitudeSelectionWidgetLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2011 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  protected:
95 
96  virtual void initialize();
97 
99  virtual double groundHeight(const DtVector& loc);
100 
101  virtual void refreshLabels();
102 
103  virtual void slot_onUnitChanged(int attribute, int from);
104 
107  virtual void slot_onDisplayUnitDecimalsChanged(
109  int newValue);
110 
111  protected:
113 
116  DtAltitudeEventProcessor *myAltitudeEventProcessor;
118 
120 
124 
125  DtGeodeticCoord myGeodeticLocation;
127 
128  std::vector<makVrv::DtElementID> myIgnoreList;
129  };
130 }

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)