A packed HSI specialization of the comparison object. More...
#include <conditional_removal.h>
Public Types | |
enum | ComponentId { H, S, I } |
Public Member Functions | |
virtual bool | evaluate (const PointT &point) const |
Determine the result of this comparison. | |
PackedHSIComparison (std::string component_name, ComparisonOps::CompareOp op, double compare_val) | |
Construct a PackedHSIComparison. | |
virtual | ~PackedHSIComparison () |
Destructor. | |
Protected Attributes | |
double | compare_val_ |
All types (that we care about) can be represented as a double. | |
ComponentId | component_id_ |
The ID of the component. | |
std::string | component_name_ |
The name of the component. | |
uint32_t | rgb_offset_ |
The offset of the component. | |
Private Member Functions | |
PackedHSIComparison () |
A packed HSI specialization of the comparison object.
Definition at line 235 of file conditional_removal.h.
enum pcl::PackedHSIComparison::ComponentId |
Definition at line 258 of file conditional_removal.h.
pcl::PackedHSIComparison< PointT >::PackedHSIComparison | ( | std::string | component_name, |
ComparisonOps::CompareOp | op, | ||
double | compare_val | ||
) |
Construct a PackedHSIComparison.
component_name | either "h", "s" or "i" |
op | the operator to use when making the comparison |
compare_val | the constant value to compare the component value too |
Definition at line 232 of file conditional_removal.hpp.
virtual pcl::PackedHSIComparison< PointT >::~PackedHSIComparison | ( | ) | [inline, virtual] |
Destructor.
Definition at line 249 of file conditional_removal.h.
pcl::PackedHSIComparison< PointT >::PackedHSIComparison | ( | ) | [inline, private] |
Definition at line 279 of file conditional_removal.h.
bool pcl::PackedHSIComparison< PointT >::evaluate | ( | const PointT & | point | ) | const [virtual] |
Determine the result of this comparison.
point | the point to evaluate |
Implements pcl::ComparisonBase< PointT >.
Definition at line 302 of file conditional_removal.hpp.
double pcl::PackedHSIComparison< PointT >::compare_val_ [protected] |
All types (that we care about) can be represented as a double.
Definition at line 273 of file conditional_removal.h.
ComponentId pcl::PackedHSIComparison< PointT >::component_id_ [protected] |
The ID of the component.
Definition at line 270 of file conditional_removal.h.
std::string pcl::PackedHSIComparison< PointT >::component_name_ [protected] |
The name of the component.
Definition at line 267 of file conditional_removal.h.
uint32_t pcl::PackedHSIComparison< PointT >::rgb_offset_ [protected] |
The offset of the component.
Definition at line 276 of file conditional_removal.h.