From e367eacc0b313ca30cf5c2af896afca767ca85d3 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Mon, 16 May 2011 07:22:47 +0000 Subject: [PATCH] no message --- .../bbs/appli/resampling.bbg | 82 +++++++++++-------- .../bbs/appli/resampling.bbs | 30 ++++--- 2 files changed, 69 insertions(+), 43 deletions(-) diff --git a/bbtk_package_creaMiniTools/bbs/appli/resampling.bbg b/bbtk_package_creaMiniTools/bbs/appli/resampling.bbg index 1ce4f17..a7fa2e7 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/resampling.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/resampling.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Desktop/tmpBBTK-BBS/resampling.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/resampling.bbg # ---------------------------------- APP_START @@ -8,19 +8,7 @@ CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE -BOXES:19 -BOX -wx:FileSelector:Box00 -ISEXEC:FALSE -54.310685:261.410861:900.000000 -99.885685:251.410861:900.000000 -FIN_BOX -BOX -itk:ImageReader:Box01 -ISEXEC:FALSE -51.499512:168.330376:900.000000 -97.074512:158.330376:900.000000 -FIN_BOX +BOXES:20 BOX itk:ResampleImageFilter:Box02 ISEXEC:FALSE @@ -74,18 +62,20 @@ FIN_BOX BOX wx:CommandButton:Box09 ISEXEC:FALSE --168.600709:16.307727:900.000000 --123.025709:6.307727:900.000000 +-168.082082:4.897932:900.000000 +-122.507082:-5.102068:900.000000 PORT Label:"Run resampling" FIN_BOX BOX wx:LayoutSplit:Box11 ISEXEC:FALSE --203.739237:46.067077:900.000000 --158.164237:36.067077:900.000000 +-226.782465:4.744645:900.000000 +-181.207465:-5.255355:900.000000 PORT Orientation:H +PORT +Proportion:85 FIN_BOX BOX wx:LayoutSplit:Box12 @@ -93,7 +83,7 @@ ISEXEC:TRUE -201.720611:-71.745504:900.000000 -156.145611:-81.745504:900.000000 PORT -Proportion:90 +Proportion:80 FIN_BOX BOX wx:LayoutLine:Box13 @@ -171,13 +161,29 @@ In2:BSpline PORT In3:NearestNeighbor FIN_BOX -CONNECTIONS:24 -CONNECTION -Box00:Out:Box01:In -NumberOfControlPoints:0 -CONNECTION -Box01:Out:Box02:In -NumberOfControlPoints:0 +BOX +creaImageIO:ImagesChooserDialogBox:Box21 +ISEXEC:FALSE +25.955722:285.650877:900.000000 +97.130722:275.650877:900.000000 +FIN_BOX +BOX +wx:LayoutSplit:Box22 +ISEXEC:FALSE +-260.705949:51.294814:900.000000 +-215.130949:41.294814:900.000000 +PORT +Proportion:20 +FIN_BOX +BOX +creaMaracasVisu:ViewerNV:Box23 +ISEXEC:FALSE +-286.118674:86.561451:900.000000 +-225.478674:76.561451:900.000000 +PORT +nTypeView:"0" +FIN_BOX +CONNECTIONS:26 CONNECTION Box02:Out:Box03:In NumberOfControlPoints:0 @@ -197,9 +203,6 @@ CONNECTION Box04:BoxChange:Box06:BoxExecute NumberOfControlPoints:0 CONNECTION -Box01:Out:Box08:in -NumberOfControlPoints:0 -CONNECTION Box09:Widget:Box12:Widget2 NumberOfControlPoints:0 CONNECTION @@ -209,9 +212,6 @@ CONNECTION Box14:Widget:Box13:Widget1 NumberOfControlPoints:0 CONNECTION -Box08:widget:Box11:Widget1 -NumberOfControlPoints:0 -CONNECTION Box13:Widget:Box11:Widget2 NumberOfControlPoints:0 CONNECTION @@ -244,4 +244,22 @@ NumberOfControlPoints:0 CONNECTION Box17:Out:Box18:In5 NumberOfControlPoints:0 +CONNECTION +Box21:Out:Box02:In +NumberOfControlPoints:0 +CONNECTION +Box21:Out:Box08:in +NumberOfControlPoints:0 +CONNECTION +Box08:widget:Box22:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box23:Widget:Box22:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box21:Out:Box23:In +NumberOfControlPoints:0 +CONNECTION +Box22:Widget:Box11:Widget1 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/resampling.bbs b/bbtk_package_creaMiniTools/bbs/appli/resampling.bbs index 3d238a7..a162688 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/resampling.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/resampling.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script -# - /Users/davila/Desktop/tmpBBTK-BBS/resampling.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/resampling.bbs # ---------------------------------- # BBTK GEditor Script @@ -8,20 +8,17 @@ include std include itkvtk -include wx include itk include creaMaracasVisu +include wx include creaMiniTools include std +include creaImageIO author "Author ??" description "Description ??" category "" -new FileSelector Box00 - -new ImageReader Box01 - new ResampleImageFilter Box02 set Box02.Spacing "0.097 0.097 0.097" @@ -45,9 +42,10 @@ new CommandButton Box09 new LayoutSplit Box11 set Box11.Orientation H + set Box11.Proportion 85 new LayoutSplit Box12 - set Box12.Proportion 90 + set Box12.Proportion 80 new LayoutLine Box13 set Box13.Orientation V @@ -80,20 +78,24 @@ new StringSelect Box20 set Box20.In2 BSpline set Box20.In3 NearestNeighbor +new ImagesChooserDialogBox Box21 + +new LayoutSplit Box22 + set Box22.Proportion 20 + +new ViewerNV Box23 + set Box23.nTypeView "0" + -connect Box00.Out Box01.In -connect Box01.Out Box02.In connect Box02.Out Box03.In connect Box03.Widget Box05.Widget2 connect Box04.Widget Box05.Widget1 connect Box07.Out Box06.Filename connect Box02.Out Box06.In connect Box04.BoxChange Box06.BoxExecute -connect Box01.Out Box08.in connect Box09.Widget Box12.Widget2 connect Box11.Widget Box12.Widget1 connect Box14.Widget Box13.Widget1 -connect Box08.widget Box11.Widget1 connect Box13.Widget Box11.Widget2 connect Box16.Widget Box13.Widget2 connect Box17.Widget Box13.Widget3 @@ -105,5 +107,11 @@ connect Box20.Out Box02.Interpolation connect Box09.BoxChange Box05.BoxExecute connect Box16.Out Box18.In3 connect Box17.Out Box18.In5 +connect Box21.Out Box02.In +connect Box21.Out Box08.in +connect Box08.widget Box22.Widget1 +connect Box23.Widget Box22.Widget2 +connect Box21.Out Box23.In +connect Box22.Widget Box11.Widget1 exec Box12 -- 2.47.1