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 __bbcreaVtkImageContinuousDilate3D_h_INCLUDED__
5 #define __bbcreaVtkImageContinuousDilate3D_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include <vtkVersionMacros.h>
11 #include "vtkImageData.h"
12 #include "vtkImageContinuousDilate3D.h"
13 #include "vtkSmartPointer.h"
18 class bbcreaVtk_EXPORT ImageContinuousDilate3D
20 public bbtk::AtomicBlackBox
22 BBTK_BLACK_BOX_INTERFACE(ImageContinuousDilate3D,bbtk::AtomicBlackBox);
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)
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);
34 vtkImageData* dilateFilterRecursive(vtkImageData* image, int repetitions, double x, double y, double z);
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)
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");
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*,"");
52 BBTK_OUTPUT(ImageContinuousDilate3D,Out,"Image output",vtkImageData*,"");
54 BBTK_END_DESCRIBE_BLACK_BOX(ImageContinuousDilate3D);
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)
59 // EO namespace bbcreaVtk
61 #endif // __bbcreaVtkImageContinuousDilate3D_h_INCLUDED__