Base condition class. More...
#include <conditional_removal.h>
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 (Ptr 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< Ptr > | conditions_ |
The collection of all conditions that need to be verified. |
Base condition class.
Definition at line 426 of file conditional_removal.h.
typedef pcl::ComparisonBase<PointT> pcl::ConditionBase< PointT >::ComparisonBase |
Definition at line 429 of file conditional_removal.h.
typedef ComparisonBase::ConstPtr pcl::ConditionBase< PointT >::ComparisonBaseConstPtr |
Definition at line 431 of file conditional_removal.h.
typedef ComparisonBase::Ptr pcl::ConditionBase< PointT >::ComparisonBasePtr |
Definition at line 430 of file conditional_removal.h.
typedef boost::shared_ptr<const ConditionBase<PointT> > pcl::ConditionBase< PointT >::ConstPtr |
Reimplemented in pcl::ConditionOr< PointT >, and pcl::ConditionAnd< PointT >.
Definition at line 434 of file conditional_removal.h.
typedef boost::shared_ptr<ConditionBase<PointT> > pcl::ConditionBase< PointT >::Ptr |
Reimplemented in pcl::ConditionOr< PointT >, pcl::ConditionAnd< PointT >, and ConditionThresholdHSV< PointT >.
Definition at line 433 of file conditional_removal.h.
pcl::ConditionBase< PointT >::ConditionBase | ( | ) | [inline] |
Constructor.
Definition at line 437 of file conditional_removal.h.
virtual pcl::ConditionBase< PointT >::~ConditionBase | ( | ) | [inline, virtual] |
Destructor.
Definition at line 442 of file conditional_removal.h.
void pcl::ConditionBase< PointT >::addComparison | ( | ComparisonBaseConstPtr | comparison | ) |
Add a new comparison.
comparison | the comparison operator to add |
Definition at line 607 of file conditional_removal.hpp.
void pcl::ConditionBase< PointT >::addCondition | ( | Ptr | condition | ) |
Add a nested condition to this condition.
condition | the nested condition to be added |
Definition at line 616 of file conditional_removal.hpp.
virtual bool pcl::ConditionBase< PointT >::evaluate | ( | const PointT & | point | ) | const [pure virtual] |
Determine if a point meets this condition.
Implemented in pcl::ConditionOr< PointT >, pcl::ConditionAnd< PointT >, and ConditionThresholdHSV< PointT >.
bool pcl::ConditionBase< PointT >::isCapable | ( | ) | const [inline] |
Check if evaluation requirements are met.
Definition at line 465 of file conditional_removal.h.
bool pcl::ConditionBase< PointT >::capable_ [protected] |
True if capable.
Definition at line 478 of file conditional_removal.h.
std::vector<ComparisonBaseConstPtr> pcl::ConditionBase< PointT >::comparisons_ [protected] |
The collection of all comparisons that need to be verified.
Definition at line 481 of file conditional_removal.h.
std::vector<Ptr> pcl::ConditionBase< PointT >::conditions_ [protected] |
The collection of all conditions that need to be verified.
Definition at line 484 of file conditional_removal.h.