A packed rgb specialization of the comparison object. More...
#include <conditional_removal.h>
Public Member Functions | |
virtual bool | evaluate (const PointT &point) const |
Determine the result of this comparison. | |
PackedRGBComparison (std::string component_name, ComparisonOps::CompareOp op, double compare_val) | |
Construct a PackedRGBComparison. | |
virtual | ~PackedRGBComparison () |
Destructor. | |
Protected Attributes | |
double | compare_val_ |
All types (that we care about) can be represented as a double. | |
std::string | component_name_ |
The name of the component. | |
uint32_t | component_offset_ |
The offset of the component. | |
Private Member Functions | |
PackedRGBComparison () |
A packed rgb specialization of the comparison object.
Definition at line 191 of file conditional_removal.h.
pcl::PackedRGBComparison< PointT >::PackedRGBComparison | ( | std::string | component_name, |
ComparisonOps::CompareOp | op, | ||
double | compare_val | ||
) |
Construct a PackedRGBComparison.
component_name | either "r", "g" or "b" |
op | the operator to use when making the comparison |
compare_val | the constant value to compare the component value too |
Definition at line 140 of file conditional_removal.hpp.
virtual pcl::PackedRGBComparison< PointT >::~PackedRGBComparison | ( | ) | [inline, virtual] |
Destructor.
Definition at line 205 of file conditional_removal.h.
pcl::PackedRGBComparison< PointT >::PackedRGBComparison | ( | ) | [inline, private] |
Definition at line 225 of file conditional_removal.h.
bool pcl::PackedRGBComparison< 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 203 of file conditional_removal.hpp.
double pcl::PackedRGBComparison< PointT >::compare_val_ [protected] |
All types (that we care about) can be represented as a double.
Definition at line 222 of file conditional_removal.h.
std::string pcl::PackedRGBComparison< PointT >::component_name_ [protected] |
The name of the component.
Definition at line 216 of file conditional_removal.h.
uint32_t pcl::PackedRGBComparison< PointT >::component_offset_ [protected] |
The offset of the component.
Definition at line 219 of file conditional_removal.h.