5 #include "GlobeCamera.h"
7 #include "CameraState.h"
9 #include "MapCameraUpdate.h"
10 #include "MapCameraPosition.h"
11 #include "MapCameraGestureState.h"
35 void EarlyUpdate(
float dt);
37 bool IsModeIndoors()
const {
return m_isIndoors; }
39 void UpdateIndoorCameraHeightAboveBase(
const MapCameraPosition &mapCameraPosition);
43 bool CanAcceptGesture()
const;
54 const MapCameraAnimationId animationId,
57 double animationDuration,
58 bool isInterruptByGestureAllowed,
62 void ClearAnimation();
64 void SetIndoorEntryFocus(
const dv3& indoorEntryFocusLocation,
double indoorEntryDistance);
65 void SetIsIndoorMapReady(
bool isIndoorMapReady) { m_isIndoorMapReady = isIndoorMapReady;}
66 void SetIndoorRestriction(
bool restrictIndoors);
67 void SetVerticallyLocked(
bool isVerticallyLocked);
70 bool IsAnimating()
const;
71 void FinishAnimation();
75 void UseIndoorsGlobeCamera();
76 void UseOutdoorsGlobeCamera();
78 void LookAtIndoorEntryFocus();
79 float CalculateIndoorLookAtHeightAboveBase(
const MapCameraPosition& mapCameraPosition)
const;
81 dv3 GetInterestPointEcef()
const;
82 double GetBearingDegrees()
const;
83 double GetZenithAngleDegrees()
const;
84 double GetDistanceToInterest()
const;
86 bool IsPanGestureActive()
const;
87 bool HasPanVelocity()
const;
88 bool IsRotateGestureActive()
const;
89 bool HasRotateVelocity()
const;
90 bool IsTilting()
const;
91 bool HasZoomVelocity()
const;
106 bool m_isIndoorMapReady;
107 dv3 m_indoorEntryFocus;
108 double m_indoorEntryDistance;
110 MapCameraAnimationId m_currentAnimationId;
111 double m_animationDuration;
112 bool m_interruptByGestureAllowed;
113 double m_animationTime;