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 __bbvtkAutoCrop_h_INCLUDED__
5 #define __bbvtkAutoCrop_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkImageData.h"
15 class bbvtk_EXPORT AutoCrop
17 public bbtk::AtomicBlackBox
19 BBTK_BLACK_BOX_INTERFACE(AutoCrop,bbtk::AtomicBlackBox);
21 // 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)
23 BBTK_DECLARE_INPUT(In,vtkImageData*);
24 BBTK_DECLARE_INPUT(Type,int);
25 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
26 BBTK_PROCESS(Process);
29 vtkImageData *_newImage;
31 // 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)
35 BBTK_BEGIN_DESCRIBE_BLACK_BOX(AutoCrop,bbtk::AtomicBlackBox);
36 BBTK_NAME("AutoCrop");
37 BBTK_AUTHOR("Info-Dev");
38 BBTK_DESCRIPTION("Automatique cropping of the image");
39 BBTK_CATEGORY("Filter");
40 BBTK_INPUT(AutoCrop,In,"Input image",vtkImageData*,"");
41 BBTK_INPUT(AutoCrop,Type,"Type of cropping (default 0) 0=power of two dimensions",int,"");
42 BBTK_OUTPUT(AutoCrop,Out,"Output image",vtkImageData*,"");
43 BBTK_END_DESCRIBE_BLACK_BOX(AutoCrop);
45 // 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)
50 #endif // __bbvtkAutoCrop_h_INCLUDED__