]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuChInfo3Dto2DRuler.h
#2647 creaMaracasVisu Feature New Normal - Merge creaButtonContainer BRANCH
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuChInfo3Dto2DRuler.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 __bbcreaMaracasVisuChInfo3Dto2DRuler_h_INCLUDED__
5 #define __bbcreaMaracasVisuChInfo3Dto2DRuler_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbcreaMaracasVisu
11 {
12
13 class bbcreaMaracasVisu_EXPORT ChInfo3Dto2DRuler
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(ChInfo3Dto2DRuler,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(CenterPointIn,std::vector<double>);
22   BBTK_DECLARE_INPUT(Angle,double);
23   BBTK_DECLARE_INPUT(Direction,int);
24   BBTK_DECLARE_INPUT(Size,int);
25   BBTK_DECLARE_OUTPUT(OutPointX,std::vector<double>);
26   BBTK_DECLARE_OUTPUT(OutPointY,std::vector<double>);
27   BBTK_DECLARE_OUTPUT(OutPointZ,std::vector<double>);
28   BBTK_DECLARE_OUTPUT(RotationVector,std::vector<double>);
29   BBTK_DECLARE_OUTPUT(CenterPointOut,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(ChInfo3Dto2DRuler,bbtk::AtomicBlackBox);
38   BBTK_NAME("ChInfo3Dto2DRuler");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("empty");
42   BBTK_INPUT(ChInfo3Dto2DRuler,CenterPointIn,"Center point vector x,y,z ",std::vector<double>,"");
43   BBTK_INPUT(ChInfo3Dto2DRuler,Angle,"Angle in Deg. (0 default)",double,"");
44   BBTK_INPUT(ChInfo3Dto2DRuler,Direction,"Direction -1=3D 0=YZ  1=WZ  2=XY(default) ",int,"");
45   BBTK_INPUT(ChInfo3Dto2DRuler,Size,"Size in Pixels (10 default)",int,"");
46   BBTK_OUTPUT(ChInfo3Dto2DRuler,OutPointX,"Output Point 2D new order",std::vector<double>,"");
47   BBTK_OUTPUT(ChInfo3Dto2DRuler,OutPointY,"Output Point 2D new order",std::vector<double>,"");
48   BBTK_OUTPUT(ChInfo3Dto2DRuler,OutPointZ,"Output Point 2D new order",std::vector<double>,"");
49   BBTK_OUTPUT(ChInfo3Dto2DRuler,RotationVector,"RotationVector (default ang=0, vx=0, vy=0, vz=1)",std::vector<double>,"");
50   BBTK_OUTPUT(ChInfo3Dto2DRuler,CenterPointOut,"Center point out",std::vector<double>,"");
51
52
53 BBTK_END_DESCRIBE_BLACK_BOX(ChInfo3Dto2DRuler);
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 bbcreaMaracasVisu
59
60 #endif // __bbcreaMaracasVisuChInfo3Dto2DRuler_h_INCLUDED__
61