40 #ifndef PCL_GPU_EXTRACT_CLUSTERS_H_ 41 #define PCL_GPU_EXTRACT_CLUSTERS_H_ 44 #include <pcl/point_cloud.h> 45 #include <pcl/PointIndices.h> 46 #include <pcl/pcl_macros.h> 47 #include <pcl/gpu/octree/octree.hpp> 48 #include <pcl/gpu/containers/device_array.h> 58 std::vector<PointIndices> &clusters,
59 unsigned int min_pts_per_cluster,
60 unsigned int max_pts_per_cluster);
134 void extract (std::vector<pcl::PointIndices> &clusters);
156 virtual std::string
getClassName ()
const {
return (
"gpu::EuclideanClusterExtraction"); }
169 #endif //PCL_GPU_EXTRACT_CLUSTERS_H_
boost::shared_ptr< Octree > Ptr
Types.
std::vector< int > indices
Octree implementation on GPU.
bool comparePointClusters(const pcl::PointIndices &a, const pcl::PointIndices &b)
Sort clusters method (for std::sort).
boost::shared_ptr< PointCloud< pcl::PointXYZ > > Ptr
Defines all the PCL implemented PointT point type structures.
A point structure representing Euclidean xyz coordinates.
boost::shared_ptr< const PointCloud< pcl::PointXYZ > > ConstPtr
boost::shared_ptr< ::pcl::PointIndices > Ptr
void extractEuclideanClusters(const boost::shared_ptr< pcl::PointCloud< pcl::PointXYZ > > &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)
boost::shared_ptr< ::pcl::PointIndices const > ConstPtr