Type used to identify geometry instances in SceneGraph.
#include <drake/geometry/geometry_ids.h>
Public Member Functions | |
GeometryId ()=default | |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
GeometryId (const GeometryId &)=default | |
GeometryId & | operator= (const GeometryId &)=default |
GeometryId (GeometryId &&)=default | |
GeometryId & | operator= (GeometryId &&)=default |
Public Member Functions inherited from Identifier< class GeometryTag > | |
Identifier () | |
Default constructor; the result is an invalid identifier. More... | |
int64_t | get_value () const |
Extracts the underlying representation from the identifier. More... | |
bool | is_valid () const |
Reports if the id is valid. More... | |
bool | operator== (Identifier other) const |
Compares one identifier with another of the same type for equality. More... | |
bool | operator!= (Identifier other) const |
Compares one identifier with another of the same type for inequality. More... | |
bool | operator< (Identifier other) const |
Compare two identifiers in order to define a total ordering among identifiers. More... | |
bool | is_same_as_valid_id (Identifier valid_id) const |
(Internal use only) Compares this possibly-invalid Identifier with one that is known to be valid and returns false if they don't match. More... | |
Identifier (const Identifier &)=default | |
Identifier (Identifier &&)=default | |
Identifier & | operator= (const Identifier &)=default |
Identifier & | operator= (Identifier &&)=default |
Static Public Member Functions | |
static GeometryId | get_new_id () |
Static Public Member Functions inherited from Identifier< class GeometryTag > | |
static Identifier | get_new_id () |
Generates a new identifier for this id type. More... | |
Friends | |
class | internal::EncodedData |
Additional Inherited Members | |
Protected Member Functions inherited from Identifier< class GeometryTag > | |
Identifier (int64_t val) | |
Related Functions inherited from Identifier< class GeometryTag > | |
std::ostream & | operator<< (std::ostream &out, const Identifier< class GeometryTag > &id) |
Streaming output operator. More... | |
|
default |
|
default |
|
default |
|
static |
|
default |
|
default |
|
friend |