X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Ftoolsbbtk%2Fbbs%2Fboxes%2FimageVtkPropertiesWidget.bbs;h=d4e082047b818fbecd57fd41ceb20d78ec3e7c5b;hb=4d3619bf05342807aec39f571d94e4aea2efa38b;hp=5688245cfc550b9a14d4f727aed68e940e83aba0;hpb=cfad95b6e08e6e53846ffcda7fbc5932065f2c47;p=bbtk.git diff --git a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs index 5688245..d4e0820 100644 --- a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs +++ b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs @@ -1,38 +1,13 @@ -# --------------------------------------------------------------------- -# -# 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/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs +# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) +# - imageVtkPropertiesWidget.bbs # ---------------------------------- include std include itkvtk include wx include vtk +include std define ImageVtkPropertiesWidget toolsbbtk @@ -41,29 +16,34 @@ description "Description ??" category "" -new OutputText Box02 +new wx:OutputText Box02 set Box02.Title "Dimensions" -new OutputText Box17 +new wx:OutputText Box17 set Box17.Title "Size" -new OutputText Box20 +new wx:OutputText Box20 set Box20.Title "Spacing" -new OutputText Box22 +new wx:OutputText Box22 set Box22.Title "TypeName" -new OutputText Box26 +new wx:OutputText Box26 set Box26.Title "Min Max" -new ImageVtkProperties Box09 +new vtk:ImageVtkProperties Box09 -new OutputText Box10 +new wx:OutputText Box10 set Box10.Title "Components" -new LayoutLine Box11 +new wx:LayoutLine Box11 set Box11.WinTitle "Image properties" +new wx:OutputText Box13 + set Box13.Title "Name" + +new std:MagicBox Box14 + connect Box09.Components Box10.In connect Box09.MinMax Box26.In @@ -77,10 +57,20 @@ connect Box20.Widget Box11.Widget4 connect Box22.Widget Box11.Widget5 connect Box26.Widget Box11.Widget6 connect Box09.Dimension Box02.In - +connect Box13.Widget Box11.Widget7 +connect Box14.Out Box10.BoxExecute +connect Box14.Out Box02.BoxExecute +connect Box14.Out Box17.BoxExecute +connect Box14.Out Box20.BoxExecute +connect Box14.Out Box22.BoxExecute +connect Box14.Out Box13.BoxExecute +connect Box14.BoxChange Box09.BoxExecute +connect Box14.Out Box26.BoxExecute # Complex input ports input in Box09.In " " +input FileName Box13.In " " +input boxExecute Box14.In " " # Complex output ports output widget Box11.Widget " " @@ -90,4 +80,5 @@ output Size Box09.Size " " output Spacing Box09.Spacing " " output TypeName Box09.TypeName " " + endefine