]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs
3182 creaVtk Feature New Normal - Clean PlaneVecterVisu_Widget
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VectorsVisu_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/VectorsVisu_Interface.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include std
10
11 define VectorsVisu_Interface creaVtk
12
13 author "Author ??"
14 description "Description ??"
15
16 category "<VOID>"
17
18 new wx:CheckBox Box00
19   set Box00.Title "active"
20
21 new wx:Slider Box01
22   set Box01.In "100"
23   set Box01.Label "true"
24   set Box01.Max "100"
25   set Box01.Min "0"
26   set Box01.ReactiveOnTrack "true"
27   set Box01.Title "Opacity"
28
29 new std:Div Box02
30   set Box02.In2 "100.0"
31
32 new wx:LayoutLine Box03
33   set Box03.Orientation "H"
34
35 new wx:LayoutTab Box04
36
37 new std:MultipleInputs Box05
38   set Box05.BoxProcessMode "Reactive"
39
40 new wx:Slider Box06
41   set Box06.ChangeResolution "true"
42   set Box06.In "100"
43   set Box06.Label "true"
44   set Box06.Max "50000"
45   set Box06.Min "1"
46   set Box06.ReactiveOnTrack "true"
47   set Box06.Title "Scale Factor"
48
49 new std:Div Box07
50   set Box07.In2 "100.0"
51
52 new wx:ComboBox Box08
53   set Box08.In "Line Arrow"
54   set Box08.WinHeight "50"
55
56 new wx:LayoutLine Box09
57   set Box09.WinTitle "Vector Field"
58
59 new wx:Slider Box10
60   set Box10.ChangeResolution "true"
61   set Box10.In "100"
62   set Box10.Label "true"
63   set Box10.Max "200"
64   set Box10.Min "1"
65   set Box10.ReactiveOnTrack "true"
66   set Box10.Title "Resolution"
67
68 new wx:CheckBox Box11
69   set Box11.Title "2DYZ"
70
71 new wx:CheckBox Box12
72   set Box12.Title "2DXZ"
73
74 new wx:LayoutLine Box13
75   set Box13.Orientation "H"
76   set Box13.WinTitle "Vector field"
77
78 new wx:CheckBox Box14
79   set Box14.Title "2DXY"
80
81 new wx:CheckBox Box17
82   set Box17.Title "3DYZ"
83
84 new wx:CheckBox Box18
85   set Box18.Title "3DXY"
86
87 new wx:CheckBox Box19
88   set Box19.Title "3DXZ"
89
90 new wx:LayoutLine Box20
91   set Box20.Orientation "H"
92   set Box20.WinTitle "Vector field"
93
94 new wx:LayoutLine Box23
95   set Box23.Orientation "H"
96
97 new std:MultipleInputs Box24
98   set Box24.BoxProcessMode "Reactive"
99
100 new std:MultipleInputs Box25
101   set Box25.BoxProcessMode "Reactive"
102
103 new wx:LayoutLine Box26
104   set Box26.Orientation "H"
105
106
107 connect Box01.Out Box02.In1
108 connect Box06.Widget Box03.Widget3
109 connect Box06.Out Box07.In1
110 connect Box10.Widget Box03.Widget4
111 connect Box08.BoxChange Box05.In2
112 connect Box01.BoxChange Box05.In3
113 connect Box06.BoxChange Box05.In4
114 connect Box10.BoxChange Box05.In5
115 connect Box11.Widget Box13.Widget2
116 connect Box12.Widget Box13.Widget3
117 connect Box00.Widget Box13.Widget5
118 connect Box14.Widget Box13.Widget1
119 connect Box18.Widget Box20.Widget1
120 connect Box17.Widget Box20.Widget2
121 connect Box19.Widget Box20.Widget3
122 connect Box13.Widget Box23.Widget1
123 connect Box20.Widget Box23.Widget2
124 connect Box23.Widget Box09.Widget1
125 connect Box18.BoxChange Box24.In1
126 connect Box17.BoxChange Box24.In2
127 connect Box19.BoxChange Box24.In3
128 connect Box00.BoxChange Box25.In1
129 connect Box14.BoxChange Box25.In2
130 connect Box11.BoxChange Box25.In3
131 connect Box12.BoxChange Box25.In4
132 connect Box24.BoxChange Box05.In8
133 connect Box25.BoxChange Box05.In7
134 connect Box08.Widget Box26.Widget1
135 connect Box01.Widget Box26.Widget2
136 connect Box26.Widget Box09.Widget2
137 connect Box03.Widget Box09.Widget3
138 connect Box09.Widget Box04.Widget1
139
140 # Complex input ports
141
142 # Complex output ports
143 output Opacity Box02.Out " "
144 output widget Box04.Widget " "
145 output active Box00.Out " "
146 output ScaleFactor Box07.Out " "
147 output boxChange Box05.BoxChange " "
148 output Type Box08.Out " "
149 output Resolution Box10.Out " "
150 output activeYZ Box11.Out " "
151 output activeXZ Box12.Out " "
152 output activeXY Box14.Out " "
153 output active3DXY Box18.Out " "
154 output active3DYZ Box17.Out " "
155 output active3DXZ Box19.Out " "
156
157
158 endefine