23 #include <ignition/math/Pose3.hh> 27 #include "sdf/sdf_config.h" 33 inline namespace SDF_VERSION_NAMESPACE {
41 struct PoseRelativeToGraph;
80 public: std::string Name()
const;
85 public:
void SetName(
const std::string &_name);
91 public:
bool Static()
const;
97 public:
void SetStatic(
bool _static);
104 public:
bool SelfCollide()
const;
110 public:
void SetSelfCollide(
bool _selfCollide);
116 public:
bool AllowAutoDisable()
const;
122 public:
void SetAllowAutoDisable(
bool _allowAutoDisable);
128 public:
bool EnableWind()
const;
133 public:
void SetEnableWind(
bool _enableWind);
137 public: uint64_t LinkCount()
const;
144 public:
const Link *LinkByIndex(
const uint64_t _index)
const;
149 public:
const Link *LinkByName(
const std::string &_name)
const;
154 public:
bool LinkNameExists(
const std::string &_name)
const;
158 public: uint64_t JointCount()
const;
165 public:
const Joint *JointByIndex(
const uint64_t _index)
const;
170 public:
bool JointNameExists(
const std::string &_name)
const;
177 public:
const Joint *JointByName(
const std::string &_name)
const;
181 public: uint64_t FrameCount()
const;
189 public:
const Frame *FrameByIndex(
const uint64_t _index)
const;
195 public:
const Frame *FrameByName(
const std::string &_name)
const;
200 public:
bool FrameNameExists(
const std::string &_name)
const;
204 public: uint64_t ModelCount()
const;
211 public:
const Model *ModelByIndex(
const uint64_t _index)
const;
216 public:
bool ModelNameExists(
const std::string &_name)
const;
223 public:
const Model *ModelByName(
const std::string &_name)
const;
231 public:
const ignition::math::Pose3d &Pose()
const 238 public:
void SetPose(
const ignition::math::Pose3d &_pose)
246 public:
const ignition::math::Pose3d &RawPose()
const;
251 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
255 public:
const Link *CanonicalLink()
const;
261 public:
const std::string &CanonicalLinkName()
const;
267 public:
void SetCanonicalLinkName(
const std::string &_canonicalLink);
273 public:
const std::string &PoseRelativeTo()
const;
279 public:
void SetPoseRelativeTo(
const std::string &_frame);
286 public:
const std::string &PoseFrame()
const 294 public:
void SetPoseFrame(
const std::string &_frame)
314 std::weak_ptr<const PoseRelativeToGraph> _graph);
320 private: std::pair<const Link *, std::string> CanonicalLinkAndRelativeName()
328 friend std::pair<const Link *, std::string>
329 modelCanonicalLinkAndRelativeName(
const Model *);
332 private: ModelPrivate *dataPtr =
nullptr;
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
A Frame element descibes the properties associated with an explicit frame defined in a Model or World...
Definition: Frame.hh:41
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
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:53
namespace for Simulation Description Format parser
Definition: Actor.hh:32
#define SDF_DEPRECATED(version)
Definition: Types.hh:38