]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImageSlab.h
#3501 new box GlyphPolyDataNormals (Pablo)
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageSlab.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 __bbcreaVtkImageSlab_h_INCLUDED__
5 #define __bbcreaVtkImageSlab_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <vtkVersionMacros.h>
11 #include <vtkImageData.h>
12 #include <vtkImageSlab.h>
13
14
15 namespace bbcreaVtk
16 {
17
18 class bbcreaVtk_EXPORT ImageSlab
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(ImageSlab,bbtk::AtomicBlackBox);
23 //===== 
24 // 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)
25 //===== 
26   BBTK_DECLARE_INPUT(In,vtkImageData*);
27   BBTK_DECLARE_INPUT(Type,int);
28   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
29   BBTK_PROCESS(Process);
30
31         bool firsttime;
32         vtkImageSlab *imageSlab;
33
34   void Process();
35 //===== 
36 // 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)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageSlab,bbtk::AtomicBlackBox);
41   BBTK_NAME("ImageSlab");
42   BBTK_AUTHOR("InfoDev");
43   BBTK_DESCRIPTION("Operation of all planes in one plane (projection)");
44   BBTK_CATEGORY("empty");
45
46   BBTK_INPUT(ImageSlab,In,"Input image",vtkImageData*,"");
47   BBTK_INPUT(ImageSlab,Type,"(0 default) 0 Mean, 1 Sum, 2 Min, 3 Max",int,"");
48
49   BBTK_OUTPUT(ImageSlab,Out,"Output image",vtkImageData*,"");
50
51 BBTK_END_DESCRIBE_BLACK_BOX(ImageSlab);
52 //===== 
53 // 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)
54 //===== 
55 }
56 // EO namespace bbcreaVtk
57
58 #endif // __bbcreaVtkImageSlab_h_INCLUDED__
59