#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... | |
Implementation of ShapeReifier interface | |
void | ImplementGeometry (const Sphere &, void *) final |
void | ImplementGeometry (const Cylinder &, void *) final |
void | ImplementGeometry (const HalfSpace &, void *) final |
void | ImplementGeometry (const Box &, void *) final |
void | ImplementGeometry (const Capsule &, void *) final |
void | ImplementGeometry (const Ellipsoid &, void *) final |
void | ImplementGeometry (const Mesh &, void *) final |
void | ImplementGeometry (const Convex &, void *) final |
void | ImplementGeometry (const MeshcatCone &, void *) final |
virtual void | ImplementGeometry (const Sphere &sphere, void *user_data) |
virtual void | ImplementGeometry (const Cylinder &cylinder, void *user_data) |
virtual void | ImplementGeometry (const HalfSpace &half_space, void *user_data) |
virtual void | ImplementGeometry (const Box &box, void *user_data) |
virtual void | ImplementGeometry (const Capsule &capsule, void *user_data) |
virtual void | ImplementGeometry (const Ellipsoid &ellipsoid, void *user_data) |
virtual void | ImplementGeometry (const Mesh &mesh, void *user_data) |
virtual void | ImplementGeometry (const Convex &convex, void *user_data) |
virtual void | ImplementGeometry (const MeshcatCone &cone, void *user_data) |
![]() | |
virtual | ~ShapeReifier () |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &out, const ShapeName &name) |
Additional Inherited Members | |
![]() | |
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 |
virtual void ImplementGeometry |
virtual void ImplementGeometry |
virtual void ImplementGeometry |
virtual void ImplementGeometry |
virtual void ImplementGeometry |
virtual void ImplementGeometry |
virtual void ImplementGeometry |
virtual void ImplementGeometry |
virtual void ImplementGeometry |
|
finalvirtual |
Reimplemented from ShapeReifier.
|
finalvirtual |
Reimplemented from ShapeReifier.
|
finalvirtual |
Reimplemented from ShapeReifier.
|
finalvirtual |
Reimplemented from ShapeReifier.
|
finalvirtual |
Reimplemented from ShapeReifier.
|
finalvirtual |
Reimplemented from ShapeReifier.
|
finalvirtual |
Reimplemented from ShapeReifier.
|
finalvirtual |
Reimplemented from ShapeReifier.
|
finalvirtual |
Reimplemented from ShapeReifier.
std::string name | ( | ) | const |
Returns the name of the last shape reified.
Empty if no shape has been reified yet.
|
related |