]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousDilate3D.h
#3491 vtk9itk5wx3-macos
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageContinuousDilate3D.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 __bbcreaVtkImageContinuousDilate3D_h_INCLUDED__
5 #define __bbcreaVtkImageContinuousDilate3D_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 "vtkImageContinuousDilate3D.h"
13 #include "vtkSmartPointer.h"
14
15 namespace bbcreaVtk
16 {
17
18 class bbcreaVtk_EXPORT ImageContinuousDilate3D
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(ImageContinuousDilate3D,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(X,double);
27   BBTK_DECLARE_INPUT(Y,double);
28   BBTK_DECLARE_INPUT(Z,double);
29   BBTK_DECLARE_INPUT(Repetitions,int);
30   BBTK_DECLARE_INPUT(Image,vtkImageData*);
31   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
32   BBTK_PROCESS(Process);
33   void Process();
34         vtkImageData* dilateFilterRecursive(vtkImageData* image, int repetitions, double x, double y, double z);
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(ImageContinuousDilate3D,bbtk::AtomicBlackBox);
41   BBTK_NAME("ImageContinuousDilate3D");
42   BBTK_AUTHOR("Carlos Torres");
43   BBTK_DESCRIPTION("No Description.");
44   BBTK_CATEGORY("empty");
45
46   BBTK_INPUT(ImageContinuousDilate3D,X,"X (default 3)",double,"");
47   BBTK_INPUT(ImageContinuousDilate3D,Y,"Y (default 3)",double,"");
48   BBTK_INPUT(ImageContinuousDilate3D,Z,"Z (default 3)",double,"");
49   BBTK_INPUT(ImageContinuousDilate3D,Repetitions,"Repetitions (default 0, it works minimum ones) ",int,"");
50   BBTK_INPUT(ImageContinuousDilate3D,Image,"Image input",vtkImageData*,"");
51
52   BBTK_OUTPUT(ImageContinuousDilate3D,Out,"Image output",vtkImageData*,"");
53
54 BBTK_END_DESCRIBE_BLACK_BOX(ImageContinuousDilate3D);
55 //===== 
56 // 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)
57 //===== 
58 }
59 // EO namespace bbcreaVtk
60
61 #endif // __bbcreaVtkImageContinuousDilate3D_h_INCLUDED__
62