All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
BuildingHighlightRenderer.h
1 #pragma once
2 
3 #include "BuildingHighlights.h"
4 #include "IRenderableFilter.h"
5 #include "Types.h"
6 #include "Positioning.h"
7 #include "VectorMath.h"
8 
9 #include <vector>
10 
11 namespace Eegeo
12 {
13  namespace BuildingHighlights
14  {
16  {
17  public:
19  const BuildingHighlightViewRepository& viewRepository,
20  const Eegeo::Positioning::IPositioningViewComponent& positioningViewComponent
21  );
22 
23  void EnqueueRenderables(const Rendering::RenderContext& renderContext, Rendering::RenderQueue& renderQueue);
24 
25 
26  private:
27  m44 CalcMVP(
28  const dv3& renderableOriginEcef,
29  const dv3& ecefCameraPosition,
30  const m44& viewProjection) const;
31 
32  const BuildingHighlightViewRepository& m_viewRepository;
33  const Eegeo::Positioning::IPositioningViewComponent& m_positioningViewComponent;
34  std::vector<IBuildingHighlightView*> m_viewsScratchBuffer;
35  };
36  }
37 }