Point Cloud Library (PCL)
1.6.0
Main Page
Modules
Namespaces
Classes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
doc
tutorials
content
sources
iros2011
include
surface.h
Go to the documentation of this file.
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
53
pcl::PolygonMesh::Ptr
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
{
58
pcl::PolygonMesh::Ptr
output (
new
pcl::PolygonMesh
);
59
return
(output);
60
}
61
62
63
pcl::PolygonMesh::Ptr
64
marchingCubesTriangulation
(
const
SurfaceElementsPtr
& surfels,
float
leaf_size,
float
iso_level)
65
{
66
pcl::PolygonMesh::Ptr
output (
new
pcl::PolygonMesh
);
67
return
(output);
68
}
69
70
#endif
Generated on Fri Mar 8 2013 12:50:45 for Point Cloud Library (PCL) by
1.8.3.1