]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.h
#3268 creaVtk Feature New Normal - CreateMeshFromPoints Delaunay3D
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkCreateMeshFromPoints.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 __bbcreaVtkCreateMeshFromPoints_h_INCLUDED__
5 #define __bbcreaVtkCreateMeshFromPoints_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vtkPolyData.h"
12
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT CreateMeshFromPoints
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(CreateMeshFromPoints,bbtk::AtomicBlackBox);
22 //===== 
23 // 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)
24 //===== 
25   BBTK_DECLARE_INPUT(LstX,std::vector<double>);
26   BBTK_DECLARE_INPUT(LstY,std::vector<double>);
27   BBTK_DECLARE_INPUT(LstZ,std::vector<double>);
28   BBTK_DECLARE_INPUT(LstIndexs,std::vector<int>);
29   BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
30   BBTK_PROCESS(Process);
31   void Process();
32 //===== 
33 // 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)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(CreateMeshFromPoints,bbtk::AtomicBlackBox);
38   BBTK_NAME("CreateMeshFromPoints");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("empty");
42
43   BBTK_INPUT(CreateMeshFromPoints,LstX,"List X point",std::vector<double>,"");
44   BBTK_INPUT(CreateMeshFromPoints,LstY,"List Y point",std::vector<double>,"");
45   BBTK_INPUT(CreateMeshFromPoints,LstZ,"List Z point",std::vector<double>,"");
46   BBTK_INPUT(CreateMeshFromPoints,LstIndexs,"Number of points by segment",std::vector<int>,"");
47
48   BBTK_OUTPUT(CreateMeshFromPoints,Out,"vtkPolyData",vtkPolyData*,"");
49
50 BBTK_END_DESCRIBE_BLACK_BOX(CreateMeshFromPoints);
51 //===== 
52 // 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)
53 //===== 
54 }
55 // EO namespace bbcreaVtk
56
57 #endif // __bbcreaVtkCreateMeshFromPoints_h_INCLUDED__
58