]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuReadCreaContourFile.h
#3269 creaMaracas Visu Feature New Normal - ReadCreaContourFile Box
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuReadCreaContourFile.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 __bbcreaMaracasVisuReadCreaContourFile_h_INCLUDED__
5 #define __bbcreaMaracasVisuReadCreaContourFile_h_INCLUDED__
6
7 #include "bbcreaMaracasVisu_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 namespace bbcreaMaracasVisu
12 {
13
14 class bbcreaMaracasVisu_EXPORT ReadCreaContourFile
15  : 
16    public bbtk::AtomicBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(ReadCreaContourFile,bbtk::AtomicBlackBox);
19 //===== 
20 // 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)
21 //===== 
22   BBTK_DECLARE_INPUT(FileNameRoi,std::string);
23   BBTK_DECLARE_INPUT(FromDirection,int);
24
25   BBTK_DECLARE_OUTPUT(LstX,std::vector<double>);
26   BBTK_DECLARE_OUTPUT(LstY,std::vector<double>);
27   BBTK_DECLARE_OUTPUT(LstZ,std::vector<double>);
28   BBTK_DECLARE_OUTPUT(LstIndexs,std::vector<int>);
29   BBTK_PROCESS(Process);
30   void Process();
31 //===== 
32 // 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)
33 //===== 
34 };
35
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadCreaContourFile,bbtk::AtomicBlackBox);
37   BBTK_NAME("ReadCreaContourFile");
38   BBTK_AUTHOR("InfoDev");
39   BBTK_DESCRIPTION("No Description.");
40   BBTK_CATEGORY("empty");
41
42   BBTK_INPUT(ReadCreaContourFile,FileNameRoi,"creaContour file (*.roi)",std::string,"");
43   BBTK_INPUT(ReadCreaContourFile,FromDirection,"(default 0)  0:XY  1:YZ   2:XZ",int,"");
44
45   BBTK_OUTPUT(ReadCreaContourFile,LstX,"Vetor X",std::vector<double>,"");
46   BBTK_OUTPUT(ReadCreaContourFile,LstY,"Vetor Y",std::vector<double>,"");
47   BBTK_OUTPUT(ReadCreaContourFile,LstZ,"Vetor Z",std::vector<double>,"");
48   BBTK_OUTPUT(ReadCreaContourFile,LstIndexs,"List of : number of elements by segments",std::vector<int>,"");
49
50 BBTK_END_DESCRIBE_BLACK_BOX(ReadCreaContourFile);
51 //===== 
52 // 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 //===== 
54 }
55 // EO namespace bbcreaMaracasVisu
56
57 #endif // __bbcreaMaracasVisuReadCreaContourFile_h_INCLUDED__
58