Drake
drake::perception::pc_flags Namespace Reference

Point cloud flags. More...

Classes

class  DescriptorType
 Describes an descriptor field with a name and the descriptor's size. More...
 
class  Fields
 Allows combination of BaseField and DescriptorType for a PointCloud. More...
 

Typedefs

typedef int BaseFieldT
 

Enumerations

enum  BaseField : int { kNone = 0, kInherit = 1 << 0, kXYZs = 1 << 1 }
 Indicates the data the point cloud stores. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const Fields &fields)
 
constexpr DescriptorType kDescriptorNone (0, "kDescriptorNone")
 No descriptor. More...
 
constexpr DescriptorType kDescriptorCurvature (1, "kDescriptorCurvature")
 Curvature. More...
 
constexpr DescriptorType kDescriptorFPFH (33, "kDescriptorFPFH")
 Point-feature-histogram. More...
 
Fields operator| (const BaseFieldT &lhs, const DescriptorType &rhs)
 Makes operator| compatible for BaseField + DescriptorType. More...
 
Fields operator| (const DescriptorType &lhs, const Fields &rhs)
 Makes operator| compatible for DescriptorType + Fields (DescriptorType or BaseFields). More...
 

Detailed Description

Point cloud flags.

Typedef Documentation

◆ BaseFieldT

typedef int BaseFieldT

Enumeration Type Documentation

◆ BaseField

enum BaseField : int

Indicates the data the point cloud stores.

Enumerator
kNone 
kInherit 

Inherit other fields.

May imply an intersection of all compatible descriptors.

kXYZs 

XYZ point in Cartesian space.

Function Documentation

◆ kDescriptorCurvature()

constexpr DescriptorType drake::perception::pc_flags::kDescriptorCurvature ( ,
"kDescriptorCurvature"   
)

Curvature.

◆ kDescriptorFPFH()

constexpr DescriptorType drake::perception::pc_flags::kDescriptorFPFH ( 33  ,
"kDescriptorFPFH"   
)

Point-feature-histogram.

◆ kDescriptorNone()

constexpr DescriptorType drake::perception::pc_flags::kDescriptorNone ( ,
"kDescriptorNone"   
)

No descriptor.

◆ operator<<()

std::ostream& drake::perception::pc_flags::operator<< ( std::ostream &  os,
const Fields fields 
)

◆ operator|() [1/2]

Fields drake::perception::pc_flags::operator| ( const BaseFieldT lhs,
const DescriptorType rhs 
)
inline

Makes operator| compatible for BaseField + DescriptorType.

See also
Fields::operator|= for preconditions.

◆ operator|() [2/2]

Fields drake::perception::pc_flags::operator| ( const DescriptorType lhs,
const Fields rhs 
)
inline

Makes operator| compatible for DescriptorType + Fields (DescriptorType or BaseFields).

See also
Fields::operator|= for preconditions.