17 #ifndef SDF_HEIGHTMAP_HH_    18 #define SDF_HEIGHTMAP_HH_    21 #include <ignition/math/Vector3.hh>    24 #include <sdf/sdf_config.h>    29   inline namespace SDF_VERSION_NAMESPACE {
    33   class HeightmapPrivate;
    34   class HeightmapTexturePrivate;
    35   class HeightmapBlendPrivate;
    74     public: 
double Size() 
const;
    78     public: 
void SetSize(
double _uri);
    82     public: std::string Diffuse() 
const;
    86     public: 
void SetDiffuse(
const std::string &_diffuse);
    90     public: std::string Normal() 
const;
    94     public: 
void SetNormal(
const std::string &_normal);
   102     private: HeightmapTexturePrivate *dataPtr;
   142     public: 
double MinHeight() 
const;
   146     public: 
void SetMinHeight(
double _minHeight);
   150     public: 
double FadeDistance() 
const;
   154     public: 
void SetFadeDistance(
double _fadeDistance);
   162     private: HeightmapBlendPrivate *dataPtr;
   203     public: std::string Uri() 
const;
   207     public: 
void SetUri(
const std::string &_uri);
   211     public: 
const std::string &FilePath() 
const;
   215     public: 
void SetFilePath(
const std::string &_filePath);
   219     public: ignition::math::Vector3d Size() 
const;
   223     public: 
void SetSize(
const ignition::math::Vector3d &_size);
   227     public: ignition::math::Vector3d Position() 
const;
   231     public: 
void SetPosition(
const ignition::math::Vector3d &_position);
   235     public: 
bool UseTerrainPaging() 
const;
   239     public: 
void SetUseTerrainPaging(
bool _use);
   243     public: 
unsigned int Sampling() 
const;
   247     public: 
void SetSampling(
unsigned int _sampling);
   251     public: uint64_t TextureCount() 
const;
   267     public: uint64_t BlendCount() 
const;
   275     public: 
const HeightmapBlend *BlendByIndex(uint64_t _index) 
const;
   287     private: HeightmapPrivate *dataPtr;
 Heightmap represents a shape defined by a 2D field, and is usually accessed through a Geometry...
Definition: Heightmap.hh:167
 
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
 
Blend information to be used between textures on heightmaps. 
Definition: Heightmap.hh:106
 
Texture to be used on heightmaps. 
Definition: Heightmap.hh:38
 
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
 
std::vector< Error > Errors
A vector of Error. 
Definition: Types.hh:89
 
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system_util.hh:48
 
namespace for Simulation Description Format parser 
Definition: Actor.hh:32