# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_Interface.bbs # ---------------------------------- include std include itkvtk include wx include std define Ruler01_Interface creaMaracasVisu author "Author ??" description "Description ??" category "" new Slider Box00 set Box00.In "0" set Box00.Label "true" set Box00.Max "360" set Box00.Min "-360" set Box00.ReactiveOnTrack "true" set Box00.Title "Angle" new LayoutLine Box01 set Box01.WinTitle "Ruler" new MultipleInputs Box02 set Box02.BoxProcessMode "Reactive" new Slider Box03 set Box03.In "100" set Box03.Label "true" set Box03.Max "100" set Box03.Min "0" set Box03.ReactiveOnTrack "true" set Box03.Title "Opacity" new Div Box04 set Box04.In2 "100" new Slider Box05 set Box05.ChangeResolution "true" set Box05.In "100" set Box05.Label "true" set Box05.Max "20000" set Box05.Min "0" set Box05.ReactiveOnTrack "true" set Box05.Title "Size" connect Box00.BoxChange Box02.In2 connect Box03.BoxChange Box02.In4 connect Box03.Out Box04.In1 connect Box05.BoxChange Box02.In5 connect Box05.Widget Box01.Widget1 connect Box00.Widget Box01.Widget2 connect Box03.Widget Box01.Widget3 # Complex input ports input BoxExecuteRulerInterface Box02.In3 " " # Complex output ports output Widget Box01.Widget " " output Angle Box00.Out " " output Opacity Box04.Out " " output SizeReal Box05.Out " " output BoxChangeRulerInterface Box02.Out " " endefine