Go to the documentation of this file.
23 #include <ignition/math/Pose3.hh>
24 #include <ignition/utils/ImplPtr.hh>
28 #include "sdf/sdf_config.h"
34 inline namespace SDF_VERSION_NAMESPACE {
44 struct PoseRelativeToGraph;
45 struct FrameAttachedToGraph;
46 template <
typename T>
class ScopedGraph;
73 public: std::string Name()
const;
78 public:
void SetName(
const std::string &_name);
84 public:
bool Static()
const;
90 public:
void SetStatic(
bool _static);
97 public:
bool SelfCollide()
const;
103 public:
void SetSelfCollide(
bool _selfCollide);
109 public:
bool AllowAutoDisable()
const;
115 public:
void SetAllowAutoDisable(
bool _allowAutoDisable);
121 public:
bool EnableWind()
const;
126 public:
void SetEnableWind(
bool _enableWind);
133 public: uint64_t LinkCount()
const;
140 public:
const Link *LinkByIndex(
const uint64_t _index)
const;
147 public:
const Link *LinkByName(
const std::string &_name)
const;
154 public:
bool LinkNameExists(
const std::string &_name)
const;
161 public: uint64_t JointCount()
const;
168 public:
const Joint *JointByIndex(
const uint64_t _index)
const;
175 public:
bool JointNameExists(
const std::string &_name)
const;
184 public:
const Joint *JointByName(
const std::string &_name)
const;
191 public: uint64_t FrameCount()
const;
200 public:
const Frame *FrameByIndex(
const uint64_t _index)
const;
208 public:
const Frame *FrameByName(
const std::string &_name)
const;
215 public:
bool FrameNameExists(
const std::string &_name)
const;
222 public: uint64_t ModelCount()
const;
230 public:
const Model *ModelByIndex(
const uint64_t _index)
const;
237 public:
bool ModelNameExists(
const std::string &_name)
const;
246 public:
const Model *ModelByName(
const std::string &_name)
const;
253 public:
const ignition::math::Pose3d &RawPose()
const;
258 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
262 public:
const Link *CanonicalLink()
const;
268 public:
const std::string &CanonicalLinkName()
const;
274 public:
void SetCanonicalLinkName(
const std::string &_canonicalLink);
280 public:
const std::string &PoseRelativeTo()
const;
286 public:
void SetPoseRelativeTo(
const std::string &_frame);
301 public:
const std::string &PlacementFrameName()
const;
306 public:
void SetPlacementFrameName(
const std::string &_name);
315 public: std::pair<const Link *, std::string> CanonicalLinkAndRelativeName()
322 public: uint64_t InterfaceModelCount()
const;
330 public: std::shared_ptr<const InterfaceModel> InterfaceModelByIndex(
331 const uint64_t _index)
const;
340 public:
const NestedInclude *InterfaceModelNestedIncludeByIndex(
341 const uint64_t _index)
const;
348 private:
void SetPoseRelativeToGraph(
356 private:
void SetFrameAttachedToGraph(
366 IGN_UTILS_IMPL_PTR(dataPtr)
Definition: Collision.hh:39
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:54
namespace for Simulation Description Format parser
Definition: Actor.hh:33
This class contains configuration options for the libsdformat parser.
Definition: ParserConfig.hh:84
Contains the necessary information about an included model file for custom model parsers to be able t...
Definition: InterfaceElements.hh:43
#define SDFORMAT_VISIBLE
Definition: system_util.hh:41
A Frame element descibes the properties associated with an explicit frame defined in a Model or World...
Definition: Frame.hh:42
Root class that acts as an entry point to the SDF document model.
Definition: Root.hh:54
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106