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"
10 #include <vtkVersionMacros.h>
11 #include <vtkImageData.h>
16 class bbcreaVtk_EXPORT ImageCutByAxis
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(ImageCutByAxis,bbtk::AtomicBlackBox);
22 // 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)
24 BBTK_DECLARE_INPUT(In,vtkImageData*);
25 BBTK_DECLARE_INPUT(InsideVol,bool);
26 BBTK_DECLARE_INPUT(Point,std::vector<int>);
27 BBTK_DECLARE_INPUT(Type,std::string);
28 BBTK_DECLARE_INPUT(TypeOrientation,int);
29 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
30 BBTK_PROCESS(Process);
33 // 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)
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageCutByAxis,bbtk::AtomicBlackBox);
38 BBTK_NAME("ImageCutByAxis");
39 BBTK_AUTHOR("InfoDev");
40 BBTK_DESCRIPTION("No Description.");
41 BBTK_CATEGORY("empty");
42 BBTK_INPUT(ImageCutByAxis,In,"Input image",vtkImageData*,"");
43 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,"");
44 BBTK_INPUT(ImageCutByAxis,InsideVol,"Inside volume",bool,"");
45 BBTK_INPUT(ImageCutByAxis,Point,"First input",std::vector<int>,"");
46 BBTK_INPUT(ImageCutByAxis,TypeOrientation,"TypeOrientation (default 0) 0=XY 1=XZ 2=YZ 3=XYZ",int,"");
47 BBTK_OUTPUT(ImageCutByAxis,Out,"Output image",vtkImageData*,"");
48 BBTK_END_DESCRIBE_BLACK_BOX(ImageCutByAxis);
50 // 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)
53 // EO namespace bbcreaVtk
55 #endif // __bbcreaVtkImageCutByAxis_h_INCLUDED__