From fb760a5747cde11d82640b9b76695ddbcac92125 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Mon, 9 Jul 2012 13:05:40 +0000 Subject: [PATCH] 1494 Feature box Save-MHD , new BoxChange output --- .../toolsbbtk/bbs/boxes/SaveMHD-Button.bbg | 37 +++++++++++-------- .../toolsbbtk/bbs/boxes/SaveMHD-Button.bbs | 5 ++- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbg b/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbg index 91ef48e..5cc26a9 100644 --- a/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbg +++ b/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbg @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All3/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbg +# - BBTKGEditor v 1.3 BBG BlackBox Diagram file +# - /Users/davila/Creatis/All5/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbg # ---------------------------------- APP_START @@ -13,19 +13,23 @@ PACKAGENAME:toolsbbtk COMPLEXINPUTS:1 COMPLEX_PORT In --75.009417:12.908981:900.000000 +-75.009417:12.908981:-900.000000 FIN_COMPLEX_PORT -COMPLEXOUTPUTS:1 +COMPLEXOUTPUTS:2 COMPLEX_PORT Widget --111.247984:-117.548664:900.000000 +-111.247984:-117.548664:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +BoxChange +-93.078721:-118.537889:-900.000000 FIN_COMPLEX_PORT BOXES:4 BOX wx:CommandButton:Box00 ISEXEC:FALSE --118.250801:-14.140786:900.000000 --72.675801:-24.140786:900.000000 +-118.250801:-14.140786:-900.000000 +-72.675801:-24.140786:-900.000000 PORT Label:"Save Image (*.mhd)" PORT @@ -34,14 +38,14 @@ FIN_BOX BOX vtk:MetaImageWriter:Box01 ISEXEC:FALSE --102.332504:-77.410838:900.000000 --56.757504:-87.410838:900.000000 +-102.332504:-77.410838:-900.000000 +-56.757504:-87.410838:-900.000000 FIN_BOX BOX wx:FileSelector:Box02 ISEXEC:FALSE --95.626639:-48.941097:900.000000 --50.051639:-58.941097:900.000000 +-95.626639:-48.941097:-900.000000 +-50.051639:-58.941097:-900.000000 PORT BoxProcessMode:Always PORT @@ -50,12 +54,12 @@ FIN_BOX BOX wx:LayoutLine:Box03 ISEXEC:FALSE --133.745102:-96.440218:900.000000 --76.185102:-106.440218:900.000000 +-133.745102:-96.440218:-900.000000 +-76.185102:-106.440218:-900.000000 PORT WinTitle:"Save MHD" FIN_BOX -CONNECTIONS:5 +CONNECTIONS:6 CONNECTION Box00:BoxChange:Box01:BoxExecute NumberOfControlPoints:0 @@ -65,11 +69,14 @@ NumberOfControlPoints:0 CONNECTION In:In:Box01:In NumberOfControlPoints:1 --43.197277:-54.220032:900.000000 +-43.197277:-54.220032:-900.000000 CONNECTION Box03:Widget:Widget:Widget NumberOfControlPoints:0 CONNECTION Box00:Widget:Box03:Widget1 NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:BoxChange:BoxChange +NumberOfControlPoints:0 APP_END diff --git a/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbs b/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbs index 054099d..d996a3d 100644 --- a/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbs +++ b/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbs @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/All3/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbs +# - BBTKGEditor v 1.3 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/All5/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbs # ---------------------------------- include std @@ -39,5 +39,6 @@ input In Box01.In " " # Complex output ports output Widget Box03.Widget " " +output BoxChange Box00.BoxChange " " endefine -- 2.47.1