//===== // 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 __bbcreaVtkImageCutByAxis_h_INCLUDED__ #define __bbcreaVtkImageCutByAxis_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include namespace bbcreaVtk { class bbcreaVtk_EXPORT ImageCutByAxis : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ImageCutByAxis,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(InsideVol,bool); BBTK_DECLARE_INPUT(Point,std::vector); BBTK_DECLARE_INPUT(Type,std::string); BBTK_DECLARE_INPUT(TypeOrientation,int); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_PROCESS(Process); void Process(); //===== // 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(ImageCutByAxis,bbtk::AtomicBlackBox); BBTK_NAME("ImageCutByAxis"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(ImageCutByAxis,In,"Input image",vtkImageData*,""); BBTK_INPUT(ImageCutByAxis,Type,"x y z x+y+ x-y+ x+y- x-y- y+z+ y+z- y-z+ y-z- x+z+ x+z- x-z+ x-z- x+y+z+ x-y+z+ x+y-z+ x+y+z- x-y-z+ x-y+z- x+y-z- x-y-z-",std::string,""); BBTK_INPUT(ImageCutByAxis,InsideVol,"Inside volume",bool,""); BBTK_INPUT(ImageCutByAxis,Point,"First input",std::vector,""); BBTK_INPUT(ImageCutByAxis,TypeOrientation,"TypeOrientation (default 0) 0=XY 1=XZ 2=YZ",int,""); BBTK_OUTPUT(ImageCutByAxis,Out,"Output image",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ImageCutByAxis); //===== // 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 // __bbcreaVtkImageCutByAxis_h_INCLUDED__