]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkWriteLstImages.h
#3457 creaVtk Feature New Normal - new box VtkWriteLstImages
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkWriteLstImages.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 __bbcreaVtkWriteLstImages_h_INCLUDED__
5 #define __bbcreaVtkWriteLstImages_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include <vector>
12 #include "vtkImageData.h"
13
14
15 namespace bbcreaVtk
16 {
17
18 class bbcreaVtk_EXPORT WriteLstImages
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(WriteLstImages,bbtk::AtomicBlackBox);
23 //===== 
24 // 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)
25 //===== 
26   BBTK_DECLARE_INPUT(Type,int);
27   BBTK_DECLARE_INPUT(OutputDir,std::string);
28   BBTK_DECLARE_INPUT(LstImages,std::vector< vtkImageData* >);
29   BBTK_DECLARE_INPUT(FileName,std::string);
30   BBTK_DECLARE_INPUT(Compression,bool);
31 //  BBTK_DECLARE_OUTPUT(Out,double);
32   BBTK_PROCESS(Process);
33   void Process();
34 //===== 
35 // 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)
36 //===== 
37 };
38
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(WriteLstImages,bbtk::AtomicBlackBox);
40   BBTK_NAME("WriteLstImages");
41   BBTK_AUTHOR("InfoDev");
42   BBTK_DESCRIPTION("No Description.");
43   BBTK_CATEGORY("empty");
44
45   BBTK_INPUT(WriteLstImages,Type,"(default 0)  0:mhd  1:nii",int,"");
46   BBTK_INPUT(WriteLstImages,OutputDir,"Output directory",std::string,"");
47   BBTK_INPUT(WriteLstImages,LstImages,"Lst of images",std::vector< vtkImageData* >,"");
48   BBTK_INPUT(WriteLstImages,FileName,"File name (no extension)",std::string,"");
49   BBTK_INPUT(WriteLstImages,Compression,"(Default false)  true/false  just for mhd",bool,"");
50
51 //  BBTK_OUTPUT(WriteLstImages,Out,"First output",double,"");
52
53 BBTK_END_DESCRIBE_BLACK_BOX(WriteLstImages);
54 //===== 
55 // 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)
56 //===== 
57 }
58 // EO namespace bbcreaVtk
59
60 #endif // __bbcreaVtkWriteLstImages_h_INCLUDED__
61