]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs
VectorField 2D view
[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 "500000"
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
61 connect Box01.Widget Box03.Widget2
62 connect Box01.Out Box02.In1
63 connect Box03.Widget Box04.Widget1
64 connect Box01.BoxChange Box05.In2
65 connect Box00.BoxChange Box05.In1
66 connect Box06.Widget Box03.Widget3
67 connect Box06.BoxChange Box05.In3
68 connect Box06.Out Box07.In1
69 connect Box08.Widget Box09.Widget2
70 connect Box00.Widget Box09.Widget1
71 connect Box09.Widget Box03.Widget1
72
73 # Complex input ports
74
75 # Complex output ports
76 output Opacity Box02.Out " "
77 output widget Box04.Widget " "
78 output active Box00.Out " "
79 output ScaleFactor Box07.Out " "
80 output boxChange Box05.BoxChange " "
81 output Type Box08.Out " "
82
83
84 endefine