40 #ifndef PCL_SURFACE_RECONSTRUCTION_IMPL_H_
41 #define PCL_SURFACE_RECONSTRUCTION_IMPL_H_
42 #include <pcl/search/pcl_search.h>
45 template <
typename Po
intInT>
void
49 output.
header = input_->header;
64 if (input_->isOrganized ())
71 tree_->setInputCloud (input_, indices_);
77 output.
polygons.reserve (2*indices_->size ());
79 performReconstruction (output);
85 template <
typename Po
intInT>
void
87 std::vector<pcl::Vertices> &polygons)
90 points.
header = input_->header;
105 if (input_->isOrganized ())
112 tree_->setInputCloud (input_, indices_);
117 polygons.reserve (2 * indices_->size ());
119 performReconstruction (points, polygons);
125 template <
typename Po
intInT>
void
129 output.
header = input_->header;
144 if (input_->isOrganized ())
151 tree_->setInputCloud (input_, indices_);
159 performReconstruction (output);
165 template <
typename Po
intInT>
void
179 if (input_->isOrganized ())
186 tree_->setInputCloud (input_, indices_);
193 performReconstruction (polygons);
199 #endif // PCL_SURFACE_RECONSTRUCTION_IMPL_H_