37#ifndef _PCL_GPU_OCTREE_
38#define _PCL_GPU_OCTREE_
45#include <pcl/gpu/containers/device_array.h>
46#include <pcl/gpu/octree/device_format.hpp>
147 PCL_DEPRECATED(1, 14,
"use approxNearestSearch() which returns square distances instead")
Iterator class for point clouds with or without given indices.
PointCloud represents the base class in PCL for storing collections of 3D points.
Octree implementation on GPU.
bool isBuilt() const
Returns true if tree has been built.
shared_ptr< Octree > Ptr
Types.
virtual ~Octree()
Denstructor.
void internalDownload()
Downloads Octree from GPU to search using CPU function.
void setCloud(const PointCloud &cloud_arg)
Sets cloud for which octree is built.
void radiusSearch(const Queries ¢ers, const Indices &indices, float radius, int max_results, NeighborIndices &result) const
Performs batch radius search on GPU.
void radiusSearchHost(const PointType ¢er, float radius, std::vector< int > &out, int max_nn=INT_MAX)
Performs search of all points within given radius on CPU.
Octree()
Default constructor.
const PointCloud * cloud_
void approxNearestSearchHost(const PointType &query, int &out_index, float &sqr_dist)
Performs approximate nearest neighbor search on CPU.
void radiusSearch(const Queries ¢ers, const Radiuses &radiuses, int max_results, NeighborIndices &result) const
Performs batch radius search on GPU.
void build()
Performs parallel octree building.
void radiusSearch(const Queries ¢ers, float radius, int max_results, NeighborIndices &result) const
Performs batch radius search on GPU.
Defines all the PCL implemented PointT point type structures.
Defines functions, macros and traits for allocating and using memory.
Defines all the PCL and non-PCL macros used.
#define PCL_DEPRECATED(Major, Minor, Message)
macro for compatibility across compilers and help remove old deprecated items for the Major....
A point structure representing Euclidean xyz coordinates.