+//=====
+// 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)
+//=====
+#ifndef __bbcreaVtkImageThreshold_h_INCLUDED__
+#define __bbcreaVtkImageThreshold_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkImageData.h"
+#include <vtkImageThreshold.h>
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT ImageThreshold
+ :
+ public bbtk::AtomicBlackBox
+{
+ BBTK_BLACK_BOX_INTERFACE(ImageThreshold,bbtk::AtomicBlackBox);
+//=====
+// 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)
+//=====
+ BBTK_DECLARE_INPUT(In,vtkImageData*);
+ BBTK_DECLARE_INPUT(Lower,double);
+ BBTK_DECLARE_INPUT(Upper,double);
+ BBTK_DECLARE_INPUT(InValue,double);
+ BBTK_DECLARE_INPUT(OutValue,double);
+ BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
+ BBTK_PROCESS(Process);
+ void Process();
+
+ vtkImageThreshold *filter;
+
+//=====
+// 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)
+//=====
+};
+
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageThreshold,bbtk::AtomicBlackBox);
+ BBTK_NAME("ImageThreshold");
+ BBTK_AUTHOR("InfoDev");
+ BBTK_DESCRIPTION("No Description.");
+ BBTK_CATEGORY("empty");
+ BBTK_INPUT(ImageThreshold,In,"Input image",vtkImageData*,"");
+ BBTK_INPUT(ImageThreshold,Lower,"(default 0) Lower threshold",double,"");
+ BBTK_INPUT(ImageThreshold,Upper,"(default 10000) Upper threshold",double,"");
+ BBTK_INPUT(ImageThreshold,InValue,"(default 255) In value",double,"");
+ BBTK_INPUT(ImageThreshold,OutValue,"(default 0) Out Value",double,"");
+ BBTK_OUTPUT(ImageThreshold,Out,"Output image",vtkImageData*,"");
+BBTK_END_DESCRIBE_BLACK_BOX(ImageThreshold);
+//=====
+// 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)
+//=====
+}
+// EO namespace bbcreaVtk
+
+#endif // __bbcreaVtkImageThreshold_h_INCLUDED__
+