18 #ifndef _GAZEBO_IMAGE_HEIGHTMAP_DATA_HH_
19 #define _GAZEBO_IMAGE_HEIGHTMAP_DATA_HH_
23 #include <ignition/math/Vector3.hh>
49 public:
int Load(
const std::string &_filename=
"");
52 public:
void FillHeightMap(
int _subSampling,
unsigned int _vertSize,
57 public:
void FillHeightMap(
int _subSampling,
unsigned int _vertSize,
58 const ignition::math::Vector3d &_size,
59 const ignition::math::Vector3d &_scale,
bool _flipY,
60 std::vector<float> &_heights);
64 public: std::string GetFilename()
const;
67 public:
unsigned int GetHeight()
const;
70 public:
unsigned int GetWidth()
const;
73 public:
float GetMaxElevation()
const;
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:44
Encapsulates a generic heightmap data file.
Definition: HeightmapData.hh:39
Encapsulates an image that will be interpreted as a heightmap.
Definition: ImageHeightmap.hh:39
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
Encapsulates an image.
Definition: Image.hh:74