3 #include "Positioning.h"
5 #include "IPointOnMap.h"
6 #include "VectorMath.h"
7 #include "LatLongAltitude.h"
10 #include "MapLayers.h"
11 #include "Rendering.h"
25 double latitudeDegrees,
26 double longitudeDegrees,
28 ElevationMode::Type elevationMode);
34 virtual IdType GetId()
const {
return m_id; }
36 virtual ChangedEvent& Changed();
40 virtual bool IsIndoor()
const;
44 virtual int GetIndoorMapFloorId()
const;
46 virtual ElevationMode::Type GetElevationMode()
const;
48 virtual double GetElevation()
const;
57 virtual double GetDerivedAltitude()
const;
59 virtual double GetDerivedCollapsibleAltitude()
const;
61 virtual int GetDerivedIndoorMapFloorIndex()
const;
65 virtual void SetCoordinate(
double latitudeDegrees,
double longitudeDegrees);
67 virtual void SetElevation(
double elevation);
69 virtual void SetElevationMode(ElevationMode::Type elevationMode);
73 virtual void SetIndoorMapFloorId(
int indoorMapFloorId);
76 void UpdatePositionEcef();
78 double CalcDerivedAltitude()
const;
80 void OnTerrainComponentChanged();
82 void OnInteriorComponentChanged();
84 void NotifyComponentsNeedRefresh();
94 double m_latitudeDegrees;
95 double m_longitudeDegrees;
97 ElevationMode::Type m_elevationMode;
99 double m_derivedAltitude;
100 double m_derivedCollapsibleAltitude;