Describes an descriptor field with a name and the descriptor's size.
PointCloud
evolves and more algorithms are mapped into Drake, promoting an descriptor field to a proper field should be considered if (a) it is used frequently enough AND (b) if it is often used in conjunction with other fields. #include <drake/perception/point_cloud_flags.h>
Public Member Functions | |
constexpr | DescriptorType (int size, const char *name) |
int | size () const |
std::string | name () const |
bool | operator== (const DescriptorType &other) const |
bool | operator!= (const DescriptorType &other) const |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
DescriptorType (const DescriptorType &)=default | |
DescriptorType & | operator= (const DescriptorType &)=default |
DescriptorType (DescriptorType &&)=default | |
DescriptorType & | operator= (DescriptorType &&)=default |
|
default |
|
default |
constexpr DescriptorType | ( | int | size, |
const char * | name | ||
) |
std::string name | ( | ) | const |
bool operator!= | ( | const DescriptorType & | other | ) | const |
|
default |
|
default |
bool operator== | ( | const DescriptorType & | other | ) | const |
int size | ( | ) | const |