# ---------------------------------- # - 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.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 Box08 new std:SharedMemory Box10 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 connect Box02.Widget Box04.Widget2 connect Box06.Widget Box04.Widget3 connect Box05.Widget Box04.Widget1 connect Box05.Out Box02.InMin connect Box06.Out Box02.InMax connect Box09.BoxChange Box02.BoxExecute connect Box06.BoxChange Box09.In2 connect Box05.BoxChange Box09.In1 connect Box02.OutStart Box08.In1 connect Box02.OutEnd Box10.In1 connect Box05.Out Box02.InMinShow connect Box06.Out Box02.InMaxShow connect Box04.Widget Box11.Widget1 connect Box13.Widget Box12.Widget1 connect Box14.Widget Box12.Widget2 connect Box12.Widget Box11.Widget2 connect Box13.Out Box08.In connect Box14.Out Box10.In connect Box13.BoxChange Box15.In1 connect Box14.BoxChange Box15.In2 connect Box02.BoxChange Box15.In3 # Complex input ports input minIn Box05.In " " input maxIn Box06.In " " input showactual Box02.ShowActual " " # Complex output ports output outactual Box02.OutActual " " output outend Box10.Out " " output outstart Box08.Out " " output widget Box11.Widget " " output boxchange Box15.BoxChange " " message endefine