# ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) # - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs # ---------------------------------- include std include itkvtk include wx include creaMaracasVisu include vtk include creaMiniToolsBase include wxvtk define ConnectivityWidget creaMiniTools 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 IsoSurfaceWidget Box14 set Box14.Title "Iso Surface" 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 Box01.Widget Box11.Widget1 connect Box11.Widget Box05.Widget1 connect Box07.Out Box14.In connect Box10.Widget Box11.Widget3 connect Box14.Widget Box11.Widget2 connect Box00.BoxChange Box14.BoxExecute # Complex input ports input In Box07.In " " input vtkRenderer Box14.vtkRenderer " " # Complex output ports output Widget Box05.Widget " " output BoxChange Box14.BoxChange " " output OutImage Box07.Out " " endefine