point_cloud_library / 1.12.1 / classpcl_1_1_condition_or.html /

OR condition. More...

#include <pcl/filters/conditional_removal.h>

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 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...

Detailed Description

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

OR condition.

Definition at line 531 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 538 of file conditional_removal.h.

Ptr

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

Definition at line 537 of file conditional_removal.h.

Constructor & Destructor Documentation

ConditionOr()

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

Constructor.

Definition at line 541 of file conditional_removal.h.

Member Function Documentation

evaluate()

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

Determine if a point meets this condition.


Returns
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 625 of file conditional_removal.hpp.


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

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_condition_or.html