Go to the documentation of this file.
17 #ifndef SDF_GEOMETRY_HH_
18 #define SDF_GEOMETRY_HH_
20 #include <ignition/utils/ImplPtr.hh>
23 #include <sdf/sdf_config.h>
28 inline namespace SDF_VERSION_NAMESPACE {
103 public:
const Box *BoxShape()
const;
107 public:
void SetBoxShape(
const Box &_box);
114 public:
const Capsule *CapsuleShape()
const;
118 public:
void SetCapsuleShape(
const Capsule &_capsule);
125 public:
const Cylinder *CylinderShape()
const;
129 public:
void SetCylinderShape(
const Cylinder &_cylinder);
136 public:
const Ellipsoid *EllipsoidShape()
const;
140 public:
void SetEllipsoidShape(
const Ellipsoid &_ellipsoid);
147 public:
const Sphere *SphereShape()
const;
151 public:
void SetSphereShape(
const Sphere &_sphere);
158 public:
const Plane *PlaneShape()
const;
162 public:
void SetPlaneShape(
const Plane &_plane);
169 public:
const Mesh *MeshShape()
const;
173 public:
void SetMeshShape(
const Mesh &_mesh);
180 public:
const Heightmap *HeightmapShape()
const;
184 public:
void SetHeightmapShape(
const Heightmap &_heightmap);
193 IGN_UTILS_IMPL_PTR(dataPtr)
Plane represents a plane shape, and is usually accessed through a Geometry.
Definition: Plane.hh:36
@ CYLINDER
A cylinder geometry.
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
@ EMPTY
Empty geometry. This means no shape has been defined.
Geometry provides access to a shape, such as a Box.
Definition: Geometry.hh:77
GeometryType
Definition: Geometry.hh:43
namespace for Simulation Description Format parser
Definition: Actor.hh:33
Cylinder represents a cylinder shape, and is usually accessed through a Geometry.
Definition: Cylinder.hh:32
Ellipsoid represents a ellipsoid shape, and is usually accessed through a Geometry.
Definition: Ellipsoid.hh:32
@ SPHERE
A sphere geometry.
@ ELLIPSOID
An ellipsoid geometry.
#define SDFORMAT_VISIBLE
Definition: system_util.hh:41
Box represents a box shape, and is usually accessed through a Geometry.
Definition: Box.hh:33
Sphere represents a sphere shape, and is usually accessed through a Geometry.
Definition: Sphere.hh:33
Mesh represents a mesh shape, and is usually accessed through a Geometry.
Definition: Mesh.hh:35
Capsule represents a capsule shape, and is usually accessed through a Geometry.
Definition: Capsule.hh:32
@ CAPSULE
A capsule geometry.
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
Heightmap represents a shape defined by a 2D field, and is usually accessed through a Geometry.
Definition: Heightmap.hh:119
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106
@ HEIGHTMAP
A heightmap geometry.