]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkDelaunay3D.h
#3268 creaVtk Feature New Normal - CreateMeshFromPoints Delaunay3D
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkDelaunay3D.h
1 //===== 
2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
3 //===== 
4 #ifndef __bbcreaVtkDelaunay3D_h_INCLUDED__
5 #define __bbcreaVtkDelaunay3D_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vtkPolyData.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT Delaunay3D
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(Delaunay3D,bbtk::AtomicBlackBox);
21 //===== 
22 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
23 //===== 
24
25   BBTK_DECLARE_INPUT(Tolerance,double);
26   BBTK_DECLARE_INPUT(Alpha,double);
27   BBTK_DECLARE_INPUT(ShrinkFactor,double);
28   BBTK_DECLARE_INPUT(LstPointsX,std::vector<double>);
29   BBTK_DECLARE_INPUT(LstPointsY,std::vector<double>);
30   BBTK_DECLARE_INPUT(LstPointsZ,std::vector<double>);
31   BBTK_DECLARE_OUTPUT(Out,vtkPolyData *);
32   BBTK_PROCESS(Process);
33   void Process();
34 //===== 
35 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
36 //===== 
37 };
38
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Delaunay3D,bbtk::AtomicBlackBox);
40   BBTK_NAME("Delaunay3D");
41   BBTK_AUTHOR("InfoDev");
42   BBTK_DESCRIPTION("No Description.");
43   BBTK_CATEGORY("empty");
44
45   BBTK_INPUT(Delaunay3D,Tolerance,"Delaunay Tolerance",double,"");
46   BBTK_INPUT(Delaunay3D,Alpha,"Delaunay Alpha",double,"");
47   BBTK_INPUT(Delaunay3D,ShrinkFactor,"Shrink Factor",double,"");
48   BBTK_INPUT(Delaunay3D,LstPointsX,"Vector of points X",std::vector<double>,"");
49   BBTK_INPUT(Delaunay3D,LstPointsY,"Vector of points Y",std::vector<double>,"");
50   BBTK_INPUT(Delaunay3D,LstPointsZ,"Vector of points Z",std::vector<double>,"");
51
52   BBTK_OUTPUT(Delaunay3D,Out,"vtkPolyData",vtkPolyData*,"");
53
54 BBTK_END_DESCRIBE_BLACK_BOX(Delaunay3D);
55 //===== 
56 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
57 //===== 
58 }
59 // EO namespace bbcreaVtk
60
61 #endif // __bbcreaVtkDelaunay3D_h_INCLUDED__
62