]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageAddImageToVector.h
2028 Feature Create the box AddImageToVector
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageAddImageToVector.h
diff --git a/PackRecalage/src/bbPackRecalageAddImageToVector.h b/PackRecalage/src/bbPackRecalageAddImageToVector.h
new file mode 100644 (file)
index 0000000..88f826b
--- /dev/null
@@ -0,0 +1,67 @@
+//===== 
+// 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)
+//===== 
+#ifndef __bbPackRecalageAddImageToVector_h_INCLUDED__
+#define __bbPackRecalageAddImageToVector_h_INCLUDED__
+#include "bbPackRecalage_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkImageData.h"
+
+namespace bbPackRecalage
+{
+
+class bbPackRecalage_EXPORT AddImageToVector
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(AddImageToVector,bbtk::AtomicBlackBox);
+//===== 
+// 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(ImageVector,std::vector<vtkImageData*>);
+  BBTK_DECLARE_INPUT(In0,vtkImageData*);
+  BBTK_DECLARE_INPUT(In1,vtkImageData*);
+  BBTK_DECLARE_INPUT(In2,vtkImageData*);
+  BBTK_DECLARE_INPUT(In3,vtkImageData*);
+  BBTK_DECLARE_INPUT(In4,vtkImageData*);
+  BBTK_DECLARE_INPUT(In5,vtkImageData*);
+  BBTK_DECLARE_INPUT(In6,vtkImageData*);
+  BBTK_DECLARE_INPUT(In7,vtkImageData*);
+  BBTK_DECLARE_INPUT(In8,vtkImageData*);
+  BBTK_DECLARE_INPUT(In9,vtkImageData*);
+  BBTK_DECLARE_OUTPUT(Out,std::vector<vtkImageData*>);
+  BBTK_PROCESS(Process);
+  void Process();
+//===== 
+// 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_BEGIN_DESCRIBE_BLACK_BOX(AddImageToVector,bbtk::AtomicBlackBox);
+BBTK_NAME("AddImageToVector");
+BBTK_AUTHOR("Info-Dev");
+BBTK_DESCRIPTION("eduardo.davila@creatis.insa-lyon.fr - Concat at the end of the ImageVector all the inputs. Add vtkImageData* to a vector fo vtkImageData*");
+BBTK_CATEGORY("void");
+BBTK_INPUT(AddImageToVector,ImageVector,"Vector of vtkImagesData*",std::vector<vtkImageData*>,"");
+BBTK_INPUT(AddImageToVector,In0,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In1,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In2,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In3,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In4,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In5,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In6,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In7,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In8,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(AddImageToVector,In9,"Input image 1",vtkImageData*,"");
+BBTK_OUTPUT(AddImageToVector,Out,"Vector of vtkImageData*",std::vector<vtkImageData*>,"");
+BBTK_END_DESCRIBE_BLACK_BOX(AddImageToVector);
+//===== 
+// 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)
+//===== 
+}
+// EO namespace bbPackRecalage
+
+#endif // __bbPackRecalageAddImageToVector_h_INCLUDED__
+