Allows combination of BaseField and DescriptorType for a PointCloud.
You may combine multiple BaseFields, but you may have only zero or one DescriptorType.
This provides the mechanism to use basic bit-mask operators (| &) to combine / intersect fields for convenience.
#include <drake/perception/point_cloud_flags.h>
|
| std::ostream & | operator<< (std::ostream &os, const Fields &rhs) |
| | Provides human-readable output.
|
◆ Fields() [1/5]
| Fields |
( |
const Fields & | | ) |
|
|
default |
◆ Fields() [2/5]
◆ Fields() [3/5]
◆ Fields() [4/5]
◆ Fields() [5/5]
◆ base_fields()
Returns the contained base fields.
◆ contains()
| bool contains |
( |
const Fields & | rhs | ) |
const |
Returns whether this set of fields contains (is a superset of) rhs.
◆ descriptor_type()
Returns the contained descriptor type.
◆ empty()
◆ has_base_fields()
| bool has_base_fields |
( |
| ) |
const |
Returns whether there are any base fields contained by this set of fields.
◆ has_descriptor()
| bool has_descriptor |
( |
| ) |
const |
Returns whether there is a descriptor contained by this set of fields.
◆ operator!=()
| bool operator!= |
( |
const Fields & | rhs | ) |
const |
◆ operator&()
◆ operator&=()
Provides in-place intersection.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
| bool operator== |
( |
const Fields & | rhs | ) |
const |
◆ operator|()
Provides union.
- See also
- operator|= for preconditions.
◆ operator|=()
Provides in-place union.
- Exceptions
-
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Fields & | rhs ) |
|
friend |
Provides human-readable output.
The documentation for this class was generated from the following file: