The field-based specialization of the comparison object. More...
#include <conditional_removal.h>
Public Types | |
typedef boost::shared_ptr < const FieldComparison < PointT > > | ConstPtr |
typedef boost::shared_ptr < FieldComparison< PointT > > | Ptr |
Public Member Functions | |
virtual bool | evaluate (const PointT &point) const |
Determine the result of this comparison. | |
FieldComparison (std::string field_name, ComparisonOps::CompareOp op, double compare_val) | |
Construct a FieldComparison. | |
FieldComparison (const FieldComparison &src) | |
Copy constructor. | |
FieldComparison & | operator= (const FieldComparison &src) |
Copy operator. | |
virtual | ~FieldComparison () |
Destructor. | |
Protected Attributes | |
double | compare_val_ |
All types (that we care about) can be represented as a double. | |
PointDataAtOffset< PointT > * | point_data_ |
The point data to compare. | |
Private Member Functions | |
FieldComparison () |
The field-based specialization of the comparison object.
Definition at line 128 of file conditional_removal.h.
typedef boost::shared_ptr<const FieldComparison<PointT> > pcl::FieldComparison< PointT >::ConstPtr |
Reimplemented from pcl::ComparisonBase< PointT >.
Definition at line 136 of file conditional_removal.h.
typedef boost::shared_ptr<FieldComparison<PointT> > pcl::FieldComparison< PointT >::Ptr |
Reimplemented from pcl::ComparisonBase< PointT >.
Definition at line 135 of file conditional_removal.h.
pcl::FieldComparison< PointT >::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 50 of file conditional_removal.hpp.
pcl::FieldComparison< PointT >::FieldComparison | ( | const FieldComparison< PointT > & | src | ) | [inline] |
Copy constructor.
[in] | src | the field comparison object to copy into this |
Definition at line 148 of file conditional_removal.h.
pcl::FieldComparison< PointT >::~FieldComparison | ( | ) | [virtual] |
Destructor.
Definition at line 94 of file conditional_removal.hpp.
pcl::FieldComparison< PointT >::FieldComparison | ( | ) | [inline, private] |
Definition at line 182 of file conditional_removal.h.
bool pcl::FieldComparison< 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 105 of file conditional_removal.hpp.
FieldComparison& pcl::FieldComparison< PointT >::operator= | ( | const FieldComparison< PointT > & | src | ) | [inline] |
Copy operator.
[in] | src | the field comparison object to copy into this |
Definition at line 157 of file conditional_removal.h.
double pcl::FieldComparison< PointT >::compare_val_ [protected] |
All types (that we care about) can be represented as a double.
Definition at line 176 of file conditional_removal.h.
PointDataAtOffset<PointT>* pcl::FieldComparison< PointT >::point_data_ [protected] |
The point data to compare.
Definition at line 179 of file conditional_removal.h.