VR-Forces 4.1.1 Class Documentation
soilTypeConverter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include <geometry/surface.h>
10 #include <kypdg/pdginput/inputtriangle.h>
11 
12 namespace BHAVE {
13 
15  {
16  public:
17  static DtSoilTypeConverter* instance();
18 
20  virtual void allowRoadSoilType(bool bb);
21 
22  Kaim::TerrainTypeMask convertVRFSoilTypeToKynapse(DtSoilType type);
23  Kaim::TerrainTypeMask convertVRFWaterToKynapse(DtBodyOfWaterType type);
24 
25  DtSoilType convertKynapseSoilTypeToVRF(Kaim::TerrainTypeMask type);
26  DtBodyOfWaterType convertKynapseWaterToVRF(Kaim::TerrainTypeMask type);
27 
28  static const int DtKynRoad = 0x00000001;
29  static const int DtKynRail = 0x00000002;
30  static const int DtKynUnusedRoad = 0x00000004;
31  static const int DtKynWater = 0x40000000;
32  protected:
34 
36  virtual void buildMaps();
37 
39  };
40 
42 }
43 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)