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 __bbvtkExtractVtkImageFilter_h_INCLUDED__
5 #define __bbvtkExtractVtkImageFilter_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
12 #include <vtkImageData.h>
13 #include <vtkExtractVOI.h>
18 class bbvtk_EXPORT ExtractVtkImageFilter
20 public bbtk::AtomicBlackBox
22 BBTK_BLACK_BOX_INTERFACE(ExtractVtkImageFilter,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(In,vtkImageData*);
27 BBTK_DECLARE_INPUT(Index,std::vector<int>);
28 BBTK_DECLARE_INPUT(Size,std::vector<int>);
29 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
30 BBTK_PROCESS(Process);
34 vtkExtractVOI* _extract;
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(ExtractVtkImageFilter,bbtk::AtomicBlackBox);
42 BBTK_NAME("ExtractVtkImageFilter");
43 BBTK_AUTHOR("Info-Dev Creatis");
44 BBTK_DESCRIPTION("crop vtkImageData");
45 BBTK_CATEGORY("filter");
46 BBTK_INPUT(ExtractVtkImageFilter,In,"Input image",vtkImageData*,"");
47 BBTK_INPUT(ExtractVtkImageFilter,Index,"Index (start point of the region to be extracted)",std::vector<int>,"");
48 BBTK_INPUT(ExtractVtkImageFilter,Size,"Size of the region to be extracted",std::vector<int>,"");
49 BBTK_OUTPUT(ExtractVtkImageFilter,Out,"Output image",vtkImageData*,"");
50 BBTK_END_DESCRIBE_BLACK_BOX(ExtractVtkImageFilter);
52 // 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 #endif // __bbvtkExtractVtkImageFilter_h_INCLUDED__