X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageImageSwitcherFilter.h;fp=PackRecalage%2Fsrc%2FbbPackRecalageImageSwitcherFilter.h;h=3eed22f70ae08abccb5ff73352458a2530f2450f;hb=5de2560696c73fae856eba087176a1a7b0ba5fbd;hp=0000000000000000000000000000000000000000;hpb=6b024ba9309731b6ba4591ea2f429aa89de3aa9c;p=creaRigidRegistration.git diff --git a/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h b/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h new file mode 100644 index 0000000..3eed22f --- /dev/null +++ b/PackRecalage/src/bbPackRecalageImageSwitcherFilter.h @@ -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__ +