# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/SliderMinMax-flexible.bbs # ---------------------------------- include std include itkvtk include creaMaracasVisu include wx include std define SliderMinMax-flexible creaMaracasVisu author "Author ??" description "Description ??" category "" new creaMaracasVisu:SliderMinMax Box02 set Box02.InMax "2000" set Box02.InMaxShow "2000" set Box02.ShowActual "false" set Box02.ShowLabels "1" new wx:LayoutLine Box04 set Box04.Orientation "H" set Box04.WinTitle "integer" new wx:InputText Box05 set Box05.In "0" set Box05.Title "Min" new wx:InputText Box06 set Box06.In "2000" set Box06.Title "Max" new std:MultipleInputs Box09 new std:SharedMemory Box10 set Box10.In "2000" new wx:LayoutTab Box11 new wx:LayoutLine Box12 set Box12.Orientation "H" set Box12.WinTitle "float" new wx:InputText Box13 set Box13.In "0.0" set Box13.Title "Min" new wx:InputText Box14 set Box14.In "1.0" set Box14.Title "Max" new std:MultipleInputs Box15 new std:MagicBox Box16 new std:MagicBox Box17 new std:SharedMemory Box18 connect Box02.Widget Box04.Widget2 connect Box06.Widget Box04.Widget3 connect Box05.Widget Box04.Widget1 connect Box05.Out Box02.InMin connect Box09.BoxChange Box02.BoxExecute connect Box06.BoxChange Box09.In2 connect Box05.BoxChange Box09.In1 connect Box02.OutEnd Box10.In1 connect Box05.Out Box02.InMinShow connect Box04.Widget Box11.Widget1 connect Box13.Widget Box12.Widget1 connect Box14.Widget Box12.Widget2 connect Box12.Widget Box11.Widget2 connect Box13.BoxChange Box15.In1 connect Box14.BoxChange Box15.In2 connect Box02.BoxChange Box15.In3 connect Box06.Out Box02.InMax connect Box06.Out Box02.InMaxShow connect Box06.Out Box10.In2 connect Box14.Out Box10.In3 connect Box16.Out Box05.In connect Box17.Out Box06.In connect Box17.Out Box10.In connect Box16.Out Box18.In connect Box02.OutStart Box18.In1 connect Box05.Out Box18.In2 connect Box13.Out Box18.In3 # Complex input ports input showactual Box02.ShowActual " " input minIn Box16.In " " input maxIn Box17.In " " # Complex output ports output outactual Box02.OutActual " " output outend Box10.Out " " output widget Box11.Widget " " output boxchange Box15.BoxChange " " output outstart Box18.Out " " message endefine