]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/boxes/VectorsVisu_Interface.bbs
Clean code
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VectorsVisu_Interface.bbs
index 02f5c8fd011812bd4f46fbe6cb2f3303b3855695..2c734c5f98874d60d32ae60f634e220bb1b8bf52 100644 (file)
@@ -16,7 +16,7 @@ description "Description ??"
 category "<VOID>"
 
 new wx:CheckBox Box00
-  set Box00.Title "Active Vector"
+  set Box00.Title "active"
 
 new wx:Slider Box01
   set Box01.In "100"
@@ -30,7 +30,7 @@ new std:Div Box02
   set Box02.In2 "100.0"
 
 new wx:LayoutLine Box03
-  set Box03.WinTitle "Vector field"
+  set Box03.Orientation "H"
 
 new wx:LayoutTab Box04
 
@@ -41,7 +41,7 @@ new wx:Slider Box06
   set Box06.ChangeResolution "true"
   set Box06.In "100"
   set Box06.Label "true"
-  set Box06.Max "500000"
+  set Box06.Max "50000"
   set Box06.Min "1"
   set Box06.ReactiveOnTrack "true"
   set Box06.Title "Scale Factor"
@@ -51,23 +51,91 @@ new std:Div Box07
 
 new wx:ComboBox Box08
   set Box08.In "Line Arrow"
+  set Box08.WinHeight "50"
 
 new wx:LayoutLine Box09
-  set Box09.Orientation "H"
-  set Box09.WinTitle "Vector field"
+  set Box09.WinTitle "Vector Field"
+
+new wx:Slider Box10
+  set Box10.ChangeResolution "true"
+  set Box10.In "100"
+  set Box10.Label "true"
+  set Box10.Max "300"
+  set Box10.Min "1"
+  set Box10.ReactiveOnTrack "true"
+  set Box10.Title "Resolution"
+
+new wx:CheckBox Box11
+  set Box11.Title "2DYZ"
+
+new wx:CheckBox Box12
+  set Box12.Title "2DXZ"
+
+new wx:LayoutLine Box13
+  set Box13.Orientation "H"
+  set Box13.WinTitle "Vector field"
+
+new wx:CheckBox Box14
+  set Box14.Title "2DXY"
+
+new wx:CheckBox Box17
+  set Box17.Title "3DYZ"
+
+new wx:CheckBox Box18
+  set Box18.Title "3DXY"
+
+new wx:CheckBox Box19
+  set Box19.Title "3DXZ"
+
+new wx:LayoutLine Box20
+  set Box20.Orientation "H"
+  set Box20.WinTitle "Vector field"
+
+new wx:LayoutLine Box23
+  set Box23.Orientation "H"
+
+new std:MultipleInputs Box24
+  set Box24.BoxProcessMode "Reactive"
+
+new std:MultipleInputs Box25
+  set Box25.BoxProcessMode "Reactive"
+
+new wx:LayoutLine Box26
+  set Box26.Orientation "H"
 
 
-connect Box01.Widget Box03.Widget2
 connect Box01.Out Box02.In1
-connect Box03.Widget Box04.Widget1
-connect Box01.BoxChange Box05.In2
-connect Box00.BoxChange Box05.In1
 connect Box06.Widget Box03.Widget3
-connect Box06.BoxChange Box05.In3
 connect Box06.Out Box07.In1
-connect Box08.Widget Box09.Widget2
-connect Box00.Widget Box09.Widget1
-connect Box09.Widget Box03.Widget1
+connect Box10.Widget Box03.Widget4
+connect Box08.BoxChange Box05.In2
+connect Box01.BoxChange Box05.In3
+connect Box06.BoxChange Box05.In4
+connect Box10.BoxChange Box05.In5
+connect Box11.Widget Box13.Widget2
+connect Box12.Widget Box13.Widget3
+connect Box00.Widget Box13.Widget5
+connect Box14.Widget Box13.Widget1
+connect Box18.Widget Box20.Widget1
+connect Box17.Widget Box20.Widget2
+connect Box19.Widget Box20.Widget3
+connect Box13.Widget Box23.Widget1
+connect Box20.Widget Box23.Widget2
+connect Box23.Widget Box09.Widget1
+connect Box18.BoxChange Box24.In1
+connect Box17.BoxChange Box24.In2
+connect Box19.BoxChange Box24.In3
+connect Box00.BoxChange Box25.In1
+connect Box14.BoxChange Box25.In2
+connect Box11.BoxChange Box25.In3
+connect Box12.BoxChange Box25.In4
+connect Box24.BoxChange Box05.In8
+connect Box25.BoxChange Box05.In7
+connect Box08.Widget Box26.Widget1
+connect Box01.Widget Box26.Widget2
+connect Box26.Widget Box09.Widget2
+connect Box03.Widget Box09.Widget3
+connect Box09.Widget Box04.Widget1
 
 # Complex input ports
 
@@ -78,6 +146,13 @@ output active Box00.Out " "
 output ScaleFactor Box07.Out " "
 output boxChange Box05.BoxChange " "
 output Type Box08.Out " "
+output Resolution Box10.Out " "
+output activeYZ Box11.Out " "
+output activeXZ Box12.Out " "
+output activeXY Box14.Out " "
+output active3DXY Box18.Out " "
+output active3DYZ Box17.Out " "
+output active3DXZ Box19.Out " "
 
 
 endefine