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 __bbcreaVtkImageThreshold_h_INCLUDED__
5 #define __bbcreaVtkImageThreshold_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include "vtkImageData.h"
12 #include <vtkImageThreshold.h>
17 class bbcreaVtk_EXPORT ImageThreshold
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(ImageThreshold,bbtk::AtomicBlackBox);
23 // 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 BBTK_DECLARE_INPUT(In,vtkImageData*);
26 BBTK_DECLARE_INPUT(Lower,double);
27 BBTK_DECLARE_INPUT(Upper,double);
28 BBTK_DECLARE_INPUT(InValue,double);
29 BBTK_DECLARE_INPUT(OutValue,double);
30 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
31 BBTK_PROCESS(Process);
34 vtkImageThreshold *filter;
37 // 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)
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageThreshold,bbtk::AtomicBlackBox);
42 BBTK_NAME("ImageThreshold");
43 BBTK_AUTHOR("InfoDev");
44 BBTK_DESCRIPTION("No Description.");
45 BBTK_CATEGORY("empty");
46 BBTK_INPUT(ImageThreshold,In,"Input image",vtkImageData*,"");
47 BBTK_INPUT(ImageThreshold,Lower,"(default 0) Lower threshold",double,"");
48 BBTK_INPUT(ImageThreshold,Upper,"(default 10000) Upper threshold",double,"");
49 BBTK_INPUT(ImageThreshold,InValue,"(default 255) In value",double,"");
50 BBTK_INPUT(ImageThreshold,OutValue,"(default 0) Out Value",double,"");
51 BBTK_OUTPUT(ImageThreshold,Out,"Output image",vtkImageData*,"");
52 BBTK_END_DESCRIBE_BLACK_BOX(ImageThreshold);
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 // __bbcreaVtkImageThreshold_h_INCLUDED__