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 __bbcreaVtkImageContinuousErode3D_h_INCLUDED__
5 #define __bbcreaVtkImageContinuousErode3D_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include <vtkVersionMacros.h>
11 #include "vtkImageData.h"
16 class bbcreaVtk_EXPORT ImageContinuousErode3D
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(ImageContinuousErode3D,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(Repetitions,int);
25 BBTK_DECLARE_INPUT(X,double);
26 BBTK_DECLARE_INPUT(Y,double);
27 BBTK_DECLARE_INPUT(Z,double);
28 BBTK_DECLARE_INPUT(Image,vtkImageData*);
29 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
30 BBTK_PROCESS(Process);
32 vtkImageData* erodeFilterRecursive(vtkImageData* image, int repetitions, double x, double y, double z);
34 // 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)
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageContinuousErode3D,bbtk::AtomicBlackBox);
39 BBTK_NAME("ImageContinuousErode3D");
40 BBTK_AUTHOR("Carlos Torres");
41 BBTK_DESCRIPTION("No Description.");
42 BBTK_CATEGORY("empty");
44 BBTK_INPUT(ImageContinuousErode3D,X,"X (default 3)",double,"");
45 BBTK_INPUT(ImageContinuousErode3D,Y,"Y (default 3)",double,"");
46 BBTK_INPUT(ImageContinuousErode3D,Z,"Z (default 3)",double,"");
47 BBTK_INPUT(ImageContinuousErode3D,Repetitions,"Repetitions (default 0, it works minimum ones)",int,"");
48 BBTK_INPUT(ImageContinuousErode3D,Image,"Image input",vtkImageData*,"");
50 BBTK_OUTPUT(ImageContinuousErode3D,Out,"Image output",vtkImageData*,"");
52 BBTK_END_DESCRIBE_BLACK_BOX(ImageContinuousErode3D);
54 // 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 // EO namespace bbcreaVtk
59 #endif // __bbcreaVtkImageContinuousErode3D_h_INCLUDED__