#include <drake/geometry/shape_specification.h>
Public Member Functions | |
ShapeName ()=default | |
ShapeName (const Shape &shape) | |
Constructs a ShapeName from the given shape such that string() already contains the string representation of shape . More... | |
~ShapeName () final | |
std::string | name () const |
Returns the name of the last shape reified. More... | |
Public Member Functions inherited from ShapeReifier | |
virtual | ~ShapeReifier () |
virtual void | ImplementGeometry (const Box &box, void *user_data) |
virtual void | ImplementGeometry (const Capsule &capsule, void *user_data) |
virtual void | ImplementGeometry (const Convex &convex, void *user_data) |
virtual void | ImplementGeometry (const Cylinder &cylinder, void *user_data) |
virtual void | ImplementGeometry (const Ellipsoid &ellipsoid, void *user_data) |
virtual void | ImplementGeometry (const HalfSpace &half_space, void *user_data) |
virtual void | ImplementGeometry (const Mesh &mesh, void *user_data) |
virtual void | ImplementGeometry (const MeshcatCone &cone, void *user_data) |
virtual void | ImplementGeometry (const Sphere &sphere, void *user_data) |
Additional Inherited Members | |
Protected Member Functions inherited from ShapeReifier | |
ShapeReifier ()=default | |
virtual void | ThrowUnsupportedGeometry (const std::string &shape_name) |
Derived ShapeReifiers can replace the default message for unsupported geometries by overriding this method. More... | |
ShapeReifier (const ShapeReifier &)=default | |
ShapeReifier & | operator= (const ShapeReifier &)=default |
ShapeReifier (ShapeReifier &&)=default | |
ShapeReifier & | operator= (ShapeReifier &&)=default |
|
default |
Constructs a ShapeName from the given shape
such that string()
already contains the string representation of shape
.
|
final |
std::string name | ( | ) | const |
Returns the name of the last shape reified.
Empty if no shape has been reified yet.