Point Cloud Library (PCL)  1.7.0
Public Types | Public Member Functions
pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT > Class Template Reference

EuclideanPlaneCoefficientComparator is a Comparator that operates on plane coefficients, for use in planar segmentation. More...

#include <pcl/segmentation/euclidean_plane_coefficient_comparator.h>

+ Inheritance diagram for pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >:

List of all members.

Public Types

typedef Comparator< PointT >
::PointCloud 
PointCloud
typedef Comparator< PointT >
::PointCloudConstPtr 
PointCloudConstPtr
typedef pcl::PointCloud< PointNT > PointCloudN
typedef PointCloudN::Ptr PointCloudNPtr
typedef PointCloudN::ConstPtr PointCloudNConstPtr
typedef boost::shared_ptr
< EuclideanPlaneCoefficientComparator
< PointT, PointNT > > 
Ptr
typedef boost::shared_ptr
< const
EuclideanPlaneCoefficientComparator
< PointT, PointNT > > 
ConstPtr

Public Member Functions

 EuclideanPlaneCoefficientComparator ()
 Empty constructor for PlaneCoefficientComparator.
virtual ~EuclideanPlaneCoefficientComparator ()
 Destructor for PlaneCoefficientComparator.
virtual bool compare (int idx1, int idx2) const
 Compare two neighboring points, by using normal information, and euclidean distance information.

Detailed Description

template<typename PointT, typename PointNT>
class pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >

EuclideanPlaneCoefficientComparator is a Comparator that operates on plane coefficients, for use in planar segmentation.

In conjunction with OrganizedConnectedComponentSegmentation, this allows planes to be segmented from organized data.

Author:
Alex Trevor

Definition at line 55 of file euclidean_plane_coefficient_comparator.h.


Member Typedef Documentation

template<typename PointT , typename PointNT >
typedef boost::shared_ptr<const EuclideanPlaneCoefficientComparator<PointT, PointNT> > pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::ConstPtr
template<typename PointT , typename PointNT >
typedef Comparator<PointT>::PointCloud pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::PointCloud
template<typename PointT , typename PointNT >
typedef Comparator<PointT>::PointCloudConstPtr pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::PointCloudConstPtr
template<typename PointT , typename PointNT >
typedef pcl::PointCloud<PointNT> pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::PointCloudN
template<typename PointT , typename PointNT >
typedef PointCloudN::ConstPtr pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::PointCloudNConstPtr
template<typename PointT , typename PointNT >
typedef PointCloudN::Ptr pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::PointCloudNPtr
template<typename PointT , typename PointNT >
typedef boost::shared_ptr<EuclideanPlaneCoefficientComparator<PointT, PointNT> > pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::Ptr

Constructor & Destructor Documentation

template<typename PointT , typename PointNT >
pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::EuclideanPlaneCoefficientComparator ( ) [inline]

Empty constructor for PlaneCoefficientComparator.

Definition at line 73 of file euclidean_plane_coefficient_comparator.h.

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

Destructor for PlaneCoefficientComparator.

Definition at line 79 of file euclidean_plane_coefficient_comparator.h.


Member Function Documentation

template<typename PointT , typename PointNT >
virtual bool pcl::EuclideanPlaneCoefficientComparator< PointT, PointNT >::compare ( int  idx1,
int  idx2 
) const [inline, virtual]

Compare two neighboring points, by using normal information, and euclidean distance information.

Parameters:
[in]idx1The index of the first point.
[in]idx2The index of the second point.

Reimplemented from pcl::PlaneCoefficientComparator< PointT, PointNT >.

Definition at line 88 of file euclidean_plane_coefficient_comparator.h.

References pcl::PlaneCoefficientComparator< PointT, PointNT >::angular_threshold_, pcl::PlaneCoefficientComparator< PointT, PointNT >::distance_threshold_, pcl::Comparator< PointT >::input_, and pcl::PlaneCoefficientComparator< PointT, PointNT >::normals_.


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