# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Interface.bbs # ---------------------------------- include std include itkvtk include wx include std define PlaneVectorViso_Interface creaVtk author "Author ??" description "Description ??" category "" new Slider Box00 set Box00.In "30" set Box00.Label "true" set Box00.Max "100" set Box00.Min "1" set Box00.ReactiveOnTrack "true" set Box00.Title "Plane Resolution" new CheckBox Box01 set Box01.In "false" set Box01.ReactiveOnKeystroke "true" set Box01.Title "Plane control" new MultipleInputs Box02 set Box02.BoxProcessMode "Reactive" new LayoutLine Box03 set Box03.WinTitle "Plane flield" new LayoutTab Box04 new CheckBox Box05 set Box05.ReactiveOnKeystroke "true" set Box05.Title "Active Vectors" new Slider Box06 set Box06.In "100" set Box06.Label "true" set Box06.Max "100" set Box06.Min "0" set Box06.ReactiveOnTrack "true" set Box06.Title "Opacity" new Div Box07 set Box07.In2 "100.0" new Slider Box08 set Box08.ChangeResolution "true" set Box08.In "100" set Box08.Label "true" set Box08.Max "500000" set Box08.Min "1" set Box08.ReactiveOnTrack "true" set Box08.Title "Scale Factor" new Div Box09 set Box09.In2 "100.0" connect Box00.BoxChange Box02.In1 connect Box01.BoxChange Box02.In2 connect Box01.Widget Box03.Widget1 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 # Complex input ports # Complex output ports output boxChange Box02.BoxChange " " output widget Box04.Widget " " output ActivePlaneControl Box01.Out " " output AcitiveVector Box05.Out " " output Opacity Box07.Out " " output ScaleFactor Box09.Out " " output Ratio Box00.Out " " endefine