Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::EdgeAwarePlaneComparator< PointT, PointNT > Class Template Reference

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

#include <edge_aware_plane_comparator.h>

Inheritance diagram for pcl::EdgeAwarePlaneComparator< PointT, PointNT >:
Inheritance graph
[legend]

List of all members.

Public Types

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

Public Member Functions

 EdgeAwarePlaneComparator ()
 Empty constructor for PlaneCoefficientComparator.
 EdgeAwarePlaneComparator (const float *distance_map)
 Empty constructor for PlaneCoefficientComparator.
const float * getDistanceMap () const
 Return the distance map used.
void setDistanceMap (const float *distance_map)
 Set a distance map to use. For an example of a valid distance map see OrganizedIntegralImageNormalEstimation.
virtual ~EdgeAwarePlaneComparator ()
 Destructor for PlaneCoefficientComparator.

Protected Member Functions

bool compare (int idx1, int idx2) const
 Compare two neighboring points, by using normal information, curvature, and euclidean distance information.

Protected Attributes

const float * distance_map_

Detailed Description

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

EdgeAwarePlaneComparator 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:
Stefan Holzer, Alex Trevor

Definition at line 55 of file edge_aware_plane_comparator.h.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Empty constructor for PlaneCoefficientComparator.

Definition at line 75 of file edge_aware_plane_comparator.h.

template<typename PointT, typename PointNT>
pcl::EdgeAwarePlaneComparator< PointT, PointNT >::EdgeAwarePlaneComparator ( const float *  distance_map) [inline]

Empty constructor for PlaneCoefficientComparator.

Parameters:
[in]distance_mapthe distance map to use

Definition at line 82 of file edge_aware_plane_comparator.h.

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

Destructor for PlaneCoefficientComparator.

Definition at line 89 of file edge_aware_plane_comparator.h.


Member Function Documentation

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

Compare two neighboring points, by using normal information, curvature, 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 116 of file edge_aware_plane_comparator.h.

template<typename PointT, typename PointNT>
const float* pcl::EdgeAwarePlaneComparator< PointT, PointNT >::getDistanceMap ( ) const [inline]

Return the distance map used.

Definition at line 105 of file edge_aware_plane_comparator.h.

template<typename PointT, typename PointNT>
void pcl::EdgeAwarePlaneComparator< PointT, PointNT >::setDistanceMap ( const float *  distance_map) [inline]

Set a distance map to use. For an example of a valid distance map see OrganizedIntegralImageNormalEstimation.

Parameters:
[in]distance_mapthe distance map to use

Definition at line 98 of file edge_aware_plane_comparator.h.


Member Data Documentation

template<typename PointT, typename PointNT>
const float* pcl::EdgeAwarePlaneComparator< PointT, PointNT >::distance_map_ [protected]

Definition at line 136 of file edge_aware_plane_comparator.h.


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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:17