# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs
+# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VolumeVectorVisu_Interface.bbs
# ----------------------------------
include std
category "<VOID>"
-new Slider Box00
+new wx:Slider Box00
+ set Box00.ChangeResolution "true"
set Box00.In "30"
set Box00.Label "true"
- set Box00.Max "1000"
+ set Box00.Max "10000"
set Box00.Min "1"
set Box00.ReactiveOnTrack "true"
set Box00.Title "Ratio"
-new MultipleInputs Box02
+new std:MultipleInputs Box02
set Box02.BoxProcessMode "Reactive"
-new LayoutLine Box03
+new wx:LayoutLine Box03
set Box03.WinTitle "Volume flield"
-new LayoutTab Box04
+new wx:LayoutTab Box04
-new CheckBox Box05
+new wx:CheckBox Box05
set Box05.ReactiveOnKeystroke "true"
set Box05.Title "Active Vectors"
-new Slider Box06
+new wx:Slider Box06
set Box06.In "100"
set Box06.Label "true"
set Box06.Max "100"
set Box06.ReactiveOnTrack "true"
set Box06.Title "Opacity"
-new Div Box07
+new std:Div Box07
set Box07.In2 "100.0"
-new Slider Box08
+new wx:Slider Box08
set Box08.ChangeResolution "true"
set Box08.In "100"
set Box08.Label "true"
- set Box08.Max "500000"
+ set Box08.Max "5000"
set Box08.Min "1"
set Box08.ReactiveOnTrack "true"
set Box08.Title "Scale Factor"
-new Div Box09
+new std:Div Box09
set Box09.In2 "100.0"
+new wx:ComboBox Box10
+ set Box10.In "Line Arrow"
+ set Box10.Title "Form"
+
+new wx:LayoutLine Box11
+ set Box11.Orientation "H"
+
+new wx:LayoutLine Box12
+ set Box12.Orientation "H"
+ set Box12.WinTitle "Volume flield"
+
+new wx:CheckBox Box13
+ set Box13.ReactiveOnKeystroke "true"
+ set Box13.Title "Active Box"
+
+new wx:RadioButton Box15
+ set Box15.In0 "No random"
+ set Box15.In1 "Random (0)"
+
+new std:MathOperation Box16
+ set Box16.In2 "-1"
+ set Box16.Type "0"
+
+new wx:LayoutLine Box17
+ set Box17.Orientation "H"
+ set Box17.WinTitle "Volume flield"
+
connect Box00.BoxChange Box02.In1
-connect Box00.Widget Box03.Widget2
connect Box03.Widget Box04.Widget1
-connect Box05.Widget Box03.Widget3
connect Box05.BoxChange Box02.In3
-connect Box06.Widget Box03.Widget4
connect Box06.Out Box07.In1
connect Box08.Out Box09.In1
connect Box06.BoxChange Box02.In4
connect Box08.BoxChange Box02.In5
-connect Box08.Widget Box03.Widget5
connect Box02.BoxChange Box04.BoxExecute
+connect Box08.Widget Box11.Widget1
+connect Box10.Widget Box11.Widget2
+connect Box10.BoxChange Box02.In6
+connect Box11.Widget Box03.Widget7
+connect Box06.Widget Box03.Widget6
+connect Box12.Widget Box03.Widget1
+connect Box05.Widget Box12.Widget2
+connect Box13.Widget Box12.Widget1
+connect Box13.BoxChange Box02.In2
+connect Box00.Widget Box17.Widget2
+connect Box15.Widget Box17.Widget4
+connect Box17.Widget Box03.Widget3
+connect Box15.Out Box16.In1
+connect Box15.BoxChange Box02.In8
# Complex input ports
output Opacity Box07.Out " "
output ScaleFactor Box09.Out " "
output Ratio Box00.Out " "
+output form Box10.Out " "
+output ActiveBoxWidget Box13.Out " "
+output RandomTypeOut Box16.Out " "
-message
endefine