pcl::FieldComparison< PointT > Class Template Reference

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

#include <conditional_removal.h>

Inheritance diagram for pcl::FieldComparison< PointT >:
Inheritance graph
[legend]

List of all members.

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.
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 ()

Detailed Description

template<typename PointT>
class pcl::FieldComparison< PointT >

The field-based specialization of the comparison object.

Definition at line 115 of file conditional_removal.h.


Member Typedef Documentation

template<typename PointT>
typedef boost::shared_ptr<const FieldComparison<PointT> > pcl::FieldComparison< PointT >::ConstPtr

Reimplemented from pcl::ComparisonBase< PointT >.

Definition at line 123 of file conditional_removal.h.

template<typename PointT>
typedef boost::shared_ptr<FieldComparison<PointT> > pcl::FieldComparison< PointT >::Ptr

Reimplemented from pcl::ComparisonBase< PointT >.

Definition at line 122 of file conditional_removal.h.


Constructor & Destructor Documentation

template<typename PointT >
pcl::FieldComparison< PointT >::FieldComparison ( std::string  field_name,
ComparisonOps::CompareOp  op,
double  compare_val 
) [inline]

Construct a FieldComparison.

Parameters:
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 47 of file conditional_removal.hpp.

template<typename PointT >
pcl::FieldComparison< PointT >::~FieldComparison (  )  [inline, virtual]

Destructor.

Definition at line 91 of file conditional_removal.hpp.

template<typename PointT>
pcl::FieldComparison< PointT >::FieldComparison (  )  [inline, private]

Definition at line 150 of file conditional_removal.h.


Member Function Documentation

template<typename PointT >
bool pcl::FieldComparison< PointT >::evaluate ( const PointT &  point  )  const [inline, virtual]

Determine the result of this comparison.

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

Implements pcl::ComparisonBase< PointT >.

Definition at line 102 of file conditional_removal.hpp.


Member Data Documentation

template<typename PointT>
double pcl::FieldComparison< PointT >::compare_val_ [protected]

All types (that we care about) can be represented as a double.

Definition at line 144 of file conditional_removal.h.

template<typename PointT>
PointDataAtOffset<PointT>* pcl::FieldComparison< PointT >::point_data_ [protected]

The point data to compare.

Definition at line 147 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


pcl
Author(s): See http://pcl.ros.org/authors for the complete list of authors.
autogenerated on Fri Jan 11 09:57:17 2013