Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fawkes::pcl_utils::PlaneDistanceComparison< PointT > Class Template Reference

Compare points' distance to a plane. More...

#include <comparisons.h>

List of all members.

Public Types

typedef boost::shared_ptr
< PlaneDistanceComparison
< PointT > > 
Ptr
 Shared pointer.
typedef boost::shared_ptr
< const
PlaneDistanceComparison
< PointT > > 
ConstPtr
 Constant shared pointer.

Public Member Functions

 PlaneDistanceComparison (pcl::ModelCoefficients::ConstPtr coeff, pcl::ComparisonOps::CompareOp op=pcl::ComparisonOps::GT, float compare_val=0.)
 Constructor.
virtual ~PlaneDistanceComparison ()
 Virtual empty destructor.
virtual bool evaluate (const PointT &point) const
 Evaluate for given pixel.

Protected Attributes

pcl::ModelCoefficients::ConstPtr coeff_
 Planar model coefficients.
pcl::ComparisonOps::CompareOp op_
 Comparison operation.
float compare_val_
 Value to compare against.

Detailed Description

template<typename PointT>
class fawkes::pcl_utils::PlaneDistanceComparison< PointT >

Compare points' distance to a plane.

This comparison calculates the distance to a given plane and makes a decision based on constructor flag and threshold.

Author:
Tim Niemueller

Definition at line 98 of file comparisons.h.


Member Typedef Documentation

template<typename PointT>
typedef boost::shared_ptr<const PlaneDistanceComparison<PointT> > fawkes::pcl_utils::PlaneDistanceComparison< PointT >::ConstPtr

Constant shared pointer.

Definition at line 105 of file comparisons.h.

template<typename PointT>
typedef boost::shared_ptr<PlaneDistanceComparison<PointT> > fawkes::pcl_utils::PlaneDistanceComparison< PointT >::Ptr

Shared pointer.

Definition at line 103 of file comparisons.h.


Constructor & Destructor Documentation

template<typename PointT>
fawkes::pcl_utils::PlaneDistanceComparison< PointT >::PlaneDistanceComparison ( pcl::ModelCoefficients::ConstPtr  coeff,
pcl::ComparisonOps::CompareOp  op = pcl::ComparisonOps::GT,
float  compare_val = 0. 
)
inline

Constructor.

Parameters:
coeffplanar model coefficients
opcomparison operation
compare_valvalue to compare against

Definition at line 112 of file comparisons.h.

template<typename PointT>
virtual fawkes::pcl_utils::PlaneDistanceComparison< PointT >::~PlaneDistanceComparison ( )
inlinevirtual

Virtual empty destructor.

Definition at line 120 of file comparisons.h.


Member Function Documentation

template<typename PointT>
virtual bool fawkes::pcl_utils::PlaneDistanceComparison< PointT >::evaluate ( const PointT &  point) const
inlinevirtual

Evaluate for given pixel.

Parameters:
pointpoint to compare
Returns:
true if the setup operation using the compare value evaluates to true, false otherwise

Definition at line 126 of file comparisons.h.


Member Data Documentation

template<typename PointT>
pcl::ModelCoefficients::ConstPtr fawkes::pcl_utils::PlaneDistanceComparison< PointT >::coeff_
protected

Planar model coefficients.

Definition at line 151 of file comparisons.h.

template<typename PointT>
float fawkes::pcl_utils::PlaneDistanceComparison< PointT >::compare_val_
protected

Value to compare against.

Definition at line 155 of file comparisons.h.

template<typename PointT>
pcl::ComparisonOps::CompareOp fawkes::pcl_utils::PlaneDistanceComparison< PointT >::op_
protected

Comparison operation.

Definition at line 153 of file comparisons.h.


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