]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageImageSwitcherFilter.h
2020 Feature Comparing Images in XY XZ YZ planes
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageImageSwitcherFilter.h
diff --git a/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h b/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h
new file mode 100644 (file)
index 0000000..3eed22f
--- /dev/null
@@ -0,0 +1,51 @@
+//===== 
+// 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 __bbPackRecalageImageSwitcherFilter_h_INCLUDED__
+#define __bbPackRecalageImageSwitcherFilter_h_INCLUDED__
+#include "bbPackRecalage_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkImageData.h"
+
+namespace bbPackRecalage
+{
+
+class bbPackRecalage_EXPORT ImageSwitcherFilter
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(ImageSwitcherFilter,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(In1,vtkImageData*);
+  BBTK_DECLARE_INPUT(In2,vtkImageData*);
+  BBTK_DECLARE_OUTPUT(Out,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)
+//===== 
+
+  int flag;
+};
+
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageSwitcherFilter,bbtk::AtomicBlackBox);
+BBTK_NAME("ImageSwitcherFilter");
+BBTK_AUTHOR("Info-Dev");
+BBTK_DESCRIPTION("Switch image between In1 and In2");
+BBTK_CATEGORY("empty");
+BBTK_INPUT(ImageSwitcherFilter,In1,"Input image 1",vtkImageData*,"");
+BBTK_INPUT(ImageSwitcherFilter,In2,"Input image 2",vtkImageData*,"");
+BBTK_OUTPUT(ImageSwitcherFilter,Out,"Output image",vtkImageData*,"");
+BBTK_END_DESCRIBE_BLACK_BOX(ImageSwitcherFilter);
+//===== 
+// 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 // __bbPackRecalageImageSwitcherFilter_h_INCLUDED__
+