Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Types | Public Member Functions | Protected Attributes
pcl::ComparisonBase< PointT > Class Template Referenceabstract

The (abstract) base class for the comparison object. More...

#include <pcl/filters/conditional_removal.h>

+ Inheritance diagram for pcl::ComparisonBase< PointT >:

Public Types

typedef boost::shared_ptr< ComparisonBase< PointT > > Ptr
 
typedef boost::shared_ptr< const ComparisonBase< PointT > > ConstPtr
 

Public Member Functions

 ComparisonBase ()
 Constructor. More...
 
virtual ~ComparisonBase ()
 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_
 True if capable. More...
 
std::string field_name_
 Field name to compare data on. More...
 
uint32_t offset_
 The data offset. More...
 
ComparisonOps::CompareOp op_
 The comparison operator type. More...
 

Detailed Description

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

The (abstract) base class for the comparison object.

Definition at line 88 of file conditional_removal.h.

Member Typedef Documentation

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

Definition at line 92 of file conditional_removal.h.

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

Definition at line 91 of file conditional_removal.h.

Constructor & Destructor Documentation

template<typename PointT>
pcl::ComparisonBase< PointT >::ComparisonBase ( )
inline

Constructor.

Definition at line 95 of file conditional_removal.h.

template<typename PointT>
virtual pcl::ComparisonBase< PointT >::~ComparisonBase ( )
inlinevirtual

Destructor.

Definition at line 98 of file conditional_removal.h.

Member Function Documentation

template<typename PointT>
virtual bool pcl::ComparisonBase< PointT >::evaluate ( const PointT point) const
pure virtual
template<typename PointT>
bool pcl::ComparisonBase< PointT >::isCapable ( ) const
inline

Return if the comparison is capable.

Definition at line 102 of file conditional_removal.h.

Member Data Documentation

template<typename PointT>
bool pcl::ComparisonBase< PointT >::capable_
protected
template<typename PointT>
std::string pcl::ComparisonBase< PointT >::field_name_
protected

Field name to compare data on.

Definition at line 116 of file conditional_removal.h.

Referenced by pcl::FieldComparison< PointT >::FieldComparison().

template<typename PointT>
uint32_t pcl::ComparisonBase< PointT >::offset_
protected

The data offset.

Definition at line 119 of file conditional_removal.h.

Referenced by pcl::PointDataAtOffset< PointT >::compare().

template<typename PointT>
ComparisonOps::CompareOp pcl::ComparisonBase< PointT >::op_
protected

The documentation for this class was generated from the following file: