]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuChangeInformationPoint3Dto2D.h
2345 creaMaracasVisu Feature Test Phase Normal Ruler01XY
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuChangeInformationPoint3Dto2D.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 __bbcreaMaracasVisuChangeInformationPoint3Dto2D_h_INCLUDED__
5 #define __bbcreaMaracasVisuChangeInformationPoint3Dto2D_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10
11 namespace bbcreaMaracasVisu
12 {
13
14 class bbcreaMaracasVisu_EXPORT ChangeInformationPoint3Dto2D
15  : 
16    public bbtk::AtomicBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(ChangeInformationPoint3Dto2D,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(Angle,double);
23   BBTK_DECLARE_INPUT(InPoint,std::vector<double>);
24   BBTK_DECLARE_INPUT(Direction,int);
25   BBTK_DECLARE_OUTPUT(OutPoint,std::vector<double>);
26   BBTK_DECLARE_OUTPUT(NormalVector,std::vector<double>);
27   BBTK_PROCESS(Process);
28   void Process();
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(ChangeInformationPoint3Dto2D,bbtk::AtomicBlackBox);
35  BBTK_NAME("ChangeInformationPoint3Dto2D");
36  BBTK_AUTHOR("Info-Dev Creatis");
37  BBTK_DESCRIPTION("No Description.");
38  BBTK_CATEGORY("empty");
39
40   BBTK_INPUT(ChangeInformationPoint3Dto2D,Angle,"Angle in Deg. (0 default)",double,"");
41
42
43  BBTK_INPUT(ChangeInformationPoint3Dto2D,InPoint,"Input Point 3D",std::vector<double>,"");
44  BBTK_INPUT(ChangeInformationPoint3Dto2D,Direction,"Direction -1=3D 0=YZ  1=WZ  2=XY(default) ",int,"");
45
46  BBTK_OUTPUT(ChangeInformationPoint3Dto2D,OutPoint,"Output Point 2D",std::vector<double>,"");
47  BBTK_OUTPUT(ChangeInformationPoint3Dto2D,NormalVector,"NormalVector (default 0 0 1)",std::vector<double>,"");
48
49 BBTK_END_DESCRIBE_BLACK_BOX(ChangeInformationPoint3Dto2D);
50 //===== 
51 // 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)
52 //===== 
53 }
54 // EO namespace bbcreaMaracasVisu
55
56 #endif // __bbcreaMaracasVisuChangeInformationPoint3Dto2D_h_INCLUDED__
57