Point Cloud Library (PCL)
1.3.1
|
The field-based specialization of the comparison object. More...
#include <pcl/filters/conditional_removal.h>
Public Types | |
typedef boost::shared_ptr < FieldComparison< PointT > > | Ptr |
typedef boost::shared_ptr < const FieldComparison < PointT > > | ConstPtr |
Public Member Functions | |
FieldComparison (std::string field_name, ComparisonOps::CompareOp op, double compare_val) | |
Construct a FieldComparison. | |
virtual | ~FieldComparison () |
Destructor. | |
virtual bool | evaluate (const PointT &point) const |
Determine the result of this comparison. | |
bool | isCapable () const |
Return if the comparison is capable. |
The field-based specialization of the comparison object.
typedef boost::shared_ptr<const FieldComparison<PointT> > pcl::FieldComparison::ConstPtr |
Reimplemented from pcl::ComparisonBase< PointT >.
Definition at line 132 of file conditional_removal.h.
typedef boost::shared_ptr<FieldComparison<PointT> > pcl::FieldComparison::Ptr |
Reimplemented from pcl::ComparisonBase< PointT >.
Definition at line 131 of file conditional_removal.h.
pcl::FieldComparison::FieldComparison | ( | std::string | field_name, |
ComparisonOps::CompareOp | op, | ||
double | compare_val | ||
) |
Construct a FieldComparison.
field_name | the name of the field that contains the data we want to compare |
op | the operator to use when making the comparison |
compare_val | the constant value to compare the field value too |
Definition at line 49 of file conditional_removal.hpp.
pcl::FieldComparison::~FieldComparison | ( | ) | [virtual] |
Destructor.
Definition at line 93 of file conditional_removal.hpp.
bool pcl::FieldComparison::evaluate | ( | const PointT & | point | ) | const [virtual] |
Determine the result of this comparison.
point | the point to evaluate |
Implements pcl::ComparisonBase< PointT >.
Definition at line 104 of file conditional_removal.hpp.
bool pcl::ComparisonBase::isCapable | ( | ) | const [inline, inherited] |
Return if the comparison is capable.
Definition at line 98 of file conditional_removal.h.