# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Interface.bbs # ---------------------------------- include std include itkvtk include wx include std define PlaneWidget_StreamLineVisu_Interface creaVtk author "Author ??" description "Description ??" category "" new CommandButton Box00 set Box00.Label "Refresh" new LayoutLine Box01 set Box01.WinTitle "StreamLine" new Slider Box02 set Box02.Label "true" set Box02.Max "200" set Box02.Min "1" set Box02.Title "Resolution" new Slider Box03 set Box03.In "100" set Box03.Label "true" set Box03.Max "100" set Box03.Min "0" set Box03.Title "Opacity" new RadioButton Box04 set Box04.In0 "Tube" set Box04.In1 "Ribbon" set Box04.Title "Type of stream line" new CheckBox Box05 set Box05.ReactiveOnKeystroke "true" set Box05.Title "Active StreamLine" new CheckBox Box06 set Box06.In "false" set Box06.ReactiveOnKeystroke "true" set Box06.Title "Active Plane" new MultipleInputs Box07 set Box07.BoxProcessMode "Reactive" new Div Box08 set Box08.In2 "100" new Slider Box09 set Box09.ChangeResolution "true" set Box09.Label "true" set Box09.Max "500" set Box09.Min "1" set Box09.ReactiveOnTrack "true" set Box09.Title "ScaleFactor" new Div Box10 set Box10.In2 "100" connect Box00.Widget Box01.Widget1 connect Box00.BoxChange Box07.In1 connect Box06.Widget Box01.Widget2 connect Box06.BoxChange Box07.In2 connect Box05.Widget Box01.Widget3 connect Box05.BoxChange Box07.In3 connect Box04.Widget Box01.Widget4 connect Box04.BoxChange Box07.In4 connect Box02.Widget Box01.Widget6 connect Box02.BoxChange Box07.In5 connect Box03.Widget Box01.Widget5 connect Box03.BoxChange Box07.In6 connect Box03.Out Box08.In1 connect Box09.Out Box10.In1 connect Box09.BoxChange Box07.In7 connect Box09.Widget Box01.Widget7 # Complex input ports # Complex output ports output widget Box01.Widget " " output ActivePlane Box06.Out " " output ActiveStreamLine Box05.Out " " output TypeStreamLine Box04.Out " " output Resolution Box02.Out " " output boxChange Box07.BoxChange " " output Opacity Box08.Out " " output ScaleFactor Box10.Out " " message endefine