]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs
97821ba7ea95934c8964933b174b514f5a6710e0
[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 Vector"
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.WinTitle "Vector field"
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.Orientation "H"
58   set Box09.WinTitle "Vector field"
59
60 new wx:Slider Box10
61   set Box10.ChangeResolution "true"
62   set Box10.In "100"
63   set Box10.Label "true"
64   set Box10.Max "200"
65   set Box10.Min "1"
66   set Box10.ReactiveOnTrack "true"
67   set Box10.Title "Resolution"
68
69
70 connect Box01.Widget Box03.Widget2
71 connect Box01.Out Box02.In1
72 connect Box03.Widget Box04.Widget1
73 connect Box01.BoxChange Box05.In2
74 connect Box00.BoxChange Box05.In1
75 connect Box06.Widget Box03.Widget3
76 connect Box06.BoxChange Box05.In3
77 connect Box06.Out Box07.In1
78 connect Box08.Widget Box09.Widget2
79 connect Box00.Widget Box09.Widget1
80 connect Box09.Widget Box03.Widget1
81 connect Box10.Widget Box03.Widget4
82 connect Box10.BoxChange Box05.In4
83
84 # Complex input ports
85
86 # Complex output ports
87 output Opacity Box02.Out " "
88 output widget Box04.Widget " "
89 output active Box00.Out " "
90 output ScaleFactor Box07.Out " "
91 output boxChange Box05.BoxChange " "
92 output Type Box08.Out " "
93 output Resolution Box10.Out " "
94
95
96 endefine