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 # ----------------------------------
11 define PlaneVectorViso_Interface creaVtk
14 description "Description ??"
20 set Box00.Label "true"
23 set Box00.ReactiveOnTrack "True"
24 set Box00.Title "Plane Resolution"
28 set Box01.ReactiveOnKeystroke "true"
29 set Box01.Title "Plane control"
31 new MultipleInputs Box02
32 set Box02.BoxProcessMode "Reactive"
35 set Box03.WinTitle "Plane flield"
40 set Box05.ReactiveOnKeystroke "true"
41 set Box05.Title "Active Vectors"
45 set Box06.Label "true"
48 set Box06.ReactiveOnTrack "True"
49 set Box06.Title "Opacity"
55 set Box08.ChangeResolution "true"
57 set Box08.Label "true"
58 set Box08.Max "500000"
60 set Box08.ReactiveOnTrack "True"
61 set Box08.Title "Scale Factor"
67 set Box10.Orientation "H"
70 set Box11.Orientation "H"
74 set Box12.Title "Form"
77 set Box13.Orientation "H"
79 new ExecSystemCommand Box14
80 set Box14.In "echo mmmmmmmmm"
82 new SharedMemory Box15
84 new ExecSystemCommand Box16
85 set Box16.In "echo m2m2m2m2m2m2m2m2m"
88 connect Box00.BoxChange Box02.In1
89 connect Box01.BoxChange Box02.In2
90 connect Box03.Widget Box04.Widget1
91 connect Box05.BoxChange Box02.In3
92 connect Box06.Out Box07.In1
93 connect Box08.Out Box09.In1
94 connect Box06.BoxChange Box02.In4
95 connect Box08.BoxChange Box02.In5
96 connect Box01.Widget Box10.Widget1
97 connect Box05.Widget Box10.Widget2
98 connect Box00.Widget Box11.Widget1
99 connect Box06.Widget Box11.Widget2
100 connect Box10.Widget Box03.Widget1
101 connect Box11.Widget Box03.Widget2
102 connect Box08.Widget Box13.Widget1
103 connect Box12.Widget Box13.Widget2
104 connect Box13.Widget Box03.Widget3
105 connect Box12.BoxChange Box02.In6
106 connect Box02.Out Box14.BoxExecute
107 connect Box15.Out Box16.BoxExecute
108 connect Box00.BoxChange Box15.In
109 connect Box01.BoxChange Box15.In1
110 connect Box05.BoxChange Box15.In2
111 connect Box06.BoxChange Box15.In3
112 connect Box08.BoxChange Box15.In4
113 connect Box12.BoxChange Box15.In5
114 connect Box15.BoxChange Box04.BoxExecute
116 # Complex input ports
117 input typeFormsStr Box12.In " "
119 # Complex output ports
120 output widget Box04.Widget " "
121 output ActivePlaneControl Box01.Out " "
122 output AcitiveVector Box05.Out " "
123 output Opacity Box07.Out " "
124 output ScaleFactor Box09.Out " "
125 output Ratio Box00.Out " "
126 output typeForm Box12.Out " "
127 output boxChange Box15.BoxChange " "