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

A packed HSI specialization of the comparison object. More...

#include <pcl/filters/conditional_removal.h>

+ Inheritance diagram for pcl::PackedHSIComparison< PointT >:

Public Types

enum  ComponentId { H, S, I }
using Ptr = shared_ptr< PackedHSIComparison< PointT > >
using ConstPtr = shared_ptr< const PackedHSIComparison< PointT > >
- Public Types inherited from pcl::ComparisonBase< PointT >
using Ptr = shared_ptr< ComparisonBase< PointT > >
using ConstPtr = shared_ptr< const ComparisonBase< PointT > >

Public Member Functions

 PackedHSIComparison (const std::string &component_name, ComparisonOps::CompareOp op, double compare_val)
 Construct a PackedHSIComparison. More...
 ~PackedHSIComparison ()
 Destructor. More...
bool evaluate (const PointT &point) const override
 Determine the result of this comparison. More...
- Public Member Functions inherited from pcl::ComparisonBase< PointT >
 ComparisonBase ()
 Constructor. More...
virtual ~ComparisonBase ()
 Destructor. More...
bool isCapable () const
 Return if the comparison is capable. More...

Protected Attributes

std::string component_name_
 The name of the component. More...
ComponentId component_id_
 The ID of the component. More...
double compare_val_
 All types (that we care about) can be represented as a double. More...
std::uint32_t rgb_offset_
 The offset of the component. More...
- Protected Attributes inherited from pcl::ComparisonBase< PointT >
bool capable_
 True if capable. More...
std::string field_name_
 Field name to compare data on. More...
std::uint32_t offset_
 The data offset. More...
ComparisonOps::CompareOp op_
 The comparison operator type. More...

Detailed Description

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

A packed HSI specialization of the comparison object.

Definition at line 242 of file conditional_removal.h.

Member Typedef Documentation

◆ ConstPtr

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

Definition at line 249 of file conditional_removal.h.

◆ Ptr

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

Definition at line 248 of file conditional_removal.h.

Member Enumeration Documentation

◆ ComponentId

template<typename PointT >
enum pcl::PackedHSIComparison::ComponentId

Definition at line 268 of file conditional_removal.h.

Constructor & Destructor Documentation

◆ PackedHSIComparison()

template<typename PointT >
pcl::PackedHSIComparison< PointT >::PackedHSIComparison ( const std::string &  component_name,
ComparisonOps::CompareOp  op,
double  compare_val 

◆ ~PackedHSIComparison()

template<typename PointT >
pcl::PackedHSIComparison< PointT >::~PackedHSIComparison ( )


Definition at line 259 of file conditional_removal.h.

Member Function Documentation

◆ evaluate()

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

Member Data Documentation

◆ compare_val_

template<typename PointT >
double pcl::PackedHSIComparison< PointT >::compare_val_

All types (that we care about) can be represented as a double.

Definition at line 283 of file conditional_removal.h.

Referenced by pcl::PackedHSIComparison< PointT >::evaluate().

◆ component_id_

template<typename PointT >
ComponentId pcl::PackedHSIComparison< PointT >::component_id_

◆ component_name_

template<typename PointT >
std::string pcl::PackedHSIComparison< PointT >::component_name_

The name of the component.

Definition at line 277 of file conditional_removal.h.

◆ rgb_offset_

template<typename PointT >
std::uint32_t pcl::PackedHSIComparison< PointT >::rgb_offset_

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