]> Creatis software - creaImageIO.git/blob - bbtk_Transform3Ddicom_PKG/src/bbTransform3DdicomCreateAxesTreeData.h
#3326 bbtk_Transform3Ddicom_PKG
[creaImageIO.git] / bbtk_Transform3Ddicom_PKG / src / bbTransform3DdicomCreateAxesTreeData.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 __bbTransform3DdicomCreateAxesTreeData_h_INCLUDED__
5 #define __bbTransform3DdicomCreateAxesTreeData_h_INCLUDED__
6 #include "bbTransform3Ddicom_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbTransform3Ddicom
11 {
12
13 class bbTransform3Ddicom_EXPORT CreateAxesTreeData
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(CreateAxesTreeData,bbtk::AtomicBlackBox);
18 //===== 
19 // 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)
20 //===== 
21   BBTK_DECLARE_INPUT(IPP,std::vector<double>);
22   BBTK_DECLARE_INPUT(IOP,std::vector<double>);
23   BBTK_DECLARE_INPUT(ImageSize,std::vector<int>);
24   BBTK_DECLARE_INPUT(ImageSpacing,std::vector<double>);
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(LstIndex,std::vector<int>);
29   BBTK_DECLARE_OUTPUT(LstColor,std::vector<double>);
30   BBTK_PROCESS(Process);
31   void Process();
32 //===== 
33 // 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)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(CreateAxesTreeData,bbtk::AtomicBlackBox);
38   BBTK_NAME("CreateAxesTreeData");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("IPP[3] IOP[6]. X-red Y-yelow Z-violet,  V1-white, V2-gray");
41   BBTK_CATEGORY("empty");
42   BBTK_INPUT(CreateAxesTreeData,IPP,"Image position patient",std::vector<double>,"");
43   BBTK_INPUT(CreateAxesTreeData,IOP,"Image orientation patient",std::vector<double>,"");
44   BBTK_INPUT(CreateAxesTreeData,ImageSize,"Image size",std::vector<int>,"");
45   BBTK_INPUT(CreateAxesTreeData,ImageSpacing,"Image spacing",std::vector<double>,"");
46   BBTK_OUTPUT(CreateAxesTreeData,LstX,"List X",std::vector<double>,"");
47   BBTK_OUTPUT(CreateAxesTreeData,LstY,"List Y",std::vector<double>,"");
48   BBTK_OUTPUT(CreateAxesTreeData,LstZ,"List Z",std::vector<double>,"");
49   BBTK_OUTPUT(CreateAxesTreeData,LstIndex,"List Index",std::vector<int>,"");
50   BBTK_OUTPUT(CreateAxesTreeData,LstColor,"List Index",std::vector<double>,"");
51 BBTK_END_DESCRIBE_BLACK_BOX(CreateAxesTreeData);
52 //===== 
53 // 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)
54 //===== 
55 }
56 // EO namespace bbTransform3Ddicom
57
58 #endif // __bbTransform3DdicomCreateAxesTreeData_h_INCLUDED__
59