Go to the documentation of this file.
17 #ifndef SDF_GEOMETRY_HH_
18 #define SDF_GEOMETRY_HH_
22 #include <ignition/utils/ImplPtr.hh>
30 inline namespace SDF_VERSION_NAMESPACE {
109 public:
const Box *BoxShape()
const;
113 public:
void SetBoxShape(
const Box &_box);
120 public:
const Capsule *CapsuleShape()
const;
124 public:
void SetCapsuleShape(
const Capsule &_capsule);
131 public:
const Cylinder *CylinderShape()
const;
135 public:
void SetCylinderShape(
const Cylinder &_cylinder);
142 public:
const Ellipsoid *EllipsoidShape()
const;
146 public:
void SetEllipsoidShape(
const Ellipsoid &_ellipsoid);
153 public:
const Sphere *SphereShape()
const;
157 public:
void SetSphereShape(
const Sphere &_sphere);
163 public:
const std::vector<Polyline> &PolylineShape()
const;
167 public:
void SetPolylineShape(
const std::vector<Polyline> &_polyline);
174 public:
const Plane *PlaneShape()
const;
178 public:
void SetPlaneShape(
const Plane &_plane);
185 public:
const Mesh *MeshShape()
const;
189 public:
void SetMeshShape(
const Mesh &_mesh);
196 public:
const Heightmap *HeightmapShape()
const;
200 public:
void SetHeightmapShape(
const Heightmap &_heightmap);
216 IGN_UTILS_IMPL_PTR(dataPtr)
Sphere represents a sphere shape, and is usually accessed through a Geometry.
Definition: Sphere.hh:33
Box represents a box shape, and is usually accessed through a Geometry.
Definition: Box.hh:33
Plane represents a plane shape, and is usually accessed through a Geometry.
Definition: Plane.hh:36
@ SPHERE
A sphere geometry.
Cylinder represents a cylinder shape, and is usually accessed through a Geometry.
Definition: Cylinder.hh:32
namespace for Simulation Description Format parser
Definition: Actor.hh:34
@ ELLIPSOID
An ellipsoid geometry.
Ellipsoid represents a ellipsoid shape, and is usually accessed through a Geometry.
Definition: Ellipsoid.hh:32
@ POLYLINE
A polyline geometry.
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106
Geometry provides access to a shape, such as a Box.
Definition: Geometry.hh:83
Heightmap represents a shape defined by a 2D field, and is usually accessed through a Geometry.
Definition: Heightmap.hh:119
#define SDFORMAT_VISIBLE
Definition: system_util.hh:25
@ EMPTY
Empty geometry. This means no shape has been defined.
class IGNITION_SDFORMAT_VISIBLE Element
Definition: Element.hh:50
Capsule represents a capsule shape, and is usually accessed through a Geometry.
Definition: Capsule.hh:32
@ HEIGHTMAP
A heightmap geometry.
GeometryType
Definition: Geometry.hh:46
Mesh represents a mesh shape, and is usually accessed through a Geometry.
Definition: Mesh.hh:35
@ CYLINDER
A cylinder geometry.
@ CAPSULE
A capsule geometry.
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:54