Point Cloud Library (PCL)  1.9.1
surface.h
1 #ifndef SURFACE_H_
2 #define SURFACE_H_
3 
4 #include <pcl/kdtree/kdtree_flann.h>
5 #include <pcl/surface/mls.h>
6 #include <pcl/surface/convex_hull.h>
7 #include <pcl/surface/concave_hull.h>
8 #include <pcl/surface/gp3.h>
9 #include <pcl/surface/marching_cubes_hoppe.h>
10 
11 #include "typedefs.h"
12 
13 
14 class Mesh
15 {
16 public:
17  Mesh () : points (new PointCloud) {}
18  PointCloudPtr points;
19  std::vector<pcl::Vertices> faces;
20 };
21 
22 typedef boost::shared_ptr<Mesh> MeshPtr;
23 
24 PointCloudPtr
25 smoothPointCloud (const PointCloudPtr & input, float radius, int polynomial_order)
26 {
27  PointCloudPtr output (new PointCloud);
28  return (output);
29 }
30 
31 SurfaceElementsPtr
32 computeSurfaceElements (const PointCloudPtr & input, float radius, int polynomial_order)
33 {
34  SurfaceElementsPtr surfels (new SurfaceElements);
35  return (surfels);
36 }
37 
38 MeshPtr
39 computeConvexHull (const PointCloudPtr & input)
40 {
41  MeshPtr output (new Mesh);
42  return (output);
43 }
44 
45 
46 MeshPtr
47 computeConcaveHull (const PointCloudPtr & input, float alpha)
48 {
49  MeshPtr output (new Mesh);
50  return (output);
51 }
52 
54 greedyTriangulation (const SurfaceElementsPtr & surfels, float radius, float mu, int max_nearest_neighbors,
55  float max_surface_angle, float min_angle, float max_angle)
56 
57 {
59  return (output);
60 }
61 
62 
64 marchingCubesTriangulation (const SurfaceElementsPtr & surfels, float leaf_size, float iso_level)
65 {
67  return (output);
68 }
69 
70 #endif
Definition: surface.h:14
PointCloudPtr points
Definition: surface.h:18
Mesh()
Definition: surface.h:17
std::vector< pcl::Vertices > faces
Definition: surface.h:19
boost::shared_ptr< ::pcl::PolygonMesh > Ptr
Definition: PolygonMesh.h:28
PointCloud represents the base class in PCL for storing collections of 3D points.