21 #include <ignition/math/Pose3.hh> 24 #include "sdf/sdf_config.h" 30 inline namespace SDF_VERSION_NAMESPACE {
57 public:
Link &operator=(
Link &&_link);
62 public:
Link &operator=(
const Link &_link);
78 public: std::string Name()
const;
83 public:
void SetName(
const std::string &_name)
const;
87 public: uint64_t VisualCount()
const;
94 public:
const Visual *VisualByIndex(
const uint64_t _index)
const;
99 public:
bool VisualNameExists(
const std::string &_name)
const;
104 public:
const Visual *VisualByName(
const std::string &_name)
const;
108 public: uint64_t CollisionCount()
const;
115 public:
const Collision *CollisionByIndex(
const uint64_t _index)
const;
120 public:
bool CollisionNameExists(
const std::string &_name)
const;
125 public:
const Collision *CollisionByName(
const std::string &_name)
const;
129 public: uint64_t LightCount()
const;
136 public:
const Light *LightByIndex(
const uint64_t _index)
const;
141 public:
bool LightNameExists(
const std::string &_name)
const;
146 public:
const Light *LightByName(
const std::string &_name)
const;
150 public: uint64_t SensorCount()
const;
157 public:
const Sensor *SensorByIndex(
const uint64_t _index)
const;
162 public:
bool SensorNameExists(
const std::string &_name)
const;
169 public:
const Sensor *SensorByName(
const std::string &_name)
const;
184 public:
const ignition::math::Inertiald &Inertial()
const;
190 public:
bool SetInertial(
const ignition::math::Inertiald &_inertial);
195 public:
const ignition::math::Pose3d &Pose()
const;
200 public:
void SetPose(
const ignition::math::Pose3d &_pose);
206 public:
const std::string &PoseFrame()
const;
212 public:
void SetPoseFrame(
const std::string &_frame);
224 public:
bool EnableWind()
const;
230 public:
void SetEnableWind(
bool _enableWind);
233 private: LinkPrivate *dataPtr =
nullptr;
Provides a description of a light source.
Definition: Light.hh:59
class SDFORMAT_VISIBLE Element
Definition: Element.hh:47
A collision element descibes the collison properties associated with a link.
Definition: Collision.hh:40
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:51
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:74
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
namespace for Simulation Description Format parser
Definition: AirPressure.hh:25