# ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script # - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/crop.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaMaracasVisu include wx include creaImageIO include vtk include toolsbbtk author "Author ??" description "Description ??" category "" new ViewerNV Box03 set Box03.nTypeView "6 1 2 -1" new ContourVOI Box05 new LayoutSplit Box06 set Box06.Proportion 15 new LayoutLine Box07 new CommandButton Box08 set Box08.Label "Run Crop" new ViewerNV Box09 set Box09.nTypeView "6 1 2 -1" new ImageChangeInformation Box10 new LayoutSplit Box11 set Box11.Proportion 15 new ImagesChooserDialogBox Box13 new OutputText Box14 set Box14.Title "Index" new OutputText Box15 set Box15.Title "Size" new LayoutLine Box16 new ExtractVtkImageFilter Box25 new SaveMHD_infoCrop-Button Box26 connect Box03.Widget Box06.Widget2 connect Box05.Widget Box07.Widget1 connect Box08.Widget Box07.Widget2 connect Box07.Widget Box06.Widget1 connect Box08.BoxChange Box05.BoxExecute connect Box10.Out Box09.In connect Box09.Widget Box11.Widget2 connect Box08.BoxChange Box11.BoxExecute connect Box13.Out Box05.In connect Box13.Out Box03.In connect Box03.wxVtkBaseView4 Box05.wxVtkBaseView connect Box05.Index Box14.In connect Box05.Size Box15.In connect Box14.Widget Box16.Widget1 connect Box15.Widget Box16.Widget2 connect Box16.Widget Box11.Widget1 connect Box05.Index Box25.Index connect Box05.Size Box25.Size connect Box13.Out Box25.In connect Box25.Out Box10.In connect Box08.BoxChange Box25.BoxExecute connect Box10.Out Box26.In connect Box05.Size Box26.Size connect Box05.Index Box26.Index connect Box26.Widget Box16.Widget3 exec Box06