40 #ifndef PCL_SURFACE_RECONSTRUCTION_IMPL_H_
41 #define PCL_SURFACE_RECONSTRUCTION_IMPL_H_
43 #include <pcl/conversions.h>
44 #include <pcl/search/kdtree.h>
45 #include <pcl/search/organized.h>
51 template <
typename Po
intInT>
void
55 output.
header = input_->header;
70 if (input_->isOrganized ())
77 tree_->setInputCloud (input_, indices_);
83 output.
polygons.reserve (2*indices_->size ());
85 performReconstruction (output);
91 template <
typename Po
intInT>
void
93 std::vector<pcl::Vertices> &polygons)
96 points.
header = input_->header;
111 if (input_->isOrganized ())
118 tree_->setInputCloud (input_, indices_);
123 polygons.reserve (2 * indices_->size ());
125 performReconstruction (points, polygons);
131 template <
typename Po
intInT>
void
135 output.
header = input_->header;
150 if (input_->isOrganized ())
157 tree_->setInputCloud (input_, indices_);
165 performReconstruction (output);
171 template <
typename Po
intInT>
void
185 if (input_->isOrganized ())
192 tree_->setInputCloud (input_, indices_);
199 performReconstruction (polygons);
206 #endif // PCL_SURFACE_RECONSTRUCTION_IMPL_H_