38 #ifndef PCL_KEYPOINT_H_
39 #define PCL_KEYPOINT_H_
43 #include <boost/function.hpp>
44 #include <boost/bind.hpp>
54 template <
typename Po
intInT,
typename Po
intOutT>
68 typedef boost::function<int (int, double, std::vector<int> &, std::vector<float> &)>
SearchMethod;
69 typedef boost::function<int (const PointCloudIn &cloud, int index, double, std::vector<int> &, std::vector<float> &)>
SearchMethodSurface;
77 search_method_surface_ (),
80 search_parameter_ (0),
146 searchForNeighbors (
int index,
double parameter, std::vector<int> &indices, std::vector<float> &distances)
const
148 if (surface_ == input_)
149 return (search_method_ (index, parameter, indices, distances));
151 return (search_method_surface_ (*input_, index, parameter, indices, distances));
176 double search_parameter_;
179 double search_radius_;
185 inline const std::string&
186 getClassName ()
const {
return (name_); }
196 #endif //#ifndef PCL_KEYPOINT_H_