Gazebo Common

API Reference

6.1.0
HeightmapUtil.hh File Reference
#include <memory>
#include <string>
#include <gz/math/SphericalCoordinates.hh>
#include <gz/common/geospatial/Export.hh>
#include "gz/common/geospatial/HeightmapData.hh"

Go to the source code of this file.

Namespaces

namespace  gz
 Forward declarations for the common classes.
 
namespace  gz::common
 

Functions

bool GZ_COMMON_GEOSPATIAL_VISIBLE isSupportedImageHeightmapFileExtension (const std::string &_filename)
 Check if input file has a file extension that can be loaded as an ImageHeightmap.
 
std::unique_ptr< HeightmapData > GZ_COMMON_GEOSPATIAL_VISIBLE loadHeightmapData (const std::string &_filename, const math::SphericalCoordinates &_sphericalCoordinates=math::SphericalCoordinates())
 Load a heightmap from file.