Point Cloud Library (PCL)  1.7.0
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 >:

List of all members.

Public Types

enum  ComponentId { H, S, I }
typedef boost::shared_ptr
< PackedHSIComparison< PointT > > 
Ptr
typedef boost::shared_ptr
< const PackedHSIComparison
< PointT > > 
ConstPtr

Public Member Functions

 PackedHSIComparison (std::string component_name, ComparisonOps::CompareOp op, double compare_val)
 Construct a PackedHSIComparison.
virtual ~PackedHSIComparison ()
 Destructor.
virtual bool evaluate (const PointT &point) const
 Determine the result of this comparison.

Protected Attributes

std::string component_name_
 The name of the component.
ComponentId component_id_
 The ID of the component.
double compare_val_
 All types (that we care about) can be represented as a double.
uint32_t rgb_offset_
 The offset of the component.

Detailed Description

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

A packed HSI specialization of the comparison object.

Definition at line 240 of file conditional_removal.h.


Member Typedef Documentation

template<typename PointT >
typedef boost::shared_ptr< const PackedHSIComparison<PointT> > pcl::PackedHSIComparison< PointT >::ConstPtr

Reimplemented from pcl::ComparisonBase< PointT >.

Definition at line 247 of file conditional_removal.h.

template<typename PointT >
typedef boost::shared_ptr< PackedHSIComparison<PointT> > pcl::PackedHSIComparison< PointT >::Ptr

Reimplemented from pcl::ComparisonBase< PointT >.

Definition at line 246 of file conditional_removal.h.


Member Enumeration Documentation

template<typename PointT >
enum pcl::PackedHSIComparison::ComponentId
Enumerator:
H 
S 
I 

Definition at line 266 of file conditional_removal.h.


Constructor & Destructor Documentation

template<typename PointT >
pcl::PackedHSIComparison< PointT >::PackedHSIComparison ( std::string  component_name,
ComparisonOps::CompareOp  op,
double  compare_val 
)
template<typename PointT >
virtual pcl::PackedHSIComparison< PointT >::~PackedHSIComparison ( ) [inline, virtual]

Destructor.

Definition at line 257 of file conditional_removal.h.


Member Function Documentation

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

Determine the result of this comparison.

Parameters:
pointthe point to evaluate
Returns:
the result of this comparison.

Implements pcl::ComparisonBase< PointT >.

Definition at line 301 of file conditional_removal.hpp.

References pcl::ComparisonOps::EQ, pcl::ComparisonOps::GE, pcl::ComparisonOps::GT, pcl::ComparisonOps::LE, and pcl::ComparisonOps::LT.


Member Data Documentation

template<typename PointT >
double pcl::PackedHSIComparison< PointT >::compare_val_ [protected]

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

Definition at line 281 of file conditional_removal.h.

template<typename PointT >
ComponentId pcl::PackedHSIComparison< PointT >::component_id_ [protected]

The ID of the component.

Definition at line 278 of file conditional_removal.h.

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

template<typename PointT >
std::string pcl::PackedHSIComparison< PointT >::component_name_ [protected]

The name of the component.

Definition at line 275 of file conditional_removal.h.

template<typename PointT >
uint32_t pcl::PackedHSIComparison< PointT >::rgb_offset_ [protected]

The offset of the component.

Definition at line 284 of file conditional_removal.h.

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


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