# --------------------------------------------------------------------- # # 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 (Complex Box) # - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbs # ---------------------------------- include std include itkvtk include wx include creaMaracasVisu include toolsbbtk include wxvtk include vtk define ErodeWidget 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 "Erode" new InputText Box08 set Box08.In "3" set Box08.Title "kernelY" new InputText Box09 set Box09.In "3" set Box09.Title "kernelX" new SaveMHD-Button Box10 new LayoutTab Box11 new IsoSurfaceWidget Box14 set Box14.Title "Iso Surface" set Box14.maxIsovalue 255 new InputText Box15 set Box15.In "3" set Box15.Title "kernelZ" new ImageContinuousErode3D Box16 connect Box00.Widget Box01.Widget5 connect Box00.BoxChange Box03.BoxExecute connect Box03.Widget Box05.Widget2 connect Box01.Widget Box11.Widget1 connect Box11.Widget Box05.Widget1 connect Box10.Widget Box11.Widget3 connect Box14.Widget Box11.Widget2 connect Box08.Widget Box01.Widget2 connect Box09.Widget Box01.Widget1 connect Box15.Widget Box01.Widget3 connect Box00.BoxChange Box14.BoxExecute connect Box16.Out Box03.In connect Box16.Out Box14.In connect Box16.Out Box10.In connect Box09.Out Box16.KernelSizeX connect Box08.Out Box16.KernelSizeY connect Box15.Out Box16.KernelSizeZ # Complex input ports input vtkRenderer Box14.vtkRenderer " " input In Box16.In " " # Complex output ports output Widget Box05.Widget " " output BoxChange Box14.BoxChange " " output OutImage Box16.Out " " endefine