]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkMeshManager_tool.h
Python
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkMeshManager_tool.h
index b861c85bf6d810f0ddaae17617290d2f6ebfca7c..54b6d48fd92cd9f40ced723c4f0c1abedf4b0b45 100644 (file)
@@ -24,7 +24,10 @@ class bbcreaVtk_EXPORT MeshManager_tool
     BBTK_DECLARE_INPUT(Tool,int);
     BBTK_DECLARE_INPUT(Mesh,vtkPolyData*);
     BBTK_DECLARE_INPUT(MeshManagerModel,MeshManagerModel*);
-//  BBTK_DECLARE_OUTPUT(Out,double);
+    BBTK_DECLARE_INPUT(Meshes,std::vector<vtkPolyData*>);
+    BBTK_DECLARE_INPUT(StringParam, std::string);
+    BBTK_DECLARE_INPUT(DoubleParams, std::vector<double>);
+       BBTK_DECLARE_OUTPUT(Out,std::vector<double>);
   BBTK_PROCESS(Process);
   void Process();
 //===== 
@@ -38,11 +41,15 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(MeshManager_tool,bbtk::AtomicBlackBox);
   BBTK_DESCRIPTION("No Description.");
   BBTK_CATEGORY("empty");
 
-  BBTK_INPUT(MeshManager_tool,Tool,"(default 0) 0:Nothing  10:Undo  20:ReDo  30:Set  35:Set memory mode  40:Reset",int,"");
+  BBTK_INPUT(MeshManager_tool,Tool,"(default 0) 0:Nothing  10:Undo  20:ReDo  30:Set  32:Copy and Set  35:Set memory mode  37:Save state memory mode  40:ResetMeshTemp  50: Set Array of meshes  60:Select mesh by name  70:Delete current mesh",int,"");
   BBTK_INPUT(MeshManager_tool,Mesh,"Mesh",vtkPolyData*,"");
+  BBTK_INPUT(MeshManager_tool,Meshes,"Input meshes, required for tool 50",std::vector<vtkPolyData*>,"");
+  BBTK_INPUT(MeshManager_tool,StringParam,"String input",std::string,"");
+  BBTK_INPUT(MeshManager_tool,DoubleParams,"Double Vector input",std::vector<double>,"");
   BBTK_INPUT(MeshManager_tool,MeshManagerModel,"Mesh Manager Model",MeshManagerModel*,"");
 
-//  BBTK_OUTPUT(MeshManager_tool,Out,"First output",double,"");
+  BBTK_OUTPUT(MeshManager_tool,Out,"Output",std::vector<double>,"");
+
 BBTK_END_DESCRIBE_BLACK_BOX(MeshManager_tool);
 //===== 
 // 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)