]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkImageExtractComponents.h
#3069 creaVtk Feature New Normal - new box bbcreaVtkImageExtractComponents
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageExtractComponents.h
diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkImageExtractComponents.h b/bbtk_creaVtk_PKG/src/bbcreaVtkImageExtractComponents.h
new file mode 100644 (file)
index 0000000..674e114
--- /dev/null
@@ -0,0 +1,68 @@
+//===== 
+// 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 __bbcreaVtkImageExtractComponents_h_INCLUDED__
+#define __bbcreaVtkImageExtractComponents_h_INCLUDED__
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include <vtkImageData.h>
+#include <vtkImageExtractComponents.h>
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT ImageExtractComponents
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(ImageExtractComponents,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(In,vtkImageData*);
+  BBTK_DECLARE_INPUT(Component0,int);
+  BBTK_DECLARE_INPUT(Component1,int);
+  BBTK_DECLARE_INPUT(Component2,int);
+  BBTK_DECLARE_INPUT(Component3,int);
+  BBTK_DECLARE_OUTPUT(Out0,vtkImageData *);
+  BBTK_DECLARE_OUTPUT(Out1,vtkImageData *);
+  BBTK_DECLARE_OUTPUT(Out2,vtkImageData *);
+  BBTK_DECLARE_OUTPUT(Out3,vtkImageData *);
+  BBTK_PROCESS(Process);
+  void Process();
+
+
+       vtkImageExtractComponents* IEC0;
+       vtkImageExtractComponents* IEC1;
+       vtkImageExtractComponents* IEC2;
+       vtkImageExtractComponents* IEC3;
+//===== 
+// 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(ImageExtractComponents,bbtk::AtomicBlackBox);
+  BBTK_NAME("ImageExtractComponents");
+  BBTK_AUTHOR("InfoDev");
+  BBTK_DESCRIPTION("No Description.");
+  BBTK_CATEGORY("empty");
+  BBTK_INPUT(ImageExtractComponents,In,"Input image",vtkImageData*,"");
+  BBTK_INPUT(ImageExtractComponents,Component0,"Component 0 (default -1)",int,"");
+  BBTK_INPUT(ImageExtractComponents,Component1,"Component 1 (default -1)",int,"");
+  BBTK_INPUT(ImageExtractComponents,Component2,"Component 2 (default -1)",int,"");
+  BBTK_INPUT(ImageExtractComponents,Component3,"Component 3 (default -1)",int,"");
+  BBTK_OUTPUT(ImageExtractComponents,Out0,"Output image 0",vtkImageData*,"");
+  BBTK_OUTPUT(ImageExtractComponents,Out1,"Output image 1",vtkImageData*,"");
+  BBTK_OUTPUT(ImageExtractComponents,Out2,"Output image 2",vtkImageData*,"");
+  BBTK_OUTPUT(ImageExtractComponents,Out3,"Output image 3",vtkImageData*,"");
+BBTK_END_DESCRIBE_BLACK_BOX(ImageExtractComponents);
+//===== 
+// 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 bbcreaVtk
+
+#endif // __bbcreaVtkImageExtractComponents_h_INCLUDED__
+