]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/src/bbPackRecalageImageSwitcherFilter.h
#3471 Add manual option to CompareImageSwitcherWidget
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageImageSwitcherFilter.h
1 //===== 
2 // 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)
3 //===== 
4 #ifndef __bbPackRecalageImageSwitcherFilter_h_INCLUDED__
5 #define __bbPackRecalageImageSwitcherFilter_h_INCLUDED__
6 #include "bbPackRecalage_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11
12 namespace bbPackRecalage
13 {
14
15 class bbPackRecalage_EXPORT ImageSwitcherFilter
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(ImageSwitcherFilter,bbtk::AtomicBlackBox);
20 //===== 
21 // 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)
22 //===== 
23   BBTK_DECLARE_INPUT(Active,bool);
24   BBTK_DECLARE_INPUT(In1,vtkImageData*);
25   BBTK_DECLARE_INPUT(In2,vtkImageData*);
26   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
27   BBTK_PROCESS(Process);
28   void Process();
29 //===== 
30 // 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)
31 //===== 
32
33   int flag;
34 };
35
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageSwitcherFilter,bbtk::AtomicBlackBox);
37   BBTK_NAME("ImageSwitcherFilter");
38   BBTK_AUTHOR("Info-Dev");
39   BBTK_DESCRIPTION("Switch image between In1 and In2");
40   BBTK_CATEGORY("empty");
41   BBTK_INPUT(ImageSwitcherFilter,Active,"(default true)  true/false",bool,"");
42   BBTK_INPUT(ImageSwitcherFilter,In1,"Input image 1",vtkImageData*,"");
43   BBTK_INPUT(ImageSwitcherFilter,In2,"Input image 2",vtkImageData*,"");
44   BBTK_OUTPUT(ImageSwitcherFilter,Out,"Output image",vtkImageData*,"");
45 BBTK_END_DESCRIBE_BLACK_BOX(ImageSwitcherFilter);
46 //===== 
47 // 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)
48 //===== 
49 }// EO namespace bbPackRecalage
50
51 #endif // __bbPackRecalageImageSwitcherFilter_h_INCLUDED__
52