3 #include <pcl/kdtree/kdtree_flann.h>
4 #include <pcl/surface/mls.h>
5 #include <pcl/surface/convex_hull.h>
6 #include <pcl/surface/concave_hull.h>
7 #include <pcl/surface/gp3.h>
8 #include <pcl/surface/marching_cubes_hoppe.h>
18 std::vector<pcl::Vertices>
faces;
21 using MeshPtr = std::shared_ptr<Mesh>;
24 smoothPointCloud (
const PointCloudPtr & input,
float radius,
int polynomial_order)
31 computeSurfaceElements (
const PointCloudPtr & input,
float radius,
int polynomial_order)
38 computeConvexHull (
const PointCloudPtr & input)
40 MeshPtr output (
new Mesh);
46 computeConcaveHull (
const PointCloudPtr & input,
float alpha)
48 MeshPtr output (
new Mesh);
53 greedyTriangulation (
const SurfaceElementsPtr & surfels,
float radius,
float mu,
int max_nearest_neighbors,
54 float max_surface_angle,
float min_angle,
float max_angle)
63 marchingCubesTriangulation (
const SurfaceElementsPtr & surfels,
float leaf_size,
float iso_level)