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 __bbcreaVtkImageCutByAxis_h_INCLUDED__
5 #define __bbcreaVtkImageCutByAxis_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
9 #include <vtkImageData.h>
14 class bbcreaVtk_EXPORT ImageCutByAxis
16 public bbtk::AtomicBlackBox
18 BBTK_BLACK_BOX_INTERFACE(ImageCutByAxis,bbtk::AtomicBlackBox);
20 // 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)
22 BBTK_DECLARE_INPUT(In,vtkImageData*);
23 BBTK_DECLARE_INPUT(InsideVol,bool);
24 BBTK_DECLARE_INPUT(Point,std::vector<int>);
25 BBTK_DECLARE_INPUT(Type,std::string);
26 BBTK_DECLARE_INPUT(TypeOrientation,int);
27 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
28 BBTK_PROCESS(Process);
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(ImageCutByAxis,bbtk::AtomicBlackBox);
36 BBTK_NAME("ImageCutByAxis");
37 BBTK_AUTHOR("InfoDev");
38 BBTK_DESCRIPTION("No Description.");
39 BBTK_CATEGORY("empty");
40 BBTK_INPUT(ImageCutByAxis,In,"Input image",vtkImageData*,"");
41 BBTK_INPUT(ImageCutByAxis,Type,"(default x-y-z+) missing all options: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,"");
42 BBTK_INPUT(ImageCutByAxis,InsideVol,"Inside volume",bool,"");
43 BBTK_INPUT(ImageCutByAxis,Point,"First input",std::vector<int>,"");
44 BBTK_INPUT(ImageCutByAxis,TypeOrientation,"TypeOrientation (default 0) 0=XY 1=XZ 2=YZ",int,"");
45 BBTK_OUTPUT(ImageCutByAxis,Out,"Output image",vtkImageData*,"");
46 BBTK_END_DESCRIBE_BLACK_BOX(ImageCutByAxis);
48 // 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)
51 // EO namespace bbcreaVtk
53 #endif // __bbcreaVtkImageCutByAxis_h_INCLUDED__