Go to the documentation of this file.
17 #ifndef IGNITION_COMMON_DEM_HH_
18 #define IGNITION_COMMON_DEM_HH_
21 #include <gz/math/Vector3.hh>
22 #include <gz/math/Angle.hh>
24 #include <gz/common/config.hh>
25 #include <gz/common/graphics/Export.hh>
27 #include <ignition/utils/ImplPtr.hh>
41 class IGNITION_COMMON_GRAPHICS_VISIBLE Dem :
public HeightmapData
47 public:
virtual ~Dem();
52 public:
int Load(
const std::string &_filename =
"");
58 public:
double Elevation(
double _x,
double _y);
62 public:
float MinElevation()
const;
66 public:
float MaxElevation()
const;
82 public:
unsigned int Height()
const;
91 public:
unsigned int Width()
const;
95 public:
double WorldWidth()
const;
99 public:
double WorldHeight()
const;
111 public:
void FillHeightMap(
const int _subSampling,
112 const unsigned int _vertSize,
124 private:
void GeoReference(
double _x,
double _y,
132 private:
int LoadData();
136 IGN_UTILS_IMPL_PTR(dataPtr)
Forward declarations for the common classes.