All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PolylineShapeCreateParams.h
1 #pragma once
2 
3 #include "PolylineShapes.h"
4 #include "ShapeCreateParamsBase.h"
5 
6 
7 namespace Eegeo
8 {
9  namespace Shapes
10  {
11  namespace Polylines
12  {
14  {
15  public:
17 
18  PolylineShapeCreateParams(Eegeo::Positioning::ElevationMode::Type elevationMode,
19  double elevation,
20  const Eegeo::Resources::Interiors::InteriorId& indoorMapId,
21  int indoorMapFloorId,
22  const std::vector<Space::LatLong>& coordinates,
23  const std::vector<double>& perPointElevations,
24  const v4& fillColor,
25  float thickness,
26  float miterLimit,
27  bool shouldScaleWithMap);
28 
29  const std::vector<Space::LatLong>& GetCoordinates() const { return m_coordinates; }
30  const std::vector<double>& GetPerPointElevations() const { return m_perPointElevations; }
31  const v4& GetFillColor() const { return m_fillColor; }
32  float GetThickness() const { return m_thickness; }
33  float GetMiterLimit() const { return m_miterLimit; }
34  bool GetShouldScaleWithMap() const { return m_shouldScaleWithMap; }
35 
36 
37  private:
38  std::vector<Space::LatLong> m_coordinates;
39  std::vector<double> m_perPointElevations;
40  v4 m_fillColor;
41  float m_thickness;
42  float m_miterLimit;
43  bool m_shouldScaleWithMap;
44  };
45 
46  }
47  }
48 }