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)
4 #ifndef __bbcreaMaracasVisuManualContourModel_Box_h_INCLUDED__
5 #define __bbcreaMaracasVisuManualContourModel_Box_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 namespace bbcreaMaracasVisu
13 class bbcreaMaracasVisu_EXPORT ManualContourModel_Box
15 public bbtk::AtomicBlackBox
17 BBTK_BLACK_BOX_INTERFACE(ManualContourModel_Box,bbtk::AtomicBlackBox);
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)
21 BBTK_DECLARE_INPUT(Type,int);
22 BBTK_DECLARE_INPUT(OpenClose,bool);
23 BBTK_DECLARE_INPUT(NbPoints,int);
25 BBTK_DECLARE_INPUT(LstIndexsIn,std::vector<int>);
27 BBTK_DECLARE_INPUT(LstControlPointsX,std::vector<double>);
28 BBTK_DECLARE_INPUT(LstControlPointsY,std::vector<double>);
29 BBTK_DECLARE_INPUT(LstControlPointsZ,std::vector<double>);
31 BBTK_DECLARE_OUTPUT(LstContourPointsX,std::vector<double>);
32 BBTK_DECLARE_OUTPUT(LstContourPointsY,std::vector<double>);
33 BBTK_DECLARE_OUTPUT(LstContourPointsZ,std::vector<double>);
34 BBTK_DECLARE_OUTPUT(LstIndexsOut,std::vector<int>);
35 BBTK_PROCESS(Process);
39 void ProcessBySegment(
41 int &iGeneral, int sizeSegment,
42 std::vector<double> *lstInX,std::vector<double> *lstInY, std::vector<double> *lstInZ,
43 std::vector<double> *lstOutX,std::vector<double> *lstOutY, std::vector<double> *lstOutZ,
44 std::vector<int> *lstIndexsOut );
48 // 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 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ManualContourModel_Box,bbtk::AtomicBlackBox);
53 BBTK_NAME("ManualContourModel_Box");
54 BBTK_AUTHOR("InfoDev");
55 BBTK_DESCRIPTION("No Description.");
56 BBTK_CATEGORY("empty");
58 BBTK_INPUT(ManualContourModel_Box,Type,"(1 default) 1=spline, 2=rectangle, 3=circle, 4=bullEye, 6=Line, 7=points, 8=rotationTool, 10=polygon, 12=Spline3D",int,"");
59 BBTK_INPUT(ManualContourModel_Box,OpenClose,"(false default) false=open, true=close",bool,"");
60 BBTK_INPUT(ManualContourModel_Box,NbPoints,"(100 default) Number of points int the spline",int,"");
61 BBTK_INPUT(ManualContourModel_Box,LstIndexsIn,"Lst number of points by segment",std::vector<int>,"");
63 BBTK_INPUT(ManualContourModel_Box,LstControlPointsX,"List of control points",std::vector<double>,"");
64 BBTK_INPUT(ManualContourModel_Box,LstControlPointsY,"List of control points",std::vector<double>,"");
65 BBTK_INPUT(ManualContourModel_Box,LstControlPointsZ,"List of control points",std::vector<double>,"");
67 BBTK_OUTPUT(ManualContourModel_Box,LstContourPointsX,"List of points in the contour",std::vector<double>,"");
68 BBTK_OUTPUT(ManualContourModel_Box,LstContourPointsY,"List of points in the contour",std::vector<double>,"");
69 BBTK_OUTPUT(ManualContourModel_Box,LstContourPointsZ,"List of points in the contour",std::vector<double>,"");
70 BBTK_OUTPUT(ManualContourModel_Box,LstIndexsOut,"Lst number of points by segment",std::vector<int>,"");
72 BBTK_END_DESCRIBE_BLACK_BOX(ManualContourModel_Box);
74 // 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)
77 // EO namespace bbcreaMaracasVisu
79 #endif // __bbcreaMaracasVisuManualContourModel_Box_h_INCLUDED__