42 #include <pcl/gpu/containers/device_array.h>
43 #include <pcl/gpu/octree/octree.hpp>
45 #include <pcl/point_cloud.h>
47 #include <pcl/PointIndices.h>
51 template <
typename Po
intT>
56 std::vector<PointIndices>& clusters,
57 unsigned int min_pts_per_cluster,
58 unsigned int max_pts_per_cluster);
65 template <
typename Po
intT>
181 extract(std::vector<pcl::PointIndices>& clusters);
208 return (
"gpu::EuclideanClusterExtraction");
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< PointCloud< PointT > > Ptr
shared_ptr< const PointCloud< PointT > > ConstPtr
Octree implementation on GPU.
shared_ptr< Octree > Ptr
Types.
DeviceArray< PointType > PointCloud
Point cloud supported.
Defines all the PCL implemented PointT point type structures.
bool comparePointClusters(const pcl::PointIndices &a, const pcl::PointIndices &b)
Sort clusters method (for std::sort).
void extractEuclideanClusters(const typename pcl::PointCloud< PointT >::Ptr &host_cloud_, const pcl::gpu::Octree::Ptr &tree, float tolerance, std::vector< PointIndices > &clusters, unsigned int min_pts_per_cluster, unsigned int max_pts_per_cluster)
Defines all the PCL and non-PCL macros used.
shared_ptr< ::pcl::PointIndices > Ptr
shared_ptr< const ::pcl::PointIndices > ConstPtr