Point Cloud Library (PCL)  1.14.0-dev
List of all members | Public Types | Public Member Functions
pcl::ConditionOr< PointT > Class Template Reference

OR condition. More...

#include <pcl/filters/conditional_removal.h>

+ Inheritance diagram for pcl::ConditionOr< PointT >:
+ Collaboration diagram for pcl::ConditionOr< PointT >:

Public Types

using Ptr = shared_ptr< ConditionOr< PointT > >
using ConstPtr = shared_ptr< const ConditionOr< PointT > >
- Public Types inherited from pcl::ConditionBase< PointT >
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

 ConditionOr ()
 Constructor. More...
bool evaluate (const PointT &point) const override
 Determine if a point meets this condition. More...
- Public Member Functions inherited from pcl::ConditionBase< PointT >
 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...

Additional Inherited Members

- Protected Attributes inherited from pcl::ConditionBase< PointT >
bool capable_ {true}
 True if capable. More...
std::vector< ComparisonBaseConstPtrcomparisons_
 The collection of all comparisons that need to be verified. More...
std::vector< Ptrconditions_
 The collection of all conditions that need to be verified. More...

Detailed Description

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

OR condition.

Definition at line 532 of file conditional_removal.h.

Member Typedef Documentation

◆ ConstPtr

template<typename PointT >
using pcl::ConditionOr< PointT >::ConstPtr = shared_ptr<const ConditionOr<PointT> >

Definition at line 539 of file conditional_removal.h.

◆ Ptr

template<typename PointT >
using pcl::ConditionOr< PointT >::Ptr = shared_ptr<ConditionOr<PointT> >

Definition at line 538 of file conditional_removal.h.

Constructor & Destructor Documentation

◆ ConditionOr()

template<typename PointT >
pcl::ConditionOr< PointT >::ConditionOr ( )


Definition at line 542 of file conditional_removal.h.

Member Function Documentation

◆ evaluate()

template<typename PointT >
bool pcl::ConditionOr< PointT >::evaluate ( const PointT point) const

Determine if a point meets this condition.

whether the point meets this condition.

The ConditionOr evaluates to true when ANY comparisons or nested conditions evaluate to true

Implements pcl::ConditionBase< PointT >.

Definition at line 598 of file conditional_removal.hpp.

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