From: Eduardo Davila Date: Fri, 22 Apr 2011 16:03:59 +0000 (+0000) Subject: no message X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=53e31c73ce0ec512f96c18e48ee9277bdac7b144;p=creaMiniTools.git no message --- diff --git a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg index 0ffa549..93ac369 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/appli/manualPaint.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg # ---------------------------------- APP_START @@ -8,101 +8,78 @@ CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE -BOXES:8 +BOXES:6 BOX -creaMaracasVisu:ManualPaint:Box00 +creaImageIO:ImagesChooserDialogBox:Box09 ISEXEC:FALSE --103.486153:69.440483:900.000000 --57.911153:59.440483:900.000000 -PORT -BoxProcessMode:"Always" +-60.471403:-14.114134:900.000000 +10.703597:-24.114134:900.000000 +FIN_BOX +BOX +creaMaracasVisu:ViewerNV:Box10 +ISEXEC:FALSE +-30.752648:-37.386092:900.000000 +29.887352:-47.386092:900.000000 FIN_BOX BOX -creaImageIO:ImagesChooserDialogBox:Box01 +creaMaracasVisu:ManualPaint:Box11 ISEXEC:FALSE --101.852062:147.959211:900.000000 --30.677062:137.959211:900.000000 +-58.492744:-66.079291:900.000000 +-12.917744:-76.079291:900.000000 FIN_BOX BOX -wx:LayoutSplit:Box02 +wx:LayoutSplit:Box12 ISEXEC:TRUE --17.278326:-8.318202:900.000000 -28.296674:-18.318202:900.000000 +-41.196174:-128.650860:900.000000 +4.378826:-138.650860:900.000000 PORT Orientation:H -FIN_BOX -BOX -wx:CommandButton:Box03 -ISEXEC:FALSE --33.585493:77.796715:900.000000 -11.989507:67.796715:900.000000 PORT -Label:"Save Image" +Proportion:30 FIN_BOX BOX -vtk:MetaImageWriter:Box04 +wx:LayoutSplit:Box14 ISEXEC:FALSE --40.634855:34.090045:900.000000 -4.940145:24.090045:900.000000 -FIN_BOX -BOX -wx:FileSelector:Box05 -ISEXEC:FALSE -24.420598:76.101399:900.000000 -69.995598:66.101399:900.000000 -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:Box06 -ISEXEC:FALSE --60.875680:117.735994:900.000000 --0.235680:107.735994:900.000000 +-81.482173:-102.789327:900.000000 +-35.907173:-112.789327:900.000000 +PORT +Proportion:90 FIN_BOX BOX -wx:LayoutSplit:Box07 +creaMiniToolsBase:SaveMHD-Button:Box15 ISEXEC:FALSE --83.524945:18.330888:900.000000 --37.949945:8.330888:900.000000 -PORT -Orientation:V +-77.409674:-79.073240:900.000000 +-31.834674:-89.073240:900.000000 FIN_BOX -CONNECTIONS:13 -CONNECTION -Box01:Out:Box06:In -NumberOfControlPoints:0 -CONNECTION -Box00:Widget:Box07:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box03:Widget:Box07:Widget2 -NumberOfControlPoints:0 +CONNECTIONS:10 CONNECTION -Box06:Widget:Box02:Widget2 +Box09:Out:Box10:In NumberOfControlPoints:0 CONNECTION -Box07:Widget:Box02:Widget1 +Box10:Widget:Box12:Widget2 NumberOfControlPoints:0 CONNECTION -Box03:BoxChange:Box04:BoxExecute +Box09:Out:Box11:In NumberOfControlPoints:0 CONNECTION -Box05:Out:Box04:Filename +Box10:wxVtkBaseView2:Box11:WxVtkBaseView1 NumberOfControlPoints:0 CONNECTION -Box01:Out:Box04:In +Box10:wxVtkBaseView3:Box11:WxVtkBaseView2 NumberOfControlPoints:0 CONNECTION -Box01:Out:Box00:In +Box10:wxVtkBaseView4:Box11:WxVtkBaseView3 NumberOfControlPoints:0 CONNECTION -Box06:BoxChange:Box00:BoxExecute +Box11:Widget:Box14:Widget1 NumberOfControlPoints:0 CONNECTION -Box06:wxVtkBaseView2:Box00:WxVtkBaseView1 +Box15:Widget:Box14:Widget2 NumberOfControlPoints:0 CONNECTION -Box06:wxVtkBaseView3:Box00:WxVtkBaseView2 +Box14:Widget:Box12:Widget1 NumberOfControlPoints:0 CONNECTION -Box06:wxVtkBaseView4:Box00:WxVtkBaseView3 +Box09:Out:Box15:In NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs index e176266..8bb7b37 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/appli/manualPaint.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs # ---------------------------------- # BBTK GEditor Script @@ -8,48 +8,40 @@ include std include itkvtk -include creaMaracasVisu include creaImageIO +include creaMaracasVisu include wx -include vtk +include creaMiniTools author "Author ??" description "Description ??" category "" -new ManualPaint Box00 - set Box00.BoxProcessMode "Always" - -new ImagesChooserDialogBox Box01 - -new LayoutSplit Box02 - set Box02.Orientation H +new ImagesChooserDialogBox Box09 -new CommandButton Box03 - set Box03.Label "Save Image" +new ViewerNV Box10 -new MetaImageWriter Box04 +new ManualPaint Box11 -new FileSelector Box05 +new LayoutSplit Box12 + set Box12.Orientation H + set Box12.Proportion 30 -new ViewerNV Box06 +new LayoutSplit Box14 + set Box14.Proportion 90 -new LayoutSplit Box07 - set Box07.Orientation V +new SaveMHD-Button Box15 -connect Box01.Out Box06.In -connect Box00.Widget Box07.Widget1 -connect Box03.Widget Box07.Widget2 -connect Box06.Widget Box02.Widget2 -connect Box07.Widget Box02.Widget1 -connect Box03.BoxChange Box04.BoxExecute -connect Box05.Out Box04.Filename -connect Box01.Out Box04.In -connect Box01.Out Box00.In -connect Box06.BoxChange Box00.BoxExecute -connect Box06.wxVtkBaseView2 Box00.WxVtkBaseView1 -connect Box06.wxVtkBaseView3 Box00.WxVtkBaseView2 -connect Box06.wxVtkBaseView4 Box00.WxVtkBaseView3 +connect Box09.Out Box10.In +connect Box10.Widget Box12.Widget2 +connect Box09.Out Box11.In +connect Box10.wxVtkBaseView2 Box11.WxVtkBaseView1 +connect Box10.wxVtkBaseView3 Box11.WxVtkBaseView2 +connect Box10.wxVtkBaseView4 Box11.WxVtkBaseView3 +connect Box11.Widget Box14.Widget1 +connect Box15.Widget Box14.Widget2 +connect Box14.Widget Box12.Widget1 +connect Box09.Out Box15.In -exec Box02 +exec Box12 diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg b/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg index 55e105b..f78f32c 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/SaveMHD-Button.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg # ---------------------------------- APP_START @@ -9,7 +9,7 @@ DESCRIPTION:Button that saves the input vtkImageData as a MHD file AUTHOR:info-team at creatis.insa-lyon.fr COMPLEXBOX:TRUE COMPLEXBOXNAME:SaveMHD-Button -PACKAGENAME:creaMiniTools +PACKAGENAME:creaMiniToolsBase COMPLEXINPUTS:1 COMPLEX_PORT In @@ -24,8 +24,8 @@ BOXES:3 BOX wx:CommandButton:Box00 ISEXEC:FALSE --121.090405:-23.795441:900.000000 --75.515405:-33.795441:900.000000 +-118.250801:-14.140786:900.000000 +-72.675801:-24.140786:900.000000 PORT Label:"Save Image" PORT @@ -40,8 +40,10 @@ FIN_BOX BOX wx:FileSelector:Box02 ISEXEC:FALSE --101.873769:-42.126046:900.000000 --56.298769:-52.126046:900.000000 +-95.626639:-48.941097:900.000000 +-50.051639:-58.941097:900.000000 +PORT +BoxProcessMode:Always PORT OpenSave:Save FIN_BOX diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs b/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs index 4be769a..453c27f 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/SaveMHD-Button.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs # ---------------------------------- include std @@ -22,6 +22,7 @@ new CommandButton Box00 new MetaImageWriter Box01 new FileSelector Box02 + set Box02.BoxProcessMode Always set Box02.OpenSave Save