pcl::ConditionBase< PointT > Class Template Reference

Base condition class. More...

#include <conditional_removal.h>

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

List of all members.

Public Types

typedef pcl::ComparisonBase
< PointT > 
ComparisonBase
typedef ComparisonBase::ConstPtr ComparisonBaseConstPtr
typedef ComparisonBase::Ptr ComparisonBasePtr
typedef boost::shared_ptr
< const ConditionBase< PointT > > 
ConstPtr
typedef boost::shared_ptr
< ConditionBase< PointT > > 
Ptr

Public Member Functions

void addComparison (ComparisonBaseConstPtr comparison)
 Add a new comparison.
void addCondition (ConstPtr condition)
 Add a nested condition to this condition.
 ConditionBase ()
 Constructor.
virtual bool evaluate (const PointT &point) const =0
 Determine if a point meets this condition.
bool isCapable () const
 Check if evaluation requirements are met.
virtual ~ConditionBase ()
 Destructor.

Protected Attributes

bool capable_
 True if capable.
std::vector
< ComparisonBaseConstPtr
comparisons_
 The collection of all comparisons that need to be verified.
std::vector< Ptrconditions_
 The collection of all conditions that need to be verified.

Detailed Description

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

Base condition class.

Definition at line 241 of file conditional_removal.h.


Member Typedef Documentation

template<typename PointT >
typedef pcl::ComparisonBase<PointT> pcl::ConditionBase< PointT >::ComparisonBase

Definition at line 244 of file conditional_removal.h.

template<typename PointT >
typedef ComparisonBase::ConstPtr pcl::ConditionBase< PointT >::ComparisonBaseConstPtr

Definition at line 246 of file conditional_removal.h.

template<typename PointT >
typedef ComparisonBase::Ptr pcl::ConditionBase< PointT >::ComparisonBasePtr

Definition at line 245 of file conditional_removal.h.

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

Reimplemented in pcl::ConditionAnd< PointT >, and pcl::ConditionOr< PointT >.

Definition at line 249 of file conditional_removal.h.

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

Reimplemented in pcl::ConditionAnd< PointT >, and pcl::ConditionOr< PointT >.

Definition at line 248 of file conditional_removal.h.


Constructor & Destructor Documentation

template<typename PointT >
pcl::ConditionBase< PointT >::ConditionBase (  )  [inline]

Constructor.

Definition at line 252 of file conditional_removal.h.

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

Destructor.

Definition at line 255 of file conditional_removal.h.


Member Function Documentation

template<typename PointT >
void pcl::ConditionBase< PointT >::addComparison ( ComparisonBaseConstPtr  comparison  )  [inline]

Add a new comparison.

Parameters:
comparison the comparison operator to add

Definition at line 449 of file conditional_removal.hpp.

template<typename PointT >
void pcl::ConditionBase< PointT >::addCondition ( ConstPtr  condition  )  [inline]

Add a nested condition to this condition.

Parameters:
condition the nested condition to be added

Definition at line 458 of file conditional_removal.hpp.

template<typename PointT >
virtual bool pcl::ConditionBase< PointT >::evaluate ( const PointT &  point  )  const [pure virtual]

Determine if a point meets this condition.

Returns:
whether the point meets this condition.

Implemented in pcl::ConditionAnd< PointT >, and pcl::ConditionOr< PointT >.

template<typename PointT >
bool pcl::ConditionBase< PointT >::isCapable (  )  const [inline]

Check if evaluation requirements are met.

Definition at line 279 of file conditional_removal.h.


Member Data Documentation

template<typename PointT >
bool pcl::ConditionBase< PointT >::capable_ [protected]

True if capable.

Definition at line 289 of file conditional_removal.h.

template<typename PointT >
std::vector<ComparisonBaseConstPtr> pcl::ConditionBase< PointT >::comparisons_ [protected]

The collection of all comparisons that need to be verified.

Definition at line 292 of file conditional_removal.h.

template<typename PointT >
std::vector<Ptr> pcl::ConditionBase< PointT >::conditions_ [protected]

The collection of all conditions that need to be verified.

Definition at line 295 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:16 2013