]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkReadMHDPlane.h
#2711 creaVtk Feature New Normal - new Box ReadMHDPlane
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkReadMHDPlane.h
1 //===== 
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)
3 //===== 
4 #ifndef __bbcreaVtkReadMHDPlane_h_INCLUDED__
5 #define __bbcreaVtkReadMHDPlane_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11 #include "vtkMetaImageReader.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT ReadMHDPlane
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(ReadMHDPlane,bbtk::AtomicBlackBox);
21 //===== 
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)
23 //===== 
24   BBTK_DECLARE_INPUT(FileName,std::string);
25   BBTK_DECLARE_INPUT(Slice,int);
26   BBTK_DECLARE_OUTPUT(Out,vtkImageData*); 
27   BBTK_PROCESS(Process);
28   void Process();
29 //===== 
30 // 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)
31 //===== 
32 };
33
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadMHDPlane,bbtk::AtomicBlackBox);
35  BBTK_NAME("ReadMHDPlane");
36  BBTK_AUTHOR("InfoDev");
37  BBTK_DESCRIPTION("No Description.");
38  BBTK_CATEGORY("empty");
39  BBTK_INPUT(ReadMHDPlane,FileName,"Image file name",std::string,"");
40  BBTK_INPUT(ReadMHDPlane,Slice,"Slice number",int,"");
41  BBTK_OUTPUT(ReadMHDPlane,Out,"Image 2D",vtkImageData*,"");
42 BBTK_END_DESCRIBE_BLACK_BOX(ReadMHDPlane);
43 //===== 
44 // 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)
45 //===== 
46 }
47 // EO namespace bbcreaVtk
48
49 #endif // __bbcreaVtkReadMHDPlane_h_INCLUDED__
50