]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkMetaImageReader.h
#3489 vtk9itk5wx3-macos
[bbtk.git] / packages / vtk / src / bbvtkMetaImageReader.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 __bbvtkMetaImageReader_h_INCLUDED__
5 #define __bbvtkMetaImageReader_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkVersion.h"
11 #include "vtkImageData.h"
12
13 namespace bbvtk
14 {
15
16 class bbvtk_EXPORT MetaImageReader
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(MetaImageReader,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(In,std::string);
25   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
26   BBTK_PROCESS(Process);
27   void Process();
28   void Read_mhdb( std::string filename );
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(MetaImageReader,bbtk::AtomicBlackBox);
35   BBTK_NAME("MetaImageReader");
36   BBTK_AUTHOR("Info-Dev");
37   BBTK_DESCRIPTION("No Description.");
38   BBTK_CATEGORY("empty");
39
40   BBTK_INPUT(MetaImageReader,In,"File Name",std::string,"");
41
42   BBTK_OUTPUT(MetaImageReader,Out,"out image",vtkImageData*,"");
43
44 BBTK_END_DESCRIBE_BLACK_BOX(MetaImageReader);
45 //===== 
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)
47 //===== 
48 }
49 // EO namespace bbvtk
50
51 #endif // __bbvtkMetaImageReader_h_INCLUDED__
52