Drake
Drake C++ Documentation
DescriptorType Class Referencefinal

Detailed Description

Describes an descriptor field with a name and the descriptor's size.

Note
This is defined as follows to enable an open set of descriptors, but ensure that these descriptor types are appropriately matched. As 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
 
DescriptorTypeoperator= (const DescriptorType &)=default
 
 DescriptorType (DescriptorType &&)=default
 
DescriptorTypeoperator= (DescriptorType &&)=default
 

Constructor & Destructor Documentation

◆ DescriptorType() [1/3]

DescriptorType ( const DescriptorType )
default

◆ DescriptorType() [2/3]

DescriptorType ( DescriptorType &&  )
default

◆ DescriptorType() [3/3]

constexpr DescriptorType ( int  size,
const char *  name 
)

Member Function Documentation

◆ name()

std::string name ( ) const

◆ operator!=()

bool operator!= ( const DescriptorType other) const

◆ operator=() [1/2]

DescriptorType& operator= ( const DescriptorType )
default

◆ operator=() [2/2]

DescriptorType& operator= ( DescriptorType &&  )
default

◆ operator==()

bool operator== ( const DescriptorType other) const

◆ size()

int size ( ) const

The documentation for this class was generated from the following file: