Inshaping: include/Poisson.h Source File

Inshaping

Inshaping  0.1
Poisson.h
Go to the documentation of this file.
1 #pragma once
2 //������͵�ͷ�ļ�
3 #include <pcl/point_types.h>
4 //kd��
5 #include <pcl/kdtree/kdtree_flann.h>
6 //������ȡ
7 #include <pcl/features/normal_3d_omp.h>
8 #include <pcl/features/normal_3d.h>
9 //�ع�
10 #include <pcl/surface/gp3.h>
11 #include <pcl/surface/poisson.h>
12 #include<Normal.h>
13 #include<Common.h>
14 #include<algorithm>
15 #include<Convert.h>
16 
17 namespace Inshape
18 {
21  class Poisson
22  {
23  private:
24  pcl::PointCloud<pcl::PointXYZ>::Ptr input;
25  int depth;
26 
27  public:
29  {
30 
31  }
32  Poisson(pcl::PointCloud<pcl::PointXYZ>::Ptr& cloud) :input(cloud), depth(9)
33  {
34 
35  }
36  void setDepth(int _depth)
37  {
38  depth = _depth;
39  }
40  void setInputCloud(pcl::PointCloud<pcl::PointXYZ>::Ptr& cloud)
41  {
42  input = cloud;
43  }
44 
46 
47  static MyMeshPtr getOutput(pcl::PointCloud<pcl::PointNormal>::Ptr& cloud, int depth);
48 
49 
50 
51  };
54 }
Definition: AfterProcess.h:9
void setDepth(int _depth)
Definition: Poisson.h:36
Poisson()
Definition: Poisson.h:28
void setInputCloud(pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud)
Definition: Poisson.h:40
Poisson(pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud)
Definition: Poisson.h:32
Definition: Poisson.h:21
MyMeshPtr getOutput()
std::shared_ptr< MyMesh > MyMeshPtr
Definition: Common.h:24
Generated by   doxygen 1.8.14