Point Cloud Library (PCL)  1.3.1
Public Types | Public Member Functions
pcl::FieldComparison Class Reference

The field-based specialization of the comparison object. More...

#include <pcl/filters/conditional_removal.h>

Inheritance diagram for pcl::FieldComparison:
Inheritance graph
[legend]
Collaboration diagram for pcl::FieldComparison:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

The field-based specialization of the comparison object.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

pcl::FieldComparison::FieldComparison ( std::string  field_name,
ComparisonOps::CompareOp  op,
double  compare_val 
)

Construct a FieldComparison.

Parameters:
field_namethe name of the field that contains the data we want to compare
opthe operator to use when making the comparison
compare_valthe 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.


Member Function Documentation

bool pcl::FieldComparison::evaluate ( const PointT &  point) const [virtual]

Determine the result of this comparison.

Parameters:
pointthe point to evaluate
Returns:
the result of this comparison.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines