Point Cloud Library (PCL)
1.14.1-dev
|
The (abstract) base class for the comparison object. More...
#include <pcl/filters/conditional_removal.h>
Public Types | |
using | Ptr = shared_ptr< ComparisonBase< PointT > > |
using | ConstPtr = shared_ptr< const ComparisonBase< PointT > > |
Public Member Functions | |
ComparisonBase ()=default | |
Constructor. More... | |
virtual | ~ComparisonBase ()=default |
Destructor. More... | |
bool | isCapable () const |
Return if the comparison is capable. More... | |
virtual bool | evaluate (const PointT &point) const =0 |
Evaluate function. More... | |
Protected Attributes | |
bool | capable_ {false} |
True if capable. More... | |
std::string | field_name_ |
Field name to compare data on. More... | |
std::uint32_t | offset_ {0} |
The data offset. More... | |
ComparisonOps::CompareOp | op_ {ComparisonOps::GT} |
The comparison operator type. More... | |
The (abstract) base class for the comparison object.
Definition at line 89 of file conditional_removal.h.
using pcl::ComparisonBase< PointT >::ConstPtr = shared_ptr<const ComparisonBase<PointT> > |
Definition at line 93 of file conditional_removal.h.
using pcl::ComparisonBase< PointT >::Ptr = shared_ptr<ComparisonBase<PointT> > |
Definition at line 92 of file conditional_removal.h.
|
default |
Constructor.
|
virtualdefault |
Destructor.
|
pure virtual |
Evaluate function.
Implemented in pcl::TfQuadraticXYZComparison< PointT >, pcl::PackedHSIComparison< PointT >, pcl::PackedRGBComparison< PointT >, and pcl::FieldComparison< PointT >.
|
inline |
Return if the comparison is capable.
Definition at line 103 of file conditional_removal.h.
References pcl::ComparisonBase< PointT >::capable_.
|
protected |
True if capable.
Definition at line 114 of file conditional_removal.h.
Referenced by pcl::PointDataAtOffset< pcl::PointXYZRGB >::compare(), pcl::FieldComparison< PointT >::FieldComparison(), pcl::ComparisonBase< PointT >::isCapable(), pcl::PackedHSIComparison< PointT >::PackedHSIComparison(), pcl::PackedRGBComparison< PointT >::PackedRGBComparison(), and pcl::TfQuadraticXYZComparison< PointT >::TfQuadraticXYZComparison().
|
protected |
Field name to compare data on.
Definition at line 117 of file conditional_removal.h.
Referenced by pcl::FieldComparison< PointT >::FieldComparison().
|
protected |
The data offset.
Definition at line 120 of file conditional_removal.h.
|
protected |
The comparison operator type.
Definition at line 123 of file conditional_removal.h.
Referenced by pcl::FieldComparison< PointT >::FieldComparison(), pcl::PackedHSIComparison< PointT >::PackedHSIComparison(), pcl::PackedRGBComparison< PointT >::PackedRGBComparison(), pcl::TfQuadraticXYZComparison< PointT >::setComparisonOperator(), and pcl::TfQuadraticXYZComparison< PointT >::TfQuadraticXYZComparison().