6 #include "GlobeCamera.h"
9 #include "ITouchController.h"
10 #include "VectorMath.h"
11 #include "GlobeCameraTouchSettings.h"
12 #include "Rendering.h"
13 #include "InteriorsCameraConfiguration.h"
25 void UpdateCameraView();
26 void HandleInteractionStateChanged();
27 v3 CalculateInterestPointTangentSpaceExpanded(
const float distanceToInterest)
const;
28 v3 CalculateInterestPointTangentSpaceNonExpanded()
const;
38 bool m_applyRestrictions;
39 float m_cameraInterestAltitude;
40 bool m_applyFloorOffset;
41 float m_previousCollapsedDistanceToInterest;
42 bool m_updateControllers;
59 dv3 ComputeNonFlattenedCameraPosition()
const;
60 dv3 CalculateInterestPoint(
float expandedParam,
float distanceToInterest)
const;
64 void Update(
float dt);
68 void SetInterestLocation(
const dv3& interestPointEcef);
69 const dv3& GetInterestLocation()
const;
71 void SetDistanceToInterest(
float distanceMeters);
72 const float GetDistanceToInterest()
const;
74 void SetHeading(
float headingDegrees);
75 float GetHeadingDegrees()
const;
77 void SetTilt(
float tiltDegrees);
78 void SetApplyRestrictions(
bool applyRestrictions);
79 void SetApplyFloorOffset(
bool applyFloorOffset);
80 float GetCameraInterestAltitude()
const;
81 void SetCameraInterestAltitude(
float cameraInterestAltitude);
82 float GetFloorOffsetHeight()
const;
83 void SetUpdateControllers(
bool updateControllers);
86 bool NeedsCameraViewUpdate(
const dv3& newInterestEcef,
const float newDistance)
const;
93 config.BuildingHorizontalScreenSpacePercentInPortrait = 0.78f;
94 config.BuildingHorizontalScreenSpacePercentInLandscape = 0.56f;
95 config.PositionUpdateThresholdDistanceSq = 0.002;
96 config.ExpandedLookAtDistanceScale = 1.0f;
97 config.ExpandedLookAtUpOffset = 0.0f;
98 config.ExpandedLookAtRightOffset = 0.f;