1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbs
4 # ----------------------------------
8 include creaMaracasVisu
13 define VoiMPR-Interface creaVtk
16 description "Description ??"
20 new creaMaracasVisu:SliderMinMax Box03
23 set Box03.ShowActual "false"
24 set Box03.WinClose "false"
26 new creaMaracasVisu:SliderMinMax Box04
29 set Box04.ShowActual "false"
31 new creaMaracasVisu:SliderMinMax Box05
34 set Box05.ShowActual "false"
36 new std:MultipleInputs Box06
38 new std:ConcatStrings Box07
44 new std:ConcatStrings Box08
49 new std:ConcatStrings Box09
51 new wx:LayoutLine Box11
53 new vtk:ImageVtkProperties Box30
55 new vtk:vtkImageDataPointerRelay Box31
57 new std:GetVectorIntElement Box32
60 new std:GetVectorIntElement Box33
63 new std:GetVectorIntElement Box34
66 new std:MultipleInputs Box40
70 set Box42.ReactiveOnKeystroke "true"
71 set Box42.Title "Active"
73 new wx:LayoutTab Box21
75 new wx:LayoutLine Box22
76 set Box22.WinTitle "X"
78 new wx:LayoutTab Box23
80 new wx:LayoutLine Box24
81 set Box24.WinTitle "Y"
83 new wx:LayoutTab Box25
85 new wx:LayoutLine Box26
86 set Box26.WinTitle "Z"
89 connect Box03.BoxChange Box06.In1
90 connect Box04.BoxChange Box06.In2
91 connect Box05.BoxChange Box06.In3
92 connect Box07.Out Box09.In1
93 connect Box08.Out Box09.In10
94 connect Box03.OutStart Box07.In1
95 connect Box03.OutEnd Box07.In3
96 connect Box04.OutStart Box07.In5
97 connect Box04.OutEnd Box07.In7
98 connect Box05.OutStart Box08.In1
99 connect Box05.OutEnd Box08.In3
100 connect Box31.Out Box30.In
101 connect Box30.Size Box32.In
102 connect Box30.Size Box33.In
103 connect Box30.Size Box34.In
104 connect Box32.Out Box03.InMax
105 connect Box33.Out Box04.InMax
106 connect Box34.Out Box05.InMax
107 connect Box06.BoxChange Box40.In1
108 connect Box42.Widget Box11.Widget1
109 connect Box42.BoxChange Box06.In4
110 connect Box22.Widget Box21.Widget1
111 connect Box03.Widget Box22.Widget1
112 connect Box21.Widget Box11.Widget3
113 connect Box24.Widget Box23.Widget1
114 connect Box04.Widget Box24.Widget1
115 connect Box23.Widget Box11.Widget5
116 connect Box26.Widget Box25.Widget1
117 connect Box25.Widget Box11.Widget8
118 connect Box05.Widget Box26.Widget1
120 # Complex input ports
121 input Image Box31.In " "
122 input Execute Box40.In2 " "
124 # Complex output ports
125 output widget Box11.Widget " "
126 output boxchange Box40.BoxChange " "
127 output active Box42.Out " "
128 output boxchangeRender Box06.BoxChange " "
129 output voi Box09.Out " "