]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VoiMPR-Interface.bbs
c9895552eab75fcd4292739dc868a9420b2deb21
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VoiMPR-Interface.bbs
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 # ----------------------------------
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 "Active"
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
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
119
120 # Complex input ports
121 input Image Box31.In " "
122 input Execute Box40.In2 " "
123
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 " "
130
131
132 endefine