]> 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(Active, bool);
25   BBTK_DECLARE_INPUT(TypeIn, int);
26   BBTK_DECLARE_INPUT(In,vtkPolyData*);
27   BBTK_DECLARE_INPUT(EdgeId, long);
28   BBTK_DECLARE_INPUT(S, double);
29   BBTK_DECLARE_INPUT(Center, std::vector<double>);
30   BBTK_DECLARE_INPUT(Direction, std::vector<double>);
31 //  BBTK_DECLARE_OUTPUT(Out,double);
32   BBTK_PROCESS(Process);
33   void Process();
34   
35   long EdgeIdBack;
36     std::vector<int>    voiIdPoints;
37     std::vector<double> backLstCenter;
38 //===== 
39 // 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)
40 //===== 
41 };
42
43 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MeshDeformation,bbtk::AtomicBlackBox);
44   BBTK_NAME("MeshDeformation");
45   BBTK_AUTHOR("Info-Dev");
46   BBTK_DESCRIPTION("No Description.");
47   BBTK_CATEGORY("empty");
48   BBTK_INPUT(MeshDeformation,Active,"(default true) true/false",bool,"");
49   BBTK_INPUT(MeshDeformation,TypeIn,"(default 0) 0:Direction  1:Center",int,"");
50   BBTK_INPUT(MeshDeformation,In,"vtk PolyData",vtkPolyData*,"");
51   BBTK_INPUT(MeshDeformation,EdgeId,"Edge Id",long,"");
52   BBTK_INPUT(MeshDeformation,S,"Deformation",double,"");
53   BBTK_INPUT(MeshDeformation,Center,"[X,Y,Z]",std::vector<double>,"");
54   BBTK_INPUT(MeshDeformation,Direction,"(default [1,0,0])   [X,Y,Z]",std::vector<double>,"");
55 //  BBTK_OUTPUT(MeshDeformation,Out,"First output",double,"");
56 BBTK_END_DESCRIBE_BLACK_BOX(MeshDeformation);
57 //===== 
58 // 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)
59 //===== 
60 }
61 // EO namespace bbcreaVtk
62
63 #endif // __bbcreaVtkMeshDeformation_h_INCLUDED__
64