Drake
Drake C++ Documentation
drake::perception::pc_flags Namespace Reference

Detailed Description

Point cloud flags.

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, kNormals = 1 << 2,
  kRGBs = 1 << 3
}
 Indicates the data the point cloud stores. More...
 

Functions

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...
 

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.

kNormals 

Normals.

kRGBs 

RGB colors.

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|() [1/2]

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

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 
)

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

See also
Fields::operator|= for preconditions.