Base condition class. More...
#include <pcl/filters/conditional_removal.h>
Public Types | |
using | ComparisonBase = pcl::ComparisonBase< PointT > |
using | ComparisonBasePtr = typename ComparisonBase::Ptr |
using | ComparisonBaseConstPtr = typename ComparisonBase::ConstPtr |
using | Ptr = shared_ptr< ConditionBase< PointT > > |
using | ConstPtr = shared_ptr< const ConditionBase< PointT > > |
Public Member Functions | |
ConditionBase () | |
Constructor. More... |
|
virtual | ~ConditionBase ()=default |
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 446 of file conditional_removal.h.
using pcl::ConditionBase< PointT >::ComparisonBase = pcl::ComparisonBase<PointT> |
Definition at line 449 of file conditional_removal.h.
using pcl::ConditionBase< PointT >::ComparisonBaseConstPtr = typename ComparisonBase::ConstPtr |
Definition at line 451 of file conditional_removal.h.
using pcl::ConditionBase< PointT >::ComparisonBasePtr = typename ComparisonBase::Ptr |
Definition at line 450 of file conditional_removal.h.
using pcl::ConditionBase< PointT >::ConstPtr = shared_ptr<const ConditionBase<PointT> > |
Definition at line 454 of file conditional_removal.h.
using pcl::ConditionBase< PointT >::Ptr = shared_ptr<ConditionBase<PointT> > |
Definition at line 453 of file conditional_removal.h.
| inline |
Constructor.
Definition at line 457 of file conditional_removal.h.
| virtualdefault |
Destructor.
void pcl::ConditionBase< PointT >::addComparison | ( | ComparisonBaseConstPtr | comparison | ) |
Add a new comparison.
comparison | the comparison operator to add |
Definition at line 588 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 597 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 478 of file conditional_removal.h.
References pcl::ConditionBase< PointT >::capable_.
| protected |
True if capable.
Definition at line 491 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 494 of file conditional_removal.h.
| protected |
The collection of all conditions that need to be verified.
Definition at line 497 of file conditional_removal.h.
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_condition_base.html