# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ColorWindowLevel_Interface.bbs # ---------------------------------- include std include itkvtk include wx include vtk include std include creaMaracasVisu define ColorWindowLevel_Interface creaMaracasVisu author "Author ??" description "Description ??" category "" new LayoutLine Box00 set Box00.WinTitle "Color-Window Level" new Slider Box01 set Box01.ChangeResolution "true" set Box01.Label "true" set Box01.ReactiveOnTrack "true" set Box01.Title "Color Level" new Slider Box02 set Box02.ChangeResolution "true" set Box02.Label "true" set Box02.ReactiveOnTrack "true" set Box02.Title "Window Level" new vtkImageDataPointerRelay Box04 new ImageVtkProperties Box05 new GetVectorFloatElement Box06 set Box06.I "1" new GetVectorFloatElement Box07 set Box07.I "0" new MultipleInputs Box08 new Div Box09 set Box09.In2 "2" new LayoutSplit Box10 new HistogramView Box11 connect Box01.Widget Box00.Widget1 connect Box02.Widget Box00.Widget2 connect Box04.Out Box05.In connect Box05.MinMax Box06.In connect Box06.Out Box01.Max connect Box06.Out Box02.Max connect Box05.MinMax Box07.In connect Box07.Out Box01.Min connect Box07.Out Box02.Min connect Box01.BoxChange Box08.In1 connect Box02.BoxChange Box08.In2 connect Box06.Out Box09.In1 connect Box09.Out Box01.In connect Box09.Out Box02.In connect Box04.Out Box11.In connect Box11.Widget Box10.Widget1 connect Box00.Widget Box10.Widget2 # Complex input ports input Image Box04.In " " # Complex output ports output Box_Change Box08.Out " " output ColorLevel Box01.Out " " output WindowLevel Box02.Out " " output widget Box10.Widget " " endefine