17 #ifndef SDF_COLLISION_HH_ 18 #define SDF_COLLISION_HH_ 22 #include <ignition/math/Pose3.hh> 23 #include <ignition/utils/ImplPtr.hh> 27 #include "sdf/sdf_config.h" 33 inline namespace SDF_VERSION_NAMESPACE {
38 struct PoseRelativeToGraph;
61 public: std::string Name()
const;
66 public:
void SetName(
const std::string &_name);
70 public:
const Geometry *Geom()
const;
74 public:
void SetGeom(
const Geometry &_geom);
78 public:
const sdf::Surface *
Surface()
const;
82 public:
void SetSurface(
const sdf::Surface &_surface);
88 public:
const ignition::math::Pose3d &RawPose()
const;
93 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
99 public:
const std::string &PoseRelativeTo()
const;
105 public:
void SetPoseRelativeTo(
const std::string &_frame);
122 private:
void SetXmlParentName(
const std::string &_xmlParentName);
128 private:
void SetPoseRelativeToGraph(
129 sdf::ScopedGraph<PoseRelativeToGraph> _graph);
137 IGN_UTILS_IMPL_PTR(dataPtr)
Definition: Collision.hh:39
Geometry provides access to a shape, such as a Box.
Definition: Geometry.hh:77
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:98
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:41
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
A collision element descibes the collision properties associated with a link.
Definition: Collision.hh:45
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:54
Surface information for a collision.
Definition: Surface.hh:62
namespace for Simulation Description Format parser
Definition: Actor.hh:33