]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuManualContourModel_Box.h
0786994ff1829dce00f483a35931ad074d546f25
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuManualContourModel_Box.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 __bbcreaMaracasVisuManualContourModel_Box_h_INCLUDED__
5 #define __bbcreaMaracasVisuManualContourModel_Box_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbcreaMaracasVisu
11 {
12
13 class bbcreaMaracasVisu_EXPORT ManualContourModel_Box
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(ManualContourModel_Box,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(Type,int);
22   BBTK_DECLARE_INPUT(OpenClose,bool);
23   BBTK_DECLARE_INPUT(NbPoints,int);
24   BBTK_DECLARE_INPUT(LstControlPointsX,std::vector<double>);
25   BBTK_DECLARE_INPUT(LstControlPointsY,std::vector<double>);
26   BBTK_DECLARE_INPUT(LstControlPointsZ,std::vector<double>);
27   BBTK_DECLARE_OUTPUT(LstContourPointsX,std::vector<double>);
28   BBTK_DECLARE_OUTPUT(LstContourPointsY,std::vector<double>);
29   BBTK_DECLARE_OUTPUT(LstContourPointsZ,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(ManualContourModel_Box,bbtk::AtomicBlackBox);
38   BBTK_NAME("ManualContourModel_Box");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("empty");
42
43   BBTK_INPUT(ManualContourModel_Box,Type,"(1 default) 1=spline, 2=rectangle, 3=circle, 4=bullEye, 6=Line, 7=points, 8=rotationTool, 10=polugon, 12=Spline3D",int,"");
44   BBTK_INPUT(ManualContourModel_Box,OpenClose,"(true default) true=open, fals=close",bool,"");
45   BBTK_INPUT(ManualContourModel_Box,NbPoints,"Number of points int the spline",int,"");
46   BBTK_INPUT(ManualContourModel_Box,LstControlPointsX,"List of control points",std::vector<double>,"");
47   BBTK_INPUT(ManualContourModel_Box,LstControlPointsY,"List of control points",std::vector<double>,"");
48   BBTK_INPUT(ManualContourModel_Box,LstControlPointsZ,"List of control points",std::vector<double>,"");
49
50   BBTK_OUTPUT(ManualContourModel_Box,LstContourPointsX,"List of points in the contour",std::vector<double>,"");
51   BBTK_OUTPUT(ManualContourModel_Box,LstContourPointsY,"List of points in the contour",std::vector<double>,"");
52   BBTK_OUTPUT(ManualContourModel_Box,LstContourPointsZ,"List of points in the contour",std::vector<double>,"");
53
54 BBTK_END_DESCRIBE_BLACK_BOX(ManualContourModel_Box);
55 //===== 
56 // 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)
57 //===== 
58 }
59 // EO namespace bbcreaMaracasVisu
60
61 #endif // __bbcreaMaracasVisuManualContourModel_Box_h_INCLUDED__
62
63
64
65
66