From 041e81cf4409a7c4ff5115f4b8322f14d3e8408f Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 27 Jun 2014 12:47:26 +0200 Subject: [PATCH] 2412 BBTK Feature New Normal New input in imageVtkPropertiesWidget (filename) --- .../bbs/boxes/imageVtkPropertiesWidget.bbg | 106 ++++++++---------- .../bbs/boxes/imageVtkPropertiesWidget.bbs | 37 ++---- 2 files changed, 57 insertions(+), 86 deletions(-) diff --git a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg index 25707a3..b9251f0 100644 --- a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg +++ b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg @@ -1,32 +1,6 @@ -# --------------------------------------------------------------------- -# -# 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 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All3/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbg # ---------------------------------- APP_START @@ -36,100 +10,112 @@ AUTHOR:Author ?? COMPLEXBOX:TRUE COMPLEXBOXNAME:ImageVtkPropertiesWidget PACKAGENAME:toolsbbtk -COMPLEXINPUTS:1 -COMPLEX_PORT -in -34.967521:145.605564:900.000000 -FIN_COMPLEX_PORT COMPLEXOUTPUTS:6 COMPLEX_PORT widget -3.333144:-72.520645:900.000000 +3.333144:-72.520645:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Dimensions -21.417324:-71.448913:900.000000 +21.417324:-71.448913:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT MinMax -53.672901:-69.172114:900.000000 +53.672901:-69.172114:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Size -64.566781:-70.774155:900.000000 +64.566781:-70.774155:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Spacing -76.101477:-70.453747:900.000000 +76.101477:-70.453747:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT TypeName -88.917806:-71.094563:900.000000 +88.917806:-71.094563:-900.000000 +FIN_COMPLEX_PORT +COMPLEXINPUTS:2 +COMPLEX_PORT +in +34.967521:145.605564:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +FileName +102.519294:151.601731:-900.000000 FIN_COMPLEX_PORT -BOXES:8 +BOXES:9 BOX wx:OutputText:Box02 ISEXEC:FALSE --173.282353:46.940241:900.000000 --127.707353:36.940241:900.000000 +-173.282353:46.940241:-900.000000 +-127.707353:36.940241:-900.000000 PORT Title:"Dimensions" FIN_BOX BOX wx:OutputText:Box17 ISEXEC:FALSE --80.770416:34.681383:900.000000 --35.195416:24.681383:900.000000 +-80.770416:34.681383:-900.000000 +-35.195416:24.681383:-900.000000 PORT Title:"Size" FIN_BOX BOX wx:OutputText:Box20 ISEXEC:FALSE --52.452230:20.761380:900.000000 --6.877230:10.761380:900.000000 +-52.452230:20.761380:-900.000000 +-6.877230:10.761380:-900.000000 PORT Title:"Spacing" FIN_BOX BOX wx:OutputText:Box22 ISEXEC:FALSE --35.332320:1.230494:900.000000 -10.242680:-8.769506:900.000000 +-35.332320:1.230494:-900.000000 +10.242680:-8.769506:-900.000000 PORT Title:"TypeName" FIN_BOX BOX wx:OutputText:Box26 ISEXEC:FALSE --131.615626:26.628991:900.000000 --86.040626:16.628991:900.000000 +-131.615626:26.628991:-900.000000 +-86.040626:16.628991:-900.000000 PORT Title:"Min Max" FIN_BOX BOX vtk:ImageVtkProperties:Box09 ISEXEC:FALSE -33.571051:113.198814:900.000000 -79.146051:103.198814:900.000000 +33.571051:113.198814:-900.000000 +79.146051:103.198814:-900.000000 FIN_BOX BOX wx:OutputText:Box10 ISEXEC:FALSE --196.439793:65.504307:900.000000 --150.864793:55.504307:900.000000 +-196.439793:65.504307:-900.000000 +-150.864793:55.504307:-900.000000 PORT Title:"Components" FIN_BOX BOX wx:LayoutLine:Box11 ISEXEC:FALSE --146.679789:-23.669575:900.000000 --89.119789:-33.669575:900.000000 +-69.746079:-39.358124:-900.000000 +-12.186079:-49.358124:-900.000000 PORT WinTitle:"Image properties" FIN_BOX -CONNECTIONS:19 +BOX +wx:OutputText:Box13 +ISEXEC:FALSE +-27.886899:-16.541426:-900.000000 +17.688101:-26.541426:-900.000000 +PORT +Title:"Name" +FIN_BOX +CONNECTIONS:21 CONNECTION Box09:Components:Box10:In NumberOfControlPoints:0 @@ -187,4 +173,10 @@ NumberOfControlPoints:0 CONNECTION Box09:Dimension:Box02:In NumberOfControlPoints:0 +CONNECTION +FileName:FileName:Box13:In +NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box11:Widget7 +NumberOfControlPoints:0 APP_END diff --git a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs index 5688245..5272b3b 100644 --- a/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs +++ b/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs @@ -1,32 +1,6 @@ -# --------------------------------------------------------------------- -# -# 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) +# - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs # ---------------------------------- include std @@ -64,6 +38,9 @@ new OutputText Box10 new LayoutLine Box11 set Box11.WinTitle "Image properties" +new OutputText Box13 + set Box13.Title "Name" + connect Box09.Components Box10.In connect Box09.MinMax Box26.In @@ -77,10 +54,11 @@ 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 # Complex input ports input in Box09.In " " +input FileName Box13.In " " # Complex output ports output widget Box11.Widget " " @@ -90,4 +68,5 @@ output Size Box09.Size " " output Spacing Box09.Spacing " " output TypeName Box09.TypeName " " + endefine -- 2.45.0