The (abstract) base class for the comparison object. More...
#include <conditional_removal.h>
Public Types | |
typedef boost::shared_ptr < const ComparisonBase< PointT > > | ConstPtr |
typedef boost::shared_ptr < ComparisonBase< PointT > > | Ptr |
Public Member Functions | |
ComparisonBase () | |
Constructor. | |
virtual bool | evaluate (const PointT &point) const =0 |
Evaluate function. | |
bool | isCapable () const |
Return if the comparison is capable. | |
virtual | ~ComparisonBase () |
Destructor. | |
Protected Attributes | |
bool | capable_ |
True if capable. | |
std::string | field_name_ |
Field name to compare data on. | |
uint32_t | offset_ |
The data offset. | |
ComparisonOps::CompareOp | op_ |
The comparison operator type. |
The (abstract) base class for the comparison object.
Definition at line 88 of file conditional_removal.h.
typedef boost::shared_ptr< const ComparisonBase<PointT> > pcl::ComparisonBase< PointT >::ConstPtr |
Reimplemented in pcl::TfQuadraticXYZComparison< PointT >, pcl::PackedHSIComparison< PointT >, pcl::PackedRGBComparison< PointT >, and pcl::FieldComparison< PointT >.
Definition at line 92 of file conditional_removal.h.
typedef boost::shared_ptr< ComparisonBase<PointT> > pcl::ComparisonBase< PointT >::Ptr |
Reimplemented in pcl::TfQuadraticXYZComparison< PointT >, pcl::PackedHSIComparison< PointT >, pcl::PackedRGBComparison< PointT >, and pcl::FieldComparison< PointT >.
Definition at line 91 of file conditional_removal.h.
pcl::ComparisonBase< PointT >::ComparisonBase | ( | ) | [inline] |
Constructor.
Definition at line 95 of file conditional_removal.h.
virtual pcl::ComparisonBase< PointT >::~ComparisonBase | ( | ) | [inline, virtual] |
Destructor.
Definition at line 98 of file conditional_removal.h.
virtual bool pcl::ComparisonBase< PointT >::evaluate | ( | const PointT & | point | ) | const [pure virtual] |
Evaluate function.
Implemented in pcl::TfQuadraticXYZComparison< PointT >, pcl::PackedHSIComparison< PointT >, pcl::PackedRGBComparison< PointT >, and pcl::FieldComparison< PointT >.
bool pcl::ComparisonBase< PointT >::isCapable | ( | ) | const [inline] |
Return if the comparison is capable.
Definition at line 102 of file conditional_removal.h.
bool pcl::ComparisonBase< PointT >::capable_ [protected] |
True if capable.
Definition at line 113 of file conditional_removal.h.
std::string pcl::ComparisonBase< PointT >::field_name_ [protected] |
Field name to compare data on.
Definition at line 116 of file conditional_removal.h.
uint32_t pcl::ComparisonBase< PointT >::offset_ [protected] |
The data offset.
Definition at line 119 of file conditional_removal.h.
ComparisonOps::CompareOp pcl::ComparisonBase< PointT >::op_ [protected] |
The comparison operator type.
Definition at line 122 of file conditional_removal.h.