]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbs
#3316 VoiMPR box
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VoiMPR-Interface.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaMaracasVisu
9 include std
10 include wx
11 include vtk
12
13 define VoiMPR-Interface creaVtk
14
15 author "InfoDev"
16 description "Description ??"
17
18 category "<VOID>"
19
20 new creaMaracasVisu:SliderMinMax Box03
21   set Box03.InMax "500"
22   set Box03.InMin "0"
23   set Box03.ShowActual "false"
24   set Box03.WinClose "false"
25
26 new creaMaracasVisu:SliderMinMax Box04
27   set Box04.InMax "500"
28   set Box04.InMin "0"
29   set Box04.ShowActual "false"
30
31 new creaMaracasVisu:SliderMinMax Box05
32   set Box05.InMax "500"
33   set Box05.InMin "0"
34   set Box05.ShowActual "false"
35
36 new std:MultipleInputs Box06
37
38 new std:ConcatStrings Box07
39   set Box07.In2 "  "
40   set Box07.In4 "  "
41   set Box07.In6 "  "
42   set Box07.In8 "   "
43
44 new std:ConcatStrings Box08
45   set Box08.In2 "  "
46   set Box08.In4 "  "
47   set Box08.In6 "  "
48
49 new std:ConcatStrings Box09
50
51 new wx:LayoutLine Box11
52
53 new vtk:ImageVtkProperties Box30
54
55 new vtk:vtkImageDataPointerRelay Box31
56
57 new std:GetVectorIntElement Box32
58   set Box32.I "0"
59
60 new std:GetVectorIntElement Box33
61   set Box33.I "1"
62
63 new std:GetVectorIntElement Box34
64   set Box34.I "2"
65
66 new std:MultipleInputs Box40
67
68 new wx:CheckBox Box42
69   set Box42.In "true"
70   set Box42.ReactiveOnKeystroke "true"
71   set Box42.Title "VOI"
72
73 new wx:LayoutTab Box21
74
75 new wx:LayoutLine Box22
76   set Box22.WinTitle "X"
77
78 new wx:LayoutTab Box23
79
80 new wx:LayoutLine Box24
81   set Box24.WinTitle "Y"
82
83 new wx:LayoutTab Box25
84
85 new wx:LayoutLine Box26
86   set Box26.WinTitle "Z"
87
88 new std:MagicBox Box28
89
90 new std:GetVectorIntElement Box29
91   set Box29.ErrorValue "0"
92   set Box29.I "0"
93
94 new std:GetVectorIntElement Box35
95   set Box35.ErrorValue "0"
96   set Box35.I "1"
97
98 new std:GetVectorIntElement Box36
99   set Box36.ErrorValue "0"
100   set Box36.I "2"
101
102 new std:MagicBox Box38
103
104 new std:GetVectorIntElement Box39
105   set Box39.ErrorValue "0"
106   set Box39.I "0"
107
108 new std:GetVectorIntElement Box41
109   set Box41.ErrorValue "0"
110   set Box41.I "1"
111
112 new std:GetVectorIntElement Box43
113   set Box43.ErrorValue "0"
114   set Box43.I "2"
115
116 new std:MathOperationVector Box44
117   set Box44.Type "0"
118
119
120 connect Box03.BoxChange Box06.In1
121 connect Box04.BoxChange Box06.In2
122 connect Box05.BoxChange Box06.In3
123 connect Box07.Out Box09.In1
124 connect Box08.Out Box09.In10
125 connect Box03.OutStart Box07.In1
126 connect Box03.OutEnd Box07.In3
127 connect Box04.OutStart Box07.In5
128 connect Box04.OutEnd Box07.In7
129 connect Box05.OutStart Box08.In1
130 connect Box05.OutEnd Box08.In3
131 connect Box31.Out Box30.In
132 connect Box30.Size Box32.In
133 connect Box30.Size Box33.In
134 connect Box30.Size Box34.In
135 connect Box06.BoxChange Box40.In1
136 connect Box42.Widget Box11.Widget1
137 connect Box42.BoxChange Box06.In4
138 connect Box22.Widget Box21.Widget1
139 connect Box03.Widget Box22.Widget1
140 connect Box21.Widget Box11.Widget3
141 connect Box24.Widget Box23.Widget1
142 connect Box04.Widget Box24.Widget1
143 connect Box23.Widget Box11.Widget5
144 connect Box26.Widget Box25.Widget1
145 connect Box25.Widget Box11.Widget8
146 connect Box05.Widget Box26.Widget1
147 connect Box28.Out Box29.In
148 connect Box28.Out Box35.In
149 connect Box28.Out Box36.In
150 connect Box32.Out Box39.ErrorValue
151 connect Box33.Out Box41.ErrorValue
152 connect Box34.Out Box43.ErrorValue
153 connect Box38.Out Box44.In0
154 connect Box28.Out Box44.In1
155 connect Box44.Out Box39.In
156 connect Box44.Out Box41.In
157 connect Box44.Out Box43.In
158 connect Box29.Out Box03.InMinShow
159 connect Box35.Out Box04.InMinShow
160 connect Box36.Out Box05.InMinShow
161 connect Box39.Out Box03.InMaxShow
162 connect Box41.Out Box04.InMaxShow
163 connect Box43.Out Box05.InMaxShow
164 connect Box32.Out Box03.InMax
165 connect Box33.Out Box04.InMax
166 connect Box34.Out Box05.InMax
167
168 # Complex input ports
169 input Image Box31.In " "
170 input Execute Box40.In2 " "
171 input voi_index Box28.In " "
172 input voi_size Box38.In " "
173
174 # Complex output ports
175 output widget Box11.Widget " "
176 output boxchange Box40.BoxChange " "
177 output active Box42.Out " "
178 output boxchangeRender Box06.BoxChange " "
179 output voi Box09.Out " "
180
181
182 endefine