40 #ifndef PCL_SEARCH_KDTREE_H_
41 #define PCL_SEARCH_KDTREE_H_
43 #include <pcl/search/search.h>
44 #include <pcl/kdtree/kdtree_flann.h>
49 template <
typename T>
class PointRepresentation;
61 template<
typename Po
intT>
79 typedef boost::shared_ptr<KdTree<PointT> >
Ptr;
80 typedef boost::shared_ptr<const KdTree<PointT> >
ConstPtr;
93 KdTree (
bool sorted =
true);
111 return (
tree_->getPointRepresentation ());
130 return (
tree_->getEpsilon ());
151 std::vector<int> &k_indices,
152 std::vector<float> &k_sqr_distances)
const;
166 std::vector<int> &k_indices,
167 std::vector<float> &k_sqr_distances,
168 unsigned int max_nn = 0)
const;
176 #define PCL_INSTANTIATE_KdTree(T) template class PCL_EXPORTS pcl::search::KdTree<T>;
178 #endif // PCL_SEARCH_KDTREE_H_