//===== // 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 __bbvtkExtractVtkImageFilter_h_INCLUDED__ #define __bbvtkExtractVtkImageFilter_h_INCLUDED__ #include "bbvtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include #include namespace bbvtk { class bbvtk_EXPORT ExtractVtkImageFilter : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ExtractVtkImageFilter,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(Index,std::vector); BBTK_DECLARE_INPUT(Size,std::vector); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_PROCESS(Process); void Process(); private: vtkExtractVOI* _extract; //===== // 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(ExtractVtkImageFilter,bbtk::AtomicBlackBox); BBTK_NAME("ExtractVtkImageFilter"); BBTK_AUTHOR("Info-Dev Creatis"); BBTK_DESCRIPTION("crop vtkImageData"); BBTK_CATEGORY("filter"); BBTK_INPUT(ExtractVtkImageFilter,In,"Input image",vtkImageData*,""); BBTK_INPUT(ExtractVtkImageFilter,Index,"Index (start point of the region to be extracted)",std::vector,""); BBTK_INPUT(ExtractVtkImageFilter,Size,"Size of the region to be extracted",std::vector,""); BBTK_OUTPUT(ExtractVtkImageFilter,Out,"Output image",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ExtractVtkImageFilter); //===== // 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 bbvtk #endif // __bbvtkExtractVtkImageFilter_h_INCLUDED__