All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
GlobeCameraModeTransition.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "GlobeCamera.h"
6 #include "VectorMath.h"
7 
8 namespace Eegeo
9 {
10  namespace Camera
11  {
12  namespace GlobeCamera
13  {
15  {
16  public:
18 
19  void Begin(const v3& headingStart, const dv3& interestEcef, float tiltStart, float durationSeconds);
20 
21  bool IsComplete() const { return m_isComplete; }
22 
23  void Update(float deltaSeconds, const dv3& interestEcef, v3& out_heading, float& out_tilt);
24 
25  protected:
26  v3 m_interestHeadingStart;
27  v3 m_interestHeadingEnd;
28  float m_tiltStart;
29  float m_durationSeconds;
30  float m_timeSeconds;
31  bool m_isComplete;
32  };
33  }
34  }
35 }