18 #ifndef _GAZEBO_DEM_HH_
19 #define _GAZEBO_DEM_HH_
21 #include <gazebo/gazebo_config.h>
25 # include <gdal/gdal_priv.h>
48 public:
virtual ~
Dem();
53 public:
int Load(
const std::string &_filename=
"");
59 public:
double GetElevation(
double _x,
double _y);
63 public:
float GetMinElevation()
const;
67 public:
float GetMaxElevation()
const;
73 public:
void GetGeoReferenceOrigin(
math::Angle &_latitude,
83 public:
unsigned int GetHeight()
const;
92 public:
unsigned int GetWidth()
const;
96 public:
double GetWorldWidth()
const;
100 public:
double GetWorldHeight()
const;
112 public:
void FillHeightMap(
int _subSampling,
unsigned int _vertSize,
114 std::vector<float> &_heights);
122 private:
void GetGeoReference(
double _x,
double _y,
130 private:
int LoadData();
Private data for the Dem class.
Definition: DemPrivate.hh:37
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
Encapsulates a generic heightmap data file.
Definition: HeightmapData.hh:34
An angle and related functions.
Definition: Angle.hh:52
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48