21 #include <ignition/math/Pose3.hh> 24 #include "sdf/sdf_config.h" 30 inline namespace SDF_VERSION_NAMESPACE {
75 public: std::string Name()
const;
80 public:
void SetName(
const std::string &_name);
86 public:
bool Static()
const;
92 public:
void SetStatic(
bool _static);
99 public:
bool SelfCollide()
const;
105 public:
void SetSelfCollide(
bool _selfCollide);
111 public:
bool AllowAutoDisable()
const;
117 public:
void SetAllowAutoDisable(
bool _allowAutoDisable);
123 public:
bool EnableWind()
const;
128 public:
void SetEnableWind(
bool _enableWind);
132 public: uint64_t LinkCount()
const;
139 public:
const Link *LinkByIndex(
const uint64_t _index)
const;
144 public:
const Link *LinkByName(
const std::string &_name)
const;
149 public:
bool LinkNameExists(
const std::string &_name)
const;
153 public: uint64_t JointCount()
const;
160 public:
const Joint *JointByIndex(
const uint64_t _index)
const;
165 public:
bool JointNameExists(
const std::string &_name)
const;
172 public:
const Joint *JointByName(
const std::string &_name)
const;
179 public:
const ignition::math::Pose3d &Pose()
const;
184 public:
void SetPose(
const ignition::math::Pose3d &_pose);
190 public:
const std::string &PoseFrame()
const;
196 public:
void SetPoseFrame(
const std::string &_frame);
205 private: ModelPrivate *dataPtr =
nullptr;
class SDFORMAT_VISIBLE Element
Definition: Element.hh:47
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