Point Cloud Library (PCL)  1.3.1
Public Types | Public Member Functions
pcl::PackedHSIComparison Class Reference

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

#include <pcl/filters/conditional_removal.h>

Inheritance diagram for pcl::PackedHSIComparison:
Inheritance graph
[legend]
Collaboration diagram for pcl::PackedHSIComparison:
Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

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

Detailed Description

A packed HSI specialization of the comparison object.


Member Typedef Documentation

typedef boost::shared_ptr<const ComparisonBase<PointT> > pcl::ComparisonBase::ConstPtr [inherited]

Reimplemented in pcl::FieldComparison.

Definition at line 94 of file conditional_removal.h.

typedef boost::shared_ptr<ComparisonBase<PointT> > pcl::ComparisonBase::Ptr [inherited]

Reimplemented in pcl::FieldComparison.

Definition at line 93 of file conditional_removal.h.


Member Enumeration Documentation

Enumerator:
H 
S 
I 

Definition at line 227 of file conditional_removal.h.


Constructor & Destructor Documentation

pcl::PackedHSIComparison::PackedHSIComparison ( std::string  component_name,
ComparisonOps::CompareOp  op,
double  compare_val 
)

Construct a PackedHSIComparison.

Parameters:
component_nameeither "h", "s" or "i"
opthe operator to use when making the comparison
compare_valthe constant value to compare the component value too

Definition at line 232 of file conditional_removal.hpp.


Member Function Documentation

bool pcl::PackedHSIComparison::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 303 of file conditional_removal.hpp.

bool pcl::ComparisonBase::isCapable ( ) const [inline, inherited]

Return if the comparison is capable.

Definition at line 98 of file conditional_removal.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines