]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs
1540addf3ca644cb5aa7b4989a512d89345a4bcc
[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/C8/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 "50"
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
78 connect Box00.BoxChange Box02.In1
79 connect Box03.Widget Box04.Widget1
80 connect Box05.BoxChange Box02.In3
81 connect Box06.Out Box07.In1
82 connect Box08.Out Box09.In1
83 connect Box06.BoxChange Box02.In4
84 connect Box08.BoxChange Box02.In5
85 connect Box02.BoxChange Box04.BoxExecute
86 connect Box08.Widget Box11.Widget1
87 connect Box10.Widget Box11.Widget2
88 connect Box10.BoxChange Box02.In6
89 connect Box11.Widget Box03.Widget7
90 connect Box06.Widget Box03.Widget6
91 connect Box00.Widget Box03.Widget2
92 connect Box12.Widget Box03.Widget1
93 connect Box05.Widget Box12.Widget2
94 connect Box13.Widget Box12.Widget1
95 connect Box13.BoxChange Box02.In2
96
97 # Complex input ports
98
99 # Complex output ports
100 output boxChange Box02.BoxChange " "
101 output widget Box04.Widget " "
102 output AcitiveVector Box05.Out " "
103 output Opacity Box07.Out " "
104 output ScaleFactor Box09.Out " "
105 output Ratio Box00.Out " "
106 output form Box10.Out " "
107 output ActiveBoxWidget Box13.Out " "
108
109
110 endefine