6 #include "LatLongAltitude.h"
8 #include "StencilMapLayerMask.h"
9 #include "StencilAreaPaletteModel.h"
19 typedef std::string TStencilAreaId;
28 const TStencilAreaId&
id,
30 const std::vector<Space::LatLongAltitude>& exteriorRingVertices,
31 const Eegeo::Rendering::StencilMapLayerMask::Type stencilMapLayerType,
32 const float heightInMetres)
35 , m_exteriorRingVertices(exteriorRingVertices)
36 , m_stencilMapLayerType(stencilMapLayerType)
37 , m_altitudeOffset(0.0f)
38 , m_height(heightInMetres)
47 const Eegeo::Rendering::StencilMapLayerMask::Type stencilMapLayerType,
48 const float heightInMetres);
56 const std::string m_id;
58 std::vector<Space::LatLongAltitude> m_exteriorRingVertices;
59 const Eegeo::Rendering::StencilMapLayerMask::Type m_stencilMapLayerType;
60 float m_altitudeOffset;
65 const TStencilAreaId& GetId()
const {
return m_id; }
66 const dv3& GetEcefCellCenter()
const {
return m_ecefCellCenter; }
68 const Eegeo::Rendering::StencilMapLayerMask::Type GetStencilMapLayerMask()
const {
return m_stencilMapLayerType; }
70 const std::vector<dv3>& GetEcefTriangleVertices()
const {
return m_ecefTriangleVerts; }
71 const std::vector<dv3>& GetExteriorEcefVertices()
const {
return m_exteriorEcefVerts; }
72 const std::vector<Eegeo::Space::LatLongAltitude>& GetExteriorLatLongVertices()
const {
return m_exteriorRingVertices; }
74 const float GetHeight()
const {
return m_height; }
75 const StencilAreaPaletteModel& GetPaletteModel()
const {
return m_palette; }
77 StencilAreaModel(
const StencilAreaPaletteModel& palette) : m_palette(palette) { };
81 const StencilAreaPaletteModel& m_palette;
82 std::vector<Eegeo::Space::LatLongAltitude> m_exteriorRingVertices;
83 std::vector<dv3> m_ecefTriangleVerts;
84 std::vector<dv3> m_exteriorEcefVerts;
85 Eegeo::Rendering::StencilMapLayerMask::Type m_stencilMapLayerType;