]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImageExtractComponents.h
#3069 creaVtk Feature New Normal - new box bbcreaVtkImageExtractComponents
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageExtractComponents.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 __bbcreaVtkImageExtractComponents_h_INCLUDED__
5 #define __bbcreaVtkImageExtractComponents_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <vtkImageData.h>
11 #include <vtkImageExtractComponents.h>
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT ImageExtractComponents
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(ImageExtractComponents,bbtk::AtomicBlackBox);
21 //===== 
22 // 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)
23 //===== 
24   BBTK_DECLARE_INPUT(In,vtkImageData*);
25   BBTK_DECLARE_INPUT(Component0,int);
26   BBTK_DECLARE_INPUT(Component1,int);
27   BBTK_DECLARE_INPUT(Component2,int);
28   BBTK_DECLARE_INPUT(Component3,int);
29   BBTK_DECLARE_OUTPUT(Out0,vtkImageData *);
30   BBTK_DECLARE_OUTPUT(Out1,vtkImageData *);
31   BBTK_DECLARE_OUTPUT(Out2,vtkImageData *);
32   BBTK_DECLARE_OUTPUT(Out3,vtkImageData *);
33   BBTK_PROCESS(Process);
34   void Process();
35
36
37         vtkImageExtractComponents* IEC0;
38         vtkImageExtractComponents* IEC1;
39         vtkImageExtractComponents* IEC2;
40         vtkImageExtractComponents* IEC3;
41 //===== 
42 // 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)
43 //===== 
44 };
45
46 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageExtractComponents,bbtk::AtomicBlackBox);
47   BBTK_NAME("ImageExtractComponents");
48   BBTK_AUTHOR("InfoDev");
49   BBTK_DESCRIPTION("No Description.");
50   BBTK_CATEGORY("empty");
51   BBTK_INPUT(ImageExtractComponents,In,"Input image",vtkImageData*,"");
52   BBTK_INPUT(ImageExtractComponents,Component0,"Component 0 (default -1)",int,"");
53   BBTK_INPUT(ImageExtractComponents,Component1,"Component 1 (default -1)",int,"");
54   BBTK_INPUT(ImageExtractComponents,Component2,"Component 2 (default -1)",int,"");
55   BBTK_INPUT(ImageExtractComponents,Component3,"Component 3 (default -1)",int,"");
56   BBTK_OUTPUT(ImageExtractComponents,Out0,"Output image 0",vtkImageData*,"");
57   BBTK_OUTPUT(ImageExtractComponents,Out1,"Output image 1",vtkImageData*,"");
58   BBTK_OUTPUT(ImageExtractComponents,Out2,"Output image 2",vtkImageData*,"");
59   BBTK_OUTPUT(ImageExtractComponents,Out3,"Output image 3",vtkImageData*,"");
60 BBTK_END_DESCRIBE_BLACK_BOX(ImageExtractComponents);
61 //===== 
62 // 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)
63 //===== 
64 }
65 // EO namespace bbcreaVtk
66
67 #endif // __bbcreaVtkImageExtractComponents_h_INCLUDED__
68