1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbs
4 # ----------------------------------
8 include creaMaracasVisu
12 define ManualPaint2 creaMaracasVisu
15 description "Description ??"
19 new creaMaracasVisu:ManualPaint_Model Box00
21 set Box00.Active "true"
22 set Box00.BrushForm "1"
23 set Box00.BrushSize "3"
24 set Box00.DistanceFill "25"
25 set Box00.GrayLevel "1000"
26 set Box00.Range "-10000 10000"
29 new wx:RadioButton Box01
30 set Box01.In0 "Deselect"
31 set Box01.In1 "BigBlue"
32 set Box01.In2 "SmallBlue"
33 set Box01.In3 "BigClean"
34 set Box01.In4 "SmallClean"
36 new std:StringSelect Box02
38 new creaMaracasVisu:ColorLayerImageView Box03
39 set Box03.TypeControlsInterface "2"
40 set Box03.lstTransparenceBoundaries "0"
42 new std:TransposeVectorVectorString Box04
43 set Box04.In0 "Desactivate Big-Blue Small-Blue Big-Clean Small-Clean"
44 set Box04.In1 "false true true true true"
45 set Box04.In2 "-1 10 3 10 3"
46 set Box04.In3 "-1 4000 4000 0 0"
47 set Box04.In4 "-1 1200 1200 3999 3999"
48 set Box04.In5 "-1 1500 1500 4001 4001"
50 new std:GetVectorStringElement Box05
53 new wx:LayoutLine Box09
55 new std:GetVectorStringElement Box11
58 new std:GetVectorStringElement Box12
61 new std:ConcatStrings Box13
64 new std:GetVectorStringElement Box14
67 new std:GetVectorStringElement Box15
70 new std:TransposeVectorVectorString Box17
71 set Box17.In0 "Desactivate Big-Blue Small-Blue Big-Clean Small-Clean"
73 new wx:RadioButton Box18
78 new wx:LayoutLine Box19
79 set Box19.Orientation "H"
81 new std:MagicBox Box20
83 new std:GetVectorStringElement Box21
87 connect Box01.Out Box02.In
88 connect Box04.Out0 Box02.In0
89 connect Box04.Out1 Box02.In1
90 connect Box04.Out2 Box02.In2
91 connect Box04.Out3 Box02.In3
92 connect Box04.Out4 Box02.In4
93 connect Box04.Out5 Box02.In5
94 connect Box04.Out6 Box02.In6
95 connect Box04.Out7 Box02.In7
96 connect Box04.Out8 Box02.In8
97 connect Box04.Out9 Box02.In9
98 connect Box02.Out Box05.In
99 connect Box03.Widget Box09.Widget2
100 connect Box00.Out Box03.In
101 connect Box05.Out Box00.Active
102 connect Box02.Out Box11.In
103 connect Box11.Out Box00.DistanceFill
104 connect Box02.Out Box12.In
105 connect Box12.Out Box00.GrayLevel
106 connect Box02.Out Box15.In
107 connect Box02.Out Box14.In
108 connect Box15.Out Box13.In1
109 connect Box14.Out Box13.In3
110 connect Box13.Out Box00.Range
111 connect Box17.Out0 Box01.In0
112 connect Box17.Out1 Box01.In1
113 connect Box17.Out2 Box01.In2
114 connect Box17.Out3 Box01.In3
115 connect Box17.Out4 Box01.In4
116 connect Box17.Out5 Box01.In5
117 connect Box17.Out6 Box01.In6
118 connect Box17.Out7 Box01.In7
119 connect Box17.Out8 Box01.In8
120 connect Box17.Out9 Box01.In9
121 connect Box18.Widget Box19.Widget1
122 connect Box01.Widget Box19.Widget2
123 connect Box19.Widget Box09.Widget1
124 connect Box18.Out Box00.Tool
125 connect Box11.Out Box00.BrushSize
126 connect Box20.Out Box17.In0
127 connect Box20.Out Box04.In0
128 connect Box02.Out Box21.In
129 connect Box21.Out Box00.ToleranceFill
131 # Complex input ports
132 input TitleOptions Box20.In " "
133 input Active_ManualPaint_Model Box04.In1 " "
134 input SizeDistance_ManualPaint_Model Box04.In2 " "
135 input GrayLevel_ManualPaint_Model Box04.In3 " "
136 input MinRange_ManualPaint_Model Box04.In4 " "
137 input MaxRange_ManualPaint_Model Box04.In5 " "
138 input Point_ManualPaint_Model Box00.Point " "
139 input Image_ManualPaint_Model Box00.Image " "
140 input Image2_ManualPaint_Model Box00.Image2 " "
141 input BoxExecute_ManualPaint_Model Box00.BoxExecute " "
142 input wxvtkbaseview1 Box03.WxVtkBaseView " "
143 input wxvtkbaseview2 Box03.WxVtkBaseView1 " "
144 input wxvtkbaseview3 Box03.WxVtkBaseView2 " "
145 input Tolerance_Fill_ManualPaint_Model Box04.In6 " "
146 input colorBarPosition Box03.ColorBarPosition " "
148 # Complex output ports
149 output widgetOut Box09.Widget " "