# ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) # - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/minitools/boxes/ConnectivityWidget.bbs # ---------------------------------- include std include itkvtk include wx include creaMaracasVisu include vtk include minitools define ConnectivityWidget minitools author "info-team at creatis.insa-lyon.fr" description "Threshod binary widget" category "filter widget" new CommandButton Box00 set Box00.Label Run new LayoutLine Box01 set Box01.WinTitle "Parameters" new ViewerNV Box03 set Box03.nTypeView "0" new LayoutSplit Box05 set Box05.WinTitle Connectivity new SegmentationConnectivity Box07 new InputText Box08 set Box08.In "1500 5000" set Box08.Title "Min Max" new InputText Box09 set Box09.In "10 10 10" set Box09.Title "posX posY posZ" new SaveMHD-Button Box10 new LayoutTab Box11 new LayoutLine Box12 set Box12.WinTitle "Save and Visu" new Slider Box13 set Box13.In 0 set Box13.Label true set Box13.Max 100 set Box13.Min 0 set Box13.Title Opacity connect Box00.Widget Box01.Widget5 connect Box00.BoxChange Box03.BoxExecute connect Box03.Widget Box05.Widget2 connect Box07.Out Box03.In connect Box08.Widget Box01.Widget1 connect Box08.Out Box07.ThresholdMinMax connect Box09.Widget Box01.Widget2 connect Box09.Out Box07.PositionXYZ connect Box07.Out Box10.In connect Box10.Widget Box12.Widget1 connect Box13.Widget Box12.Widget2 connect Box12.Widget Box11.Widget2 connect Box01.Widget Box11.Widget1 connect Box11.Widget Box05.Widget1 # Complex input ports input In Box07.In " " # Complex output ports output Widget Box05.Widget " " endefine