gz/common/HeightmapData.hh
Go to the documentation of this file.
Encapsulates a generic heightmap data file.
Definition: gz/common/HeightmapData.hh:32
virtual float MaxElevation() const =0
Get the maximum terrain's elevation.
virtual void FillHeightMap(int _subSampling, unsigned int _vertSize, const math::Vector3d &_size, const math::Vector3d &_scale, bool _flipY, std::vector< float > &_heights)=0
Create a lookup table of the terrain's height.
virtual unsigned int Height() const =0
Get the terrain's height.
Forward declarations for the common classes.