|
Point Cloud Library (PCL)
1.9.1
|
EuclideanClusterComparator is a comparator used for finding clusters based on euclidian distance. More...
#include <pcl/segmentation/euclidean_cluster_comparator.h>
Inheritance diagram for pcl::EuclideanClusterComparator< PointT, PointNT, PointLT >:Public Member Functions | |
| EuclideanClusterComparator () | |
| Default constructor for EuclideanClusterComparator. More... | |
| void | setInputNormals (const PointCloudNConstPtr &normals) |
| Provide a pointer to the input normals. More... | |
| PointCloudNConstPtr | getInputNormals () const |
| Get the input normals. More... | |
| void | setAngularThreshold (float angular_threshold) |
| Set the tolerance in radians for difference in normal direction between neighboring points, to be considered part of the same plane. More... | |
| float | getAngularThreshold () const |
| Get the angular threshold in radians for difference in normal direction between neighboring points, to be considered part of the same plane. More... | |
| void | setExcludeLabels (const std::vector< bool > &exclude_labels) |
| Set labels in the label cloud to exclude. More... | |
Public Member Functions inherited from pcl::experimental::EuclideanClusterComparator< PointT, PointLT > | |
| EuclideanClusterComparator () | |
| Default constructor for EuclideanClusterComparator. More... | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Set the input cloud for the comparator. More... | |
| void | setDistanceThreshold (float distance_threshold, bool depth_dependent) |
| Set the tolerance in meters for difference in perpendicular distance (d component of plane equation) to the plane between neighboring points, to be considered part of the same plane. More... | |
| float | getDistanceThreshold () const |
| Get the distance threshold in meters (d component of plane equation) between neighboring points, to be considered part of the same plane. More... | |
| void | setLabels (const PointCloudLPtr &labels) |
| Set label cloud. More... | |
| const ExcludeLabelSetConstPtr & | getExcludeLabels () const |
| void | setExcludeLabels (const ExcludeLabelSetConstPtr &exclude_labels) |
| Set labels in the label cloud to exclude. More... | |
| virtual bool | compare (int idx1, int idx2) const |
| Compare points at two indices by their euclidean distance. More... | |
Public Member Functions inherited from pcl::Comparator< PointT > | |
| Comparator () | |
| Empty constructor for comparator. More... | |
| virtual | ~Comparator () |
| Empty destructor for comparator. More... | |
| virtual PointCloudConstPtr | getInputCloud () const |
| Get the input cloud this comparator operates on. More... | |
Protected Attributes | |
| PointCloudNConstPtr | normals_ |
| float | angular_threshold_ |
Protected Attributes inherited from pcl::experimental::EuclideanClusterComparator< PointT, PointLT > | |
| PointCloudLPtr | labels_ |
| Set of labels with similar size as the input point cloud, aggregating points into groups based on a similar label identifier. More... | |
| ExcludeLabelSetConstPtr | exclude_labels_ |
| Specifies which labels should be excluded com being clustered. More... | |
| float | distance_threshold_ |
| bool | depth_dependent_ |
| Eigen::Vector3f | z_axis_ |
Protected Attributes inherited from pcl::Comparator< PointT > | |
| PointCloudConstPtr | input_ |
EuclideanClusterComparator is a comparator used for finding clusters based on euclidian distance.
Definition at line 197 of file euclidean_cluster_comparator.h.
| typedef boost::shared_ptr<const EuclideanClusterComparator<PointT, PointNT, PointLT> > pcl::EuclideanClusterComparator< PointT, PointNT, PointLT >::ConstPtr |
Definition at line 210 of file euclidean_cluster_comparator.h.
| typedef pcl::PointCloud<PointNT> pcl::EuclideanClusterComparator< PointT, PointNT, PointLT >::PointCloudN |
Definition at line 205 of file euclidean_cluster_comparator.h.
| typedef PointCloudN::ConstPtr pcl::EuclideanClusterComparator< PointT, PointNT, PointLT >::PointCloudNConstPtr |
Definition at line 207 of file euclidean_cluster_comparator.h.
| typedef PointCloudN::Ptr pcl::EuclideanClusterComparator< PointT, PointNT, PointLT >::PointCloudNPtr |
Definition at line 206 of file euclidean_cluster_comparator.h.
| typedef boost::shared_ptr<EuclideanClusterComparator<PointT, PointNT, PointLT> > pcl::EuclideanClusterComparator< PointT, PointNT, PointLT >::Ptr |
Definition at line 209 of file euclidean_cluster_comparator.h.
|
inline |
Default constructor for EuclideanClusterComparator.
Definition at line 216 of file euclidean_cluster_comparator.h.
|
inline |
Get the angular threshold in radians for difference in normal direction between neighboring points, to be considered part of the same plane.
Definition at line 254 of file euclidean_cluster_comparator.h.
|
inline |
Get the input normals.
Definition at line 235 of file euclidean_cluster_comparator.h.
|
inline |
Set the tolerance in radians for difference in normal direction between neighboring points, to be considered part of the same plane.
| [in] | angular_threshold | the tolerance in radians |
Definition at line 244 of file euclidean_cluster_comparator.h.
|
inline |
Set labels in the label cloud to exclude.
| [in] | exclude_labels | a vector of bools corresponding to whether or not a given label should be considered |
Definition at line 261 of file euclidean_cluster_comparator.h.
References pcl::experimental::EuclideanClusterComparator< PointT, PointLT >::exclude_labels_.
|
inline |
Provide a pointer to the input normals.
| [in] | normals | the input normal cloud |
Definition at line 228 of file euclidean_cluster_comparator.h.
|
protected |
Definition at line 273 of file euclidean_cluster_comparator.h.
|
protected |
Definition at line 271 of file euclidean_cluster_comparator.h.