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 __bbcreaVtkReadMHDPlane_h_INCLUDED__
5 #define __bbcreaVtkReadMHDPlane_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkImageData.h"
11 #include "vtkMetaImageReader.h"
16 class bbcreaVtk_EXPORT ReadMHDPlane
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(ReadMHDPlane,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(FileName,std::string);
25 BBTK_DECLARE_INPUT(Slice,int);
26 BBTK_DECLARE_INPUT(DirectionPlane,std::string);
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(ReadMHDPlane,bbtk::AtomicBlackBox);
36 BBTK_NAME("ReadMHDPlane");
37 BBTK_AUTHOR("InfoDev");
38 BBTK_DESCRIPTION("No Description.");
39 BBTK_CATEGORY("empty");
40 BBTK_INPUT(ReadMHDPlane,FileName,"Image file name",std::string,"");
41 BBTK_INPUT(ReadMHDPlane,Slice,"Slice number",int,"");
42 BBTK_INPUT(ReadMHDPlane,DirectionPlane,"Direction plane: XY (default), YZ , XZ",std::string,"");
43 BBTK_OUTPUT(ReadMHDPlane,Out,"Image 2D",vtkImageData*,"");
44 BBTK_END_DESCRIBE_BLACK_BOX(ReadMHDPlane);
46 // 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)
49 // EO namespace bbcreaVtk
51 #endif // __bbcreaVtkReadMHDPlane_h_INCLUDED__