]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs
random option VolumVector visu
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VolumeVectorVisu_Interface.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include std
10
11 define VolumeVectorVisu_Interface creaVtk
12
13 author "Author ??"
14 description "Description ??"
15
16 category "<VOID>"
17
18 new wx:Slider Box00
19   set Box00.ChangeResolution "true"
20   set Box00.In "30"
21   set Box00.Label "true"
22   set Box00.Max "10000"
23   set Box00.Min "1"
24   set Box00.ReactiveOnTrack "true"
25   set Box00.Title "Ratio"
26
27 new std:MultipleInputs Box02
28   set Box02.BoxProcessMode "Reactive"
29
30 new wx:LayoutLine Box03
31   set Box03.WinTitle "Volume flield"
32
33 new wx:LayoutTab Box04
34
35 new wx:CheckBox Box05
36   set Box05.ReactiveOnKeystroke "true"
37   set Box05.Title "Active Vectors"
38
39 new wx:Slider Box06
40   set Box06.In "100"
41   set Box06.Label "true"
42   set Box06.Max "100"
43   set Box06.Min "0"
44   set Box06.ReactiveOnTrack "true"
45   set Box06.Title "Opacity"
46
47 new std:Div Box07
48   set Box07.In2 "100.0"
49
50 new wx:Slider Box08
51   set Box08.ChangeResolution "true"
52   set Box08.In "100"
53   set Box08.Label "true"
54   set Box08.Max "5000"
55   set Box08.Min "1"
56   set Box08.ReactiveOnTrack "true"
57   set Box08.Title "Scale Factor"
58
59 new std:Div Box09
60   set Box09.In2 "100.0"
61
62 new wx:ComboBox Box10
63   set Box10.In "Line Arrow"
64   set Box10.Title "Form"
65
66 new wx:LayoutLine Box11
67   set Box11.Orientation "H"
68
69 new wx:LayoutLine Box12
70   set Box12.Orientation "H"
71   set Box12.WinTitle "Volume flield"
72
73 new wx:CheckBox Box13
74   set Box13.ReactiveOnKeystroke "true"
75   set Box13.Title "Active Box"
76
77 new wx:RadioButton Box15
78   set Box15.In0 "No random"
79   set Box15.In1 "Random (0)"
80
81 new std:MathOperation Box16
82   set Box16.In2 "-1"
83   set Box16.Type "0"
84
85 new wx:LayoutLine Box17
86   set Box17.Orientation "H"
87   set Box17.WinTitle "Volume flield"
88
89
90 connect Box00.BoxChange Box02.In1
91 connect Box03.Widget Box04.Widget1
92 connect Box05.BoxChange Box02.In3
93 connect Box06.Out Box07.In1
94 connect Box08.Out Box09.In1
95 connect Box06.BoxChange Box02.In4
96 connect Box08.BoxChange Box02.In5
97 connect Box02.BoxChange Box04.BoxExecute
98 connect Box08.Widget Box11.Widget1
99 connect Box10.Widget Box11.Widget2
100 connect Box10.BoxChange Box02.In6
101 connect Box11.Widget Box03.Widget7
102 connect Box06.Widget Box03.Widget6
103 connect Box12.Widget Box03.Widget1
104 connect Box05.Widget Box12.Widget2
105 connect Box13.Widget Box12.Widget1
106 connect Box13.BoxChange Box02.In2
107 connect Box00.Widget Box17.Widget2
108 connect Box15.Widget Box17.Widget4
109 connect Box17.Widget Box03.Widget3
110 connect Box15.Out Box16.In1
111 connect Box15.BoxChange Box02.In8
112
113 # Complex input ports
114
115 # Complex output ports
116 output boxChange Box02.BoxChange " "
117 output widget Box04.Widget " "
118 output AcitiveVector Box05.Out " "
119 output Opacity Box07.Out " "
120 output ScaleFactor Box09.Out " "
121 output Ratio Box00.Out " "
122 output form Box10.Out " "
123 output ActiveBoxWidget Box13.Out " "
124 output RandomTypeOut Box16.Out " "
125
126
127 endefine