Go to the documentation of this file.
17 #ifndef GZ_COMMON_DEM_HH_
18 #define GZ_COMMON_DEM_HH_
21 #include <gz/math/Vector3.hh>
22 #include <gz/math/Angle.hh>
24 #include <gz/common/graphics/Export.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;
72 public:
void GeoReferenceOrigin(gz::math::Angle &_latitude,
73 gz::math::Angle &_longitude)
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,
113 const gz::math::Vector3d &_size,
114 const gz::math::Vector3d &_scale,
124 private:
void GeoReference(
double _x,
double _y,
125 gz::math::Angle &_latitude,
126 gz::math::Angle &_longitude)
const;
132 private:
int LoadData();
Forward declarations for the common classes.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: gz/common/SuppressWarning.hh:65
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/common/SuppressWarning.hh:68