X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageImageSwitcherFilter.h;fp=PackRecalage%2Fsrc%2FbbPackRecalageImageSwitcherFilter.h;h=66231887316313931a5c9ec662e811be4ee9ee4e;hb=b5ce366f3f04b6c97e5b429a6d9106aa32cc4f9f;hp=3eed22f70ae08abccb5ff73352458a2530f2450f;hpb=575194132093c4acd7f74d15f44a9b3621a95575;p=creaRigidRegistration.git diff --git a/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h b/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h index 3eed22f..6623188 100644 --- a/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h +++ b/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h @@ -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__