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

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 156 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 
) [inline]

Construct a PackedRGBComparison.

Parameters:
component_name either "r", "g" or "b"
op the operator to use when making the comparison
compare_val the constant value to compare the component value too

Definition at line 137 of file conditional_removal.hpp.

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

Definition at line 187 of file conditional_removal.h.


Member Function Documentation

template<typename PointT >
bool pcl::PackedRGBComparison< PointT >::evaluate ( const PointT &  point  )  const [inline, virtual]

Determine the result of this comparison.

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

Implements pcl::ComparisonBase< PointT >.

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

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

The name of the component.

Definition at line 178 of file conditional_removal.h.

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

The offset of the component.

Definition at line 181 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


pcl
Author(s): See http://pcl.ros.org/authors for the complete list of authors.
autogenerated on Fri Jan 11 09:57:19 2013