]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkMeshDeformation.h
#3472 MeshDeformation
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkMeshDeformation.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 __bbcreaVtkMeshDeformation_h_INCLUDED__
5 #define __bbcreaVtkMeshDeformation_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 MeshDeformation
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(MeshDeformation,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   BBTK_DECLARE_INPUT(In,vtkPolyData*);
25   BBTK_DECLARE_INPUT(EdgeId, long);
26   BBTK_DECLARE_INPUT(S, double);
27   BBTK_DECLARE_INPUT(Direction, std::vector<double>);
28 //  BBTK_DECLARE_OUTPUT(Out,double);
29   BBTK_PROCESS(Process);
30   void Process();
31   
32   long EdgeIdBack;
33     std::vector<int>  voiIdPoints;
34
35 //===== 
36 // 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)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MeshDeformation,bbtk::AtomicBlackBox);
41   BBTK_NAME("MeshDeformation");
42   BBTK_AUTHOR("Info-Dev");
43   BBTK_DESCRIPTION("No Description.");
44   BBTK_CATEGORY("empty");
45   BBTK_INPUT(MeshDeformation,In,"vtk PolyData",vtkPolyData*,"");
46   BBTK_INPUT(MeshDeformation,EdgeId,"Edge Id",long,"");
47   BBTK_INPUT(MeshDeformation,S,"Deformation",double,"");
48   BBTK_INPUT(MeshDeformation,Direction,"(default [1,0,0])   [X,Y,Z]",std::vector<double>,"");
49 //  BBTK_OUTPUT(MeshDeformation,Out,"First output",double,"");
50 BBTK_END_DESCRIBE_BLACK_BOX(MeshDeformation);
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 // __bbcreaVtkMeshDeformation_h_INCLUDED__
58