All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
InteriorHelpers.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Interiors.h"
6 #include "Pins.h"
7 #include "Rendering.h"
8 #include "VectorMath.h"
9 
10 namespace Eegeo
11 {
12  namespace Resources
13  {
14  namespace Interiors
15  {
16  extern const float INTERIOR_FLOOR_HEIGHT;
17  extern const float INTERIOR_FLOOR_THICKNESS;
18 
19  float GetFloorHeightAboveSeaLevel(const InteriorsModel& interiorModel, unsigned int floorIndex);
20 
21  float GetFloorHeightAboveSeaLevelIncludingEnvironmentFlattening(
22  const InteriorsModel& interiorModel, unsigned int floorIndex, float environmentFlattening);
23 
24  float GetFloorHeight(unsigned int floorIndex);
25 
26  void AttachPinToFloor(Pins::Pin& pin,
27  int floorIndex,
28  const Interiors::IImmutableInteriorViewModel& interiorViewModel
29  );
30  }
31  }
32 }