vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HeightMapProperties.h
Go to the documentation of this file.
1 
10 #ifndef VRECKO_NATURE_TERRAIN_HEIGHTMAPPROPERTIES_H
11 #define VRECKO_NATURE_TERRAIN_HEIGHTMAPPROPERTIES_H
12 
13 #include <vrecko/ReaderWriter.h>
14 #include <osg/Vec2>
15 
16 #include "TerrainProperties.h"
17 
18 namespace APNature
19 {
20  static class HeightMapProperties : public TerrainProperties
21  {
22  protected:
23 
24  // Image-type specific attributes
25  static std::string _heightMapPath;
26 
27  public:
28 
32  static inline const std::string& HeightMapPath() { return _heightMapPath; }
33  static inline void HeightMapPath(const std::string& heightMapPath) { _heightMapPath = heightMapPath; }
34 
39  static void LoadDataSourceNodeParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *parameters);
40 
41  } HeightMapProperties;
42 
43 }
44 
45 #endif