]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageImageSwitcherFilter.h
#3471 Add manual option to CompareImageSwitcherWidget
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageImageSwitcherFilter.h
index 3eed22f70ae08abccb5ff73352458a2530f2450f..66231887316313931a5c9ec662e811be4ee9ee4e 100644 (file)
@@ -20,6 +20,7 @@ class bbPackRecalage_EXPORT 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)
 //===== 
+  BBTK_DECLARE_INPUT(Active,bool);
   BBTK_DECLARE_INPUT(In1,vtkImageData*);
   BBTK_DECLARE_INPUT(In2,vtkImageData*);
   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
@@ -33,19 +34,19 @@ class bbPackRecalage_EXPORT ImageSwitcherFilter
 };
 
 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_NAME("ImageSwitcherFilter");
+  BBTK_AUTHOR("Info-Dev");
+  BBTK_DESCRIPTION("Switch image between In1 and In2");
+  BBTK_CATEGORY("empty");
+  BBTK_INPUT(ImageSwitcherFilter,Active,"(default true)  true/false",bool,"");
+  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
+}// EO namespace bbPackRecalage
 
 #endif // __bbPackRecalageImageSwitcherFilter_h_INCLUDED__