All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
InteriorFloorChunkDto.h
1 // Copyright eeGeo Ltd (2012-2015), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Interiors.h"
6 #include "Bounds.h"
7 #include "InteriorsFloorOutlinePolygon.h"
8 #include <string>
9 
10 namespace Eegeo
11 {
12  namespace Resources
13  {
14  namespace Interiors
15  {
16  namespace Builder
17  {
19  {
20  InteriorFloorChunkDto(int floorNumber,
21  const Geometry::Bounds3D& bounds,
22  const Geometry::Bounds3D& tangentSpacebounds,
23  const std::vector<std::vector<m44> >& instanceTransforms,
24  const std::vector<std::string>& tags,
25  const std::vector<int>& tagIndices,
26  const std::vector<std::string>& instanceIds,
27  const InteriorsFloorOutline& outline)
28  : m_floorNumber(floorNumber)
29  , m_bounds(bounds)
30  , m_tangentSpaceBounds(tangentSpacebounds)
31  , m_instanceTransforms(instanceTransforms)
32  , m_tags(tags)
33  , m_tagIndices(tagIndices)
34  , m_instanceIds(instanceIds)
35  , m_outline(outline)
36  {
37  }
38 
39  int FloorNumber() const { return m_floorNumber; }
40  Geometry::Bounds3D Bounds() const { return m_bounds; }
41  Geometry::Bounds3D TangentSpaceBounds() const { return m_tangentSpaceBounds; }
42 
43  const std::vector< std::vector<m44> >& InstanceTransforms() const { return m_instanceTransforms; }
44  const std::vector<std::string>& GetTags() const { return m_tags; }
45  const std::vector<int>& GetTagIndices() const { return m_tagIndices; }
46 
47  const std::vector<std::string>& GetInstanceIds() const { return m_instanceIds; }
48 
49  const InteriorsFloorOutline& GetOutline() const { return m_outline; }
50 
51  private:
52  int m_floorNumber;
53  Geometry::Bounds3D m_bounds;
54  Geometry::Bounds3D m_tangentSpaceBounds;
55 
56  std::vector< std::vector<m44> > m_instanceTransforms;
57  std::vector<std::string> m_tags;
58  std::vector<int> m_tagIndices;
59 
60  std::vector<std::string> m_instanceIds;
61 
62  InteriorsFloorOutline m_outline;
63  };
64  }
65  }
66  }
67 }