Public Types | Public Member Functions | Protected Attributes | Private Member Functions
pcl::PackedRGBComparison< PointT > Class Template Reference

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

#include <conditional_removal.h>

Inheritance diagram for pcl::PackedRGBComparison< PointT >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< const PackedRGBComparison
< PointT > > 
ConstPtr
typedef boost::shared_ptr
< PackedRGBComparison< PointT > > 
Ptr

Public Member Functions

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

Protected Attributes

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

Private Member Functions

 PackedRGBComparison ()

Detailed Description

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

A packed rgb specialization of the comparison object.

Definition at line 193 of file conditional_removal.h.


Member Typedef Documentation

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

Reimplemented from pcl::ComparisonBase< PointT >.

Definition at line 200 of file conditional_removal.h.

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

Reimplemented from pcl::ComparisonBase< PointT >.

Definition at line 199 of file conditional_removal.h.


Constructor & Destructor Documentation

template<typename PointT >
pcl::PackedRGBComparison< PointT >::PackedRGBComparison ( std::string  component_name,
ComparisonOps::CompareOp  op,
double  compare_val 
)

Construct a PackedRGBComparison.

Parameters:
component_nameeither "r", "g" or "b"
opthe operator to use when making the comparison
compare_valthe constant value to compare the component value too

Definition at line 139 of file conditional_removal.hpp.

template<typename PointT >
virtual pcl::PackedRGBComparison< PointT >::~PackedRGBComparison ( ) [inline, virtual]

Destructor.

Definition at line 210 of file conditional_removal.h.

template<typename PointT >
pcl::PackedRGBComparison< PointT >::PackedRGBComparison ( ) [inline, private]

Definition at line 230 of file conditional_removal.h.


Member Function Documentation

template<typename PointT >
bool pcl::PackedRGBComparison< 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 202 of file conditional_removal.hpp.


Member Data Documentation

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

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

Definition at line 227 of file conditional_removal.h.

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

The name of the component.

Definition at line 221 of file conditional_removal.h.

template<typename PointT >
uint32_t pcl::PackedRGBComparison< PointT >::component_offset_ [protected]

The offset of the component.

Definition at line 224 of file conditional_removal.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:42:42