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)
4 #ifndef __bbcreaVtkImageExtractComponents_h_INCLUDED__
5 #define __bbcreaVtkImageExtractComponents_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include <vtkImageData.h>
11 #include <vtkImageExtractComponents.h>
16 class bbcreaVtk_EXPORT ImageExtractComponents
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(ImageExtractComponents,bbtk::AtomicBlackBox);
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)
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);
37 vtkImageExtractComponents* IEC0;
38 vtkImageExtractComponents* IEC1;
39 vtkImageExtractComponents* IEC2;
40 vtkImageExtractComponents* IEC3;
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)
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);
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)
65 // EO namespace bbcreaVtk
67 #endif // __bbcreaVtkImageExtractComponents_h_INCLUDED__