# --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image # pour la Sant�) # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # Previous Authors : Laurent Guigues, Jean-Pierre Roux # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil # # This software is governed by the CeCILL-B license under French law and # abiding by the rules of distribution of free software. You can use, # modify and/ or redistribute the software under the terms of the CeCILL-B # license as circulated by CEA, CNRS and INRIA at the following URL # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # or in the file LICENSE.txt. # # As a counterpart to the access to the source code and rights to copy, # modify and redistribute granted by the license, users are provided only # with a limited warranty and the software's author, the holder of the # economic rights, and the successive licensors have only limited # liability. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ # ---------------------------------- # - 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