Point Cloud Library (PCL)
1.7.0
|
Base condition class. More...
#include <pcl/filters/conditional_removal.h>
Public Types | |
typedef pcl::ComparisonBase < PointT > | ComparisonBase |
typedef ComparisonBase::Ptr | ComparisonBasePtr |
typedef ComparisonBase::ConstPtr | ComparisonBaseConstPtr |
typedef boost::shared_ptr < ConditionBase< PointT > > | Ptr |
typedef boost::shared_ptr < const ConditionBase< PointT > > | ConstPtr |
Public Member Functions | |
ConditionBase () | |
Constructor. More... | |
virtual | ~ConditionBase () |
Destructor. More... | |
void | addComparison (ComparisonBaseConstPtr comparison) |
Add a new comparison. More... | |
void | addCondition (Ptr condition) |
Add a nested condition to this condition. More... | |
bool | isCapable () const |
Check if evaluation requirements are met. More... | |
virtual bool | evaluate (const PointT &point) const =0 |
Determine if a point meets this condition. More... | |
Protected Attributes | |
bool | capable_ |
True if capable. More... | |
std::vector < ComparisonBaseConstPtr > | comparisons_ |
The collection of all comparisons that need to be verified. More... | |
std::vector< Ptr > | conditions_ |
The collection of all conditions that need to be verified. More... | |
Base condition class.
Definition at line 445 of file conditional_removal.h.
typedef pcl::ComparisonBase<PointT> pcl::ConditionBase< PointT >::ComparisonBase |
Definition at line 448 of file conditional_removal.h.
typedef ComparisonBase::ConstPtr pcl::ConditionBase< PointT >::ComparisonBaseConstPtr |
Definition at line 450 of file conditional_removal.h.
typedef ComparisonBase::Ptr pcl::ConditionBase< PointT >::ComparisonBasePtr |
Definition at line 449 of file conditional_removal.h.
typedef boost::shared_ptr<const ConditionBase<PointT> > pcl::ConditionBase< PointT >::ConstPtr |
Definition at line 453 of file conditional_removal.h.
typedef boost::shared_ptr<ConditionBase<PointT> > pcl::ConditionBase< PointT >::Ptr |
Definition at line 452 of file conditional_removal.h.
|
inline |
Constructor.
Definition at line 456 of file conditional_removal.h.
|
inlinevirtual |
Destructor.
Definition at line 461 of file conditional_removal.h.
References pcl::ConditionBase< PointT >::comparisons_, and pcl::ConditionBase< PointT >::conditions_.
void pcl::ConditionBase< PointT >::addComparison | ( | ComparisonBaseConstPtr | comparison | ) |
Add a new comparison.
comparison | the comparison operator to add |
Definition at line 606 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 615 of file conditional_removal.hpp.
|
pure virtual |
Determine if a point meets this condition.
Implemented in pcl::ConditionOr< PointT >, and pcl::ConditionAnd< PointT >.
|
inline |
Check if evaluation requirements are met.
Definition at line 484 of file conditional_removal.h.
References pcl::ConditionBase< PointT >::capable_.
|
protected |
True if capable.
Definition at line 497 of file conditional_removal.h.
Referenced by pcl::ConditionBase< PointT >::isCapable().
|
protected |
The collection of all comparisons that need to be verified.
Definition at line 500 of file conditional_removal.h.
Referenced by pcl::ConditionBase< PointT >::~ConditionBase().
|
protected |
The collection of all conditions that need to be verified.
Definition at line 503 of file conditional_removal.h.
Referenced by pcl::ConditionBase< PointT >::~ConditionBase().