Inshaping: include/AfterProcess.h Source File

Inshaping

Inshaping  0.1
AfterProcess.h
Go to the documentation of this file.
1 #pragma once
2 #include<FileIO.h>
3 #include<Plane.h>
4 #include<BoundingBox.h>
5 #include<pcl/common/centroid.h>
6 #include<ConvexHull.h>
7 #include<Poisson.h>
8 
9 namespace Inshape
10 {
13  class Cutter
14  {
15  private:
16  pcl::PointCloud < pcl::PointXYZ> ::Ptr body_ptr;
17  MyMeshPtr head_ptr;
18 
19  public:
20  Cutter(pcl::PointCloud<pcl::PointXYZ>::Ptr& _body, MyMeshPtr _head):body_ptr(_body),head_ptr(_head){}
21 
22  void setBody(pcl::PointCloud<pcl::PointXYZ>::Ptr& _body)
23  {
24  body_ptr = _body;
25  }
26  void setHead(MyMeshPtr _head)
27  {
28  head_ptr = _head;
29  }
30 
31 
32  pcl::PointCloud<pcl::PointXYZ>::Ptr getCutResult(double threshold,double percent);
33 
34  static pcl::PointCloud<pcl::PointXYZ>::Ptr checkBodyWithHead(pcl::PointCloud<pcl::PointXYZ>::Ptr & bodyshead, pcl::PointCloud<pcl::PointXYZ>::Ptr & head, double threshold);
35 
36 
37  };
39 }
static pcl::PointCloud< pcl::PointXYZ >::Ptr checkBodyWithHead(pcl::PointCloud< pcl::PointXYZ >::Ptr &bodyshead, pcl::PointCloud< pcl::PointXYZ >::Ptr &head, double threshold)
void setHead(MyMeshPtr _head)
Definition: AfterProcess.h:26
Definition: AfterProcess.h:9
Definition: AfterProcess.h:13
pcl::PointCloud< pcl::PointXYZ >::Ptr getCutResult(double threshold, double percent)
void setBody(pcl::PointCloud< pcl::PointXYZ >::Ptr &_body)
Definition: AfterProcess.h:22
Cutter(pcl::PointCloud< pcl::PointXYZ >::Ptr &_body, MyMeshPtr _head)
Definition: AfterProcess.h:20
std::shared_ptr< MyMesh > MyMeshPtr
Definition: Common.h:24
Generated by   doxygen 1.8.14