]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Interface.bbs
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / PlaneVectorVisu_Interface.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Interface.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include std
10
11 define PlaneVectorViso_Interface creaVtk
12
13 author "Author ??"
14 description "Description ??"
15
16 category "<VOID>"
17
18 new Slider Box00
19   set Box00.In "30"
20   set Box00.Label "true"
21   set Box00.Max "100"
22   set Box00.Min "1"
23   set Box00.ReactiveOnTrack "True"
24   set Box00.Title "Plane Resolution"
25
26 new CheckBox Box01
27   set Box01.In "false"
28   set Box01.ReactiveOnKeystroke "true"
29   set Box01.Title "Plane control"
30
31 new MultipleInputs Box02
32
33 new LayoutLine Box03
34   set Box03.WinTitle "Plane flield"
35
36 new LayoutTab Box04
37
38 new CheckBox Box05
39   set Box05.ReactiveOnKeystroke "true"
40   set Box05.Title "Active Vectors"
41
42 new Slider Box06
43   set Box06.In "100"
44   set Box06.Label "true"
45   set Box06.Max "100"
46   set Box06.Min "0"
47   set Box06.ReactiveOnTrack "True"
48   set Box06.Title "Opacity"
49
50 new Div Box07
51   set Box07.In2 "100.0"
52
53 new Slider Box08
54   set Box08.ChangeResolution "true"
55   set Box08.In "100"
56   set Box08.Label "true"
57   set Box08.Max "500000"
58   set Box08.Min "1"
59   set Box08.ReactiveOnTrack "True"
60   set Box08.Title "Scale Factor"
61
62 new Div Box09
63   set Box09.In2 "100.0"
64
65 new LayoutLine Box10
66   set Box10.Orientation "H"
67
68 new LayoutLine Box11
69   set Box11.Orientation "H"
70
71 new ComboBox Box12
72   set Box12.In "A B C"
73   set Box12.Title "Form"
74
75 new LayoutLine Box13
76   set Box13.Orientation "H"
77
78
79 connect Box00.BoxChange Box02.In1
80 connect Box01.BoxChange Box02.In2
81 connect Box03.Widget Box04.Widget1
82 connect Box05.BoxChange Box02.In3
83 connect Box06.Out Box07.In1
84 connect Box08.Out Box09.In1
85 connect Box06.BoxChange Box02.In4
86 connect Box08.BoxChange Box02.In5
87 connect Box01.Widget Box10.Widget1
88 connect Box05.Widget Box10.Widget2
89 connect Box00.Widget Box11.Widget1
90 connect Box06.Widget Box11.Widget2
91 connect Box10.Widget Box03.Widget1
92 connect Box11.Widget Box03.Widget2
93 connect Box08.Widget Box13.Widget1
94 connect Box12.Widget Box13.Widget2
95 connect Box13.Widget Box03.Widget3
96 connect Box12.BoxChange Box02.In6
97
98 # Complex input ports
99 input typeFormsStr Box12.In " "
100
101 # Complex output ports
102 output boxChange Box02.BoxChange " "
103 output widget Box04.Widget " "
104 output ActivePlaneControl Box01.Out " "
105 output AcitiveVector Box05.Out " "
106 output Opacity Box07.Out " "
107 output ScaleFactor Box09.Out " "
108 output Ratio Box00.Out " "
109 output typeForm Box12.Out " "
110
111 message    
112
113 endefine