]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.h
#3279 creaVtk Bug New Normal - ImageContinuousErode3D box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageContinuousErode3D.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 __bbcreaVtkImageContinuousErode3D_h_INCLUDED__
5 #define __bbcreaVtkImageContinuousErode3D_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11
12 namespace bbcreaVtk
13 {
14
15 class bbcreaVtk_EXPORT ImageContinuousErode3D
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(ImageContinuousErode3D,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(Repetitions,int);
24   BBTK_DECLARE_INPUT(X,double);
25   BBTK_DECLARE_INPUT(Y,double);
26   BBTK_DECLARE_INPUT(Z,double);
27   BBTK_DECLARE_INPUT(Image,vtkImageData*);
28   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
29   BBTK_PROCESS(Process);
30   void Process();
31         vtkImageData* erodeFilterRecursive(vtkImageData* image, int repetitions, double x, double y, double z);
32 //===== 
33 // 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)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageContinuousErode3D,bbtk::AtomicBlackBox);
38   BBTK_NAME("ImageContinuousErode3D");
39   BBTK_AUTHOR("Carlos Torres");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("empty");
42
43   BBTK_INPUT(ImageContinuousErode3D,X,"X (default 3)",double,"");
44   BBTK_INPUT(ImageContinuousErode3D,Y,"Y (default 3)",double,"");
45   BBTK_INPUT(ImageContinuousErode3D,Z,"Z (default 3)",double,"");
46   BBTK_INPUT(ImageContinuousErode3D,Repetitions,"Repetitions  (default 0, it works minimum ones)",int,"");
47   BBTK_INPUT(ImageContinuousErode3D,Image,"Image input",vtkImageData*,"");
48
49   BBTK_OUTPUT(ImageContinuousErode3D,Out,"Image output",vtkImageData*,"");
50
51 BBTK_END_DESCRIBE_BLACK_BOX(ImageContinuousErode3D);
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 // __bbcreaVtkImageContinuousErode3D_h_INCLUDED__
59