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)
4 #ifndef __bbcreaVtkMeshDeformation_h_INCLUDED__
5 #define __bbcreaVtkMeshDeformation_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include "vtkPolyData.h"
16 class bbcreaVtk_EXPORT MeshDeformation
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(MeshDeformation,bbtk::AtomicBlackBox);
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)
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);
36 std::vector<int> voiIdPoints;
37 std::vector<double> backLstCenter;
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)
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);
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)
61 // EO namespace bbcreaVtk
63 #endif // __bbcreaVtkMeshDeformation_h_INCLUDED__