18 #ifndef _GAZEBO_IMAGE_HEIGHTMAP_DATA_HH_
19 #define _GAZEBO_IMAGE_HEIGHTMAP_DATA_HH_
23 #include <ignition/math/Vector3.hh>
48 public:
int Load(
const std::string &_filename=
"");
51 public:
void FillHeightMap(
int _subSampling,
unsigned int _vertSize,
52 const ignition::math::Vector3d &_size,
53 const ignition::math::Vector3d &_scale,
bool _flipY,
54 std::vector<float> &_heights);
58 public: std::string GetFilename()
const;
61 public:
unsigned int GetHeight()
const;
64 public:
unsigned int GetWidth()
const;
67 public:
float GetMaxElevation()
const;
Encapsulates a generic heightmap data file.
Definition: HeightmapData.hh:39
Encapsulates an image that will be interpreted as a heightmap.
Definition: ImageHeightmap.hh:38
Encapsulates an image.
Definition: Image.hh:75