17 #ifndef SDF_HEIGHTMAP_HH_ 18 #define SDF_HEIGHTMAP_HH_ 21 #include <ignition/math/Vector3.hh> 22 #include <ignition/utils/ImplPtr.hh> 25 #include <sdf/sdf_config.h> 30 inline namespace SDF_VERSION_NAMESPACE {
47 public:
double Size()
const;
51 public:
void SetSize(
double _uri);
55 public: std::string Diffuse()
const;
59 public:
void SetDiffuse(
const std::string &_diffuse);
63 public: std::string Normal()
const;
67 public:
void SetNormal(
const std::string &_normal);
75 IGN_UTILS_IMPL_PTR(dataPtr)
94 public:
double MinHeight()
const;
98 public:
void SetMinHeight(
double _minHeight);
102 public:
double FadeDistance()
const;
106 public:
void SetFadeDistance(
double _fadeDistance);
114 IGN_UTILS_IMPL_PTR(dataPtr)
134 public: std::string Uri()
const;
138 public:
void SetUri(
const std::string &_uri);
142 public:
const std::string &FilePath()
const;
146 public:
void SetFilePath(
const std::string &_filePath);
150 public: ignition::math::Vector3d Size()
const;
154 public:
void SetSize(
const ignition::math::Vector3d &_size);
158 public: ignition::math::Vector3d Position()
const;
162 public:
void SetPosition(
const ignition::math::Vector3d &_position);
166 public:
bool UseTerrainPaging()
const;
170 public:
void SetUseTerrainPaging(
bool _use);
174 public:
unsigned int Sampling()
const;
178 public:
void SetSampling(
unsigned int _sampling);
182 public: uint64_t TextureCount()
const;
198 public: uint64_t BlendCount()
const;
206 public:
const HeightmapBlend *BlendByIndex(uint64_t _index)
const;
218 IGN_UTILS_IMPL_PTR(dataPtr)
Texture to be used on heightmaps.
Definition: Heightmap.hh:32
Blend information to be used between textures on heightmaps.
Definition: Heightmap.hh:79
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:98
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:41
Heightmap represents a shape defined by a 2D field, and is usually accessed through a Geometry...
Definition: Heightmap.hh:119
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
namespace for Simulation Description Format parser
Definition: Actor.hh:33