]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkMeshDeformation.h
#3472 MeshDeformation
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkMeshDeformation.h
index 22bb17cbdfd1b8e796b2643a3390ae441a1bfeed..c2ce1a83cb4a0b37e23a14145ef200728b340fef 100644 (file)
@@ -21,17 +21,20 @@ class bbcreaVtk_EXPORT MeshDeformation
 //===== 
 // 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)
 //=====
+  BBTK_DECLARE_INPUT(Active, bool);
+  BBTK_DECLARE_INPUT(TypeIn, int);
   BBTK_DECLARE_INPUT(In,vtkPolyData*);
   BBTK_DECLARE_INPUT(EdgeId, long);
   BBTK_DECLARE_INPUT(S, double);
+  BBTK_DECLARE_INPUT(Center, std::vector<double>);
   BBTK_DECLARE_INPUT(Direction, std::vector<double>);
 //  BBTK_DECLARE_OUTPUT(Out,double);
   BBTK_PROCESS(Process);
   void Process();
   
   long EdgeIdBack;
-    std::vector<int>  voiIdPoints;
-
+    std::vector<int>    voiIdPoints;
+    std::vector<double> backLstCenter;
 //===== 
 // 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)
 //===== 
@@ -42,9 +45,12 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(MeshDeformation,bbtk::AtomicBlackBox);
   BBTK_AUTHOR("Info-Dev");
   BBTK_DESCRIPTION("No Description.");
   BBTK_CATEGORY("empty");
+  BBTK_INPUT(MeshDeformation,Active,"(default true) true/false",bool,"");
+  BBTK_INPUT(MeshDeformation,TypeIn,"(default 0) 0:Direction  1:Center",int,"");
   BBTK_INPUT(MeshDeformation,In,"vtk PolyData",vtkPolyData*,"");
   BBTK_INPUT(MeshDeformation,EdgeId,"Edge Id",long,"");
   BBTK_INPUT(MeshDeformation,S,"Deformation",double,"");
+  BBTK_INPUT(MeshDeformation,Center,"[X,Y,Z]",std::vector<double>,"");
   BBTK_INPUT(MeshDeformation,Direction,"(default [1,0,0])   [X,Y,Z]",std::vector<double>,"");
 //  BBTK_OUTPUT(MeshDeformation,Out,"First output",double,"");
 BBTK_END_DESCRIBE_BLACK_BOX(MeshDeformation);