From 7bfda54ddb6ca74fb6f77ffc81a21459da7b0a7f Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Tue, 3 Jul 2012 12:01:43 +0000 Subject: [PATCH] Feature: 1450 Extract/Save planes minitool --- .../bbs/appli/SaveImagePlanes.bbg | 295 ++++++++++++++++++ .../bbs/appli/SaveImagePlanes.bbs | 122 ++++++++ .../bbs/appli/manualPaint.bbg | 99 ++++-- .../bbs/appli/manualPaint.bbs | 28 +- .../bbs/boxes/imageToolsMenu.bbg | 97 +++--- .../bbs/boxes/imageToolsMenu.bbs | 7 +- 6 files changed, 558 insertions(+), 90 deletions(-) create mode 100644 bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbg create mode 100644 bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbs diff --git a/bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbg b/bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbg new file mode 100644 index 0000000..8c80d08 --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbg @@ -0,0 +1,295 @@ +# ---------------------------------- +# - BBTKGEditor v 1.3 BBG BlackBox Diagram file +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbg +# ---------------------------------- + +APP_START +CATEGORY:demo +DESCRIPTION:3 slicers and a 3D view +AUTHOR:jpr@creatis.insa-lyon.fr +COMPLEXBOX:FALSE +BOXES:24 +BOX +wx:LayoutX4:main +ISEXEC:FALSE +-77.531519:-153.648613:-900.000000 +-31.956519:-163.648613:-900.000000 +PORT +WinTitle:"demoViewing3" +FIN_BOX +BOX +wx:LayoutLine:upright +ISEXEC:FALSE +-176.338727:-73.911694:-900.000000 +-118.778727:-83.911694:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:upleft +ISEXEC:FALSE +-106.158542:-75.284671:-900.000000 +-60.583542:-85.284671:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:downleft +ISEXEC:FALSE +-32.607218:-77.254045:-900.000000 +12.967782:-87.254045:-900.000000 +FIN_BOX +BOX +vtk:ImagePlanes:planes +ISEXEC:FALSE +-53.296206:76.412271:-900.000000 +-7.721206:66.412271:-900.000000 +FIN_BOX +BOX +wxvtk:Viewer3D:viewer +ISEXEC:FALSE +54.868460:-54.535144:-900.000000 +100.443460:-64.535144:-900.000000 +FIN_BOX +BOX +wxvtk:Viewer2D:viewerUL +ISEXEC:FALSE +-105.963963:-55.311725:-900.000000 +-60.388963:-65.311725:-900.000000 +PORT +BoxProcessMode:"Always" +PORT +Slice:"0" +FIN_BOX +BOX +wxvtk:Viewer2D:viewerUR +ISEXEC:FALSE +-175.936909:-50.720740:-900.000000 +-123.487749:-60.720740:-900.000000 +PORT +BoxProcessMode:"Always" +PORT +Slice:"0" +FIN_BOX +BOX +wxvtk:Viewer2D:viewerDL +ISEXEC:FALSE +-31.414425:-55.672095:-900.000000 +14.160575:-65.672095:-900.000000 +PORT +BoxProcessMode:"Always" +PORT +Slice:"0" +FIN_BOX +BOX +creaImageIO:ImagesChooserDialogBox:Box10 +ISEXEC:FALSE +-135.247800:137.653659:-900.000000 +-64.072800:127.653659:-900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box11 +ISEXEC:FALSE +-247.763660:-48.502242:-900.000000 +-190.203660:-58.502242:-900.000000 +FIN_BOX +BOX +toolsbbtk:ImageVtkPropertiesWidget:Box12 +ISEXEC:FALSE +-149.254041:77.078500:-900.000000 +-78.079041:67.078500:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box13 +ISEXEC:FALSE +-251.006831:-12.703133:-900.000000 +-125.048542:-22.703133:-900.000000 +PORT +WinTitle:"Save Image 2D" +FIN_BOX +BOX +toolsbbtk:SaveMHD-Button:Box14 +ISEXEC:FALSE +-362.288220:56.406746:-900.000000 +-316.713220:46.406746:-900.000000 +FIN_BOX +BOX +wx:LayoutSplit:Box15 +ISEXEC:TRUE +-111.781013:-183.309564:-900.000000 +-66.206013:-193.309564:-900.000000 +PORT +Orientation:"H" +PORT +Proportion:"30" +FIN_BOX +BOX +toolsbbtk:SaveMHD-Button:Box16 +ISEXEC:FALSE +-282.783521:52.708474:-900.000000 +-237.208521:42.708474:-900.000000 +FIN_BOX +BOX +toolsbbtk:SaveMHD-Button:Box17 +ISEXEC:FALSE +-214.241615:49.793574:-900.000000 +-168.666615:39.793574:-900.000000 +FIN_BOX +BOX +wx:OutputText:Box18 +ISEXEC:FALSE +-353.488464:42.183946:-900.000000 +-307.913464:32.183946:-900.000000 +PORT +In:"X" +FIN_BOX +BOX +wx:LayoutLine:Box19 +ISEXEC:FALSE +-365.835184:19.525475:-900.000000 +-308.275184:9.525475:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +wx:OutputText:Box20 +ISEXEC:FALSE +-274.822113:39.918308:-900.000000 +-229.247113:29.918308:-900.000000 +PORT +In:"Y" +FIN_BOX +BOX +wx:LayoutLine:Box21 +ISEXEC:FALSE +-290.920225:22.144781:-900.000000 +-233.360225:12.144781:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +wx:OutputText:Box22 +ISEXEC:FALSE +-201.087724:34.272350:-900.000000 +-155.512724:24.272350:-900.000000 +PORT +In:"Z" +FIN_BOX +BOX +wx:LayoutLine:Box23 +ISEXEC:FALSE +-211.079656:17.109441:-900.000000 +-153.519656:7.109441:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +vtk:vtkImageDataPointerRelay:Box24 +ISEXEC:FALSE +-132.613506:110.026006:-900.000000 +-61.438506:100.026006:-900.000000 +FIN_BOX +CONNECTIONS:35 +CONNECTION +upright:Widget:main:Widget1 +NumberOfControlPoints:0 +CONNECTION +upleft:Widget:main:Widget2 +NumberOfControlPoints:0 +CONNECTION +downleft:Widget:main:Widget3 +NumberOfControlPoints:0 +CONNECTION +planes:PlaneX:viewer:Obs1 +NumberOfControlPoints:0 +CONNECTION +planes:PlaneY:viewer:Obs2 +NumberOfControlPoints:0 +CONNECTION +planes:PlaneZ:viewer:Obs3 +NumberOfControlPoints:0 +CONNECTION +viewer:Widget:main:Widget4 +NumberOfControlPoints:0 +CONNECTION +planes:ImageX:viewerUL:In +NumberOfControlPoints:0 +CONNECTION +viewerUL:Widget:upleft:Widget1 +NumberOfControlPoints:0 +CONNECTION +planes:BoxChange:viewerUL:BoxExecute +NumberOfControlPoints:0 +CONNECTION +planes:ImageY:viewerUR:In +NumberOfControlPoints:0 +CONNECTION +viewerUR:Widget:upright:Widget1 +NumberOfControlPoints:0 +CONNECTION +planes:BoxChange:viewerUR:BoxExecute +NumberOfControlPoints:0 +CONNECTION +planes:ImageZ:viewerDL:In +NumberOfControlPoints:0 +CONNECTION +viewerDL:Widget:downleft:Widget1 +NumberOfControlPoints:0 +CONNECTION +planes:BoxChange:viewerDL:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box12:widget:Box11:Widget2 +NumberOfControlPoints:1 +-131.827469:3.951403:-900.000000 +CONNECTION +Box13:Widget:Box11:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box15:Widget1 +NumberOfControlPoints:0 +CONNECTION +main:Widget:Box15:Widget2 +NumberOfControlPoints:0 +CONNECTION +planes:ImageX:Box14:In +NumberOfControlPoints:0 +CONNECTION +planes:ImageY:Box16:In +NumberOfControlPoints:0 +CONNECTION +planes:ImageZ:Box17:In +NumberOfControlPoints:0 +CONNECTION +Box19:Widget:Box13:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box14:Widget:Box19:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box18:Widget:Box19:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box20:Widget:Box21:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box22:Widget:Box23:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box16:Widget:Box21:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box17:Widget:Box23:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box23:Widget:Box13:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box21:Widget:Box13:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box10:Out:Box24:In +NumberOfControlPoints:0 +CONNECTION +Box24:Out:Box12:in +NumberOfControlPoints:0 +CONNECTION +Box24:Out:planes:In +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbs b/bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbs new file mode 100644 index 0000000..1f026ec --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbs @@ -0,0 +1,122 @@ +# ---------------------------------- +# - BBTKGEditor v 1.3 BBS BlackBox Script +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/SaveImagePlanes.bbs +# ---------------------------------- + +# BBTK GEditor Script +# ---------------------- + +include std +include itkvtk +include wx +include vtk +include wxvtk +include creaImageIO +include toolsbbtk + +author "jpr@creatis.insa-lyon.fr" +description "3 slicers and a 3D view" +category "demo" + +new LayoutX4 main + set main.WinTitle "demoViewing3" + +new LayoutLine upright + +new LayoutLine upleft + +new LayoutLine downleft + +new ImagePlanes planes + +new Viewer3D viewer + +new Viewer2D viewerUL + set viewerUL.BoxProcessMode "Always" + set viewerUL.Slice "0" + +new Viewer2D viewerUR + set viewerUR.BoxProcessMode "Always" + set viewerUR.Slice "0" + +new Viewer2D viewerDL + set viewerDL.BoxProcessMode "Always" + set viewerDL.Slice "0" + +new ImagesChooserDialogBox Box10 + +new LayoutTab Box11 + +new ImageVtkPropertiesWidget Box12 + +new LayoutLine Box13 + set Box13.WinTitle "Save Image 2D" + +new SaveMHD-Button Box14 + +new LayoutSplit Box15 + set Box15.Orientation "H" + set Box15.Proportion "30" + +new SaveMHD-Button Box16 + +new SaveMHD-Button Box17 + +new OutputText Box18 + set Box18.In "X" + +new LayoutLine Box19 + set Box19.Orientation "H" + +new OutputText Box20 + set Box20.In "Y" + +new LayoutLine Box21 + set Box21.Orientation "H" + +new OutputText Box22 + set Box22.In "Z" + +new LayoutLine Box23 + set Box23.Orientation "H" + +new vtkImageDataPointerRelay Box24 + + +connect upright.Widget main.Widget1 +connect upleft.Widget main.Widget2 +connect downleft.Widget main.Widget3 +connect planes.PlaneX viewer.Obs1 +connect planes.PlaneY viewer.Obs2 +connect planes.PlaneZ viewer.Obs3 +connect viewer.Widget main.Widget4 +connect planes.ImageX viewerUL.In +connect viewerUL.Widget upleft.Widget1 +connect planes.BoxChange viewerUL.BoxExecute +connect planes.ImageY viewerUR.In +connect viewerUR.Widget upright.Widget1 +connect planes.BoxChange viewerUR.BoxExecute +connect planes.ImageZ viewerDL.In +connect viewerDL.Widget downleft.Widget1 +connect planes.BoxChange viewerDL.BoxExecute +connect Box12.widget Box11.Widget2 +connect Box13.Widget Box11.Widget1 +connect Box11.Widget Box15.Widget1 +connect main.Widget Box15.Widget2 +connect planes.ImageX Box14.In +connect planes.ImageY Box16.In +connect planes.ImageZ Box17.In +connect Box19.Widget Box13.Widget1 +connect Box14.Widget Box19.Widget1 +connect Box18.Widget Box19.Widget2 +connect Box20.Widget Box21.Widget2 +connect Box22.Widget Box23.Widget2 +connect Box16.Widget Box21.Widget1 +connect Box17.Widget Box23.Widget1 +connect Box23.Widget Box13.Widget3 +connect Box21.Widget Box13.Widget2 +connect Box10.Out Box24.In +connect Box24.Out Box12.in +connect Box24.Out planes.In + +exec Box15 diff --git a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg index 3fae06d..41afe65 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/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg +# - BBTKGEditor v 1.3 BBG BlackBox Diagram file +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg # ---------------------------------- APP_START @@ -8,30 +8,30 @@ CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE -BOXES:8 +BOXES:11 BOX creaImageIO:ImagesChooserDialogBox:Box09 ISEXEC:FALSE --95.947460:-1.117955:900.000000 --24.772460:-11.117955:900.000000 +-94.654723:26.514291:-900.000000 +-23.479723:16.514291:-900.000000 FIN_BOX BOX creaMaracasVisu:ViewerNV:Box10 ISEXEC:FALSE --67.282449:-25.092409:900.000000 --6.642449:-35.092409:900.000000 +-64.431022:-22.240982:-900.000000 +-3.791022:-32.240982:-900.000000 FIN_BOX BOX creaMaracasVisu:ManualPaint:Box11 ISEXEC:FALSE --47.604053:-59.756825:900.000000 --2.029053:-69.756825:900.000000 +-60.231801:-62.608252:-900.000000 +-14.656801:-72.608252:-900.000000 FIN_BOX BOX wx:LayoutSplit:Box12 ISEXEC:TRUE --46.464895:-153.238226:900.000000 --0.889895:-163.238226:900.000000 +-19.580013:-196.824323:-900.000000 +25.994987:-206.824323:-900.000000 PORT Orientation:H PORT @@ -40,39 +40,59 @@ FIN_BOX BOX wx:LayoutSplit:Box14 ISEXEC:FALSE --64.622265:-123.864212:900.000000 --19.047265:-133.864212:900.000000 +-63.807572:-168.265002:-900.000000 +-18.232572:-178.265002:-900.000000 PORT Proportion:90 FIN_BOX BOX toolsbbtk:SaveMHD-Button:Box15 ISEXEC:FALSE --42.636113:-101.904366:900.000000 -2.938887:-111.904366:900.000000 +-41.821420:-146.305156:-900.000000 +3.753580:-156.305156:-900.000000 FIN_BOX BOX -wx:LayoutSplit:Box06 +creaMaracasVisu:CutModule2:Box07 +ISEXEC:FALSE +-126.050180:-60.509885:-900.000000 +-80.475180:-70.509885:-900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box08 +ISEXEC:FALSE +-119.908383:-142.402797:-900.000000 +-62.348383:-152.402797:-900.000000 +FIN_BOX +BOX +toolsbbtk:ImageVtkPropertiesWidget:Box13 ISEXEC:FALSE --97.926074:-101.662010:900.000000 --52.351074:-111.662010:900.000000 +-52.715852:-95.305613:-900.000000 +18.459148:-105.305613:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box16 +ISEXEC:FALSE +-113.878164:-94.874471:-900.000000 +-56.318164:-104.874471:-900.000000 PORT -Orientation:H +WinTitle:"Cutter" FIN_BOX BOX -creaMaracasVisu:CutModule2:Box07 +wx:LayoutLine:Box17 ISEXEC:FALSE --110.571005:-60.917232:900.000000 --64.996005:-70.917232:900.000000 +-176.609556:-94.467124:-900.000000 +-119.049556:-104.467124:-900.000000 +PORT +WinTitle:"Paint" FIN_BOX -CONNECTIONS:16 +CONNECTIONS:20 CONNECTION Box09:Out:Box10:In NumberOfControlPoints:0 CONNECTION Box10:Widget:Box12:Widget2 NumberOfControlPoints:1 -25.713255:-80.235878:900.000000 +25.713255:-80.235878:-900.000000 CONNECTION Box09:Out:Box11:In NumberOfControlPoints:0 @@ -93,26 +113,43 @@ Box14:Widget:Box12:Widget1 NumberOfControlPoints:0 CONNECTION Box09:Out:Box15:In +NumberOfControlPoints:3 +3.845032:-18.700638:-900.000000 +46.616436:-49.251640:-900.000000 +17.694820:-116.056503:-900.000000 +CONNECTION +Box10:BoxChange:Box07:BoxExecute NumberOfControlPoints:0 CONNECTION -Box11:Widget:Box06:Widget1 +Box10:Interactor1:Box07:Interactor NumberOfControlPoints:0 CONNECTION -Box07:Widget:Box06:Widget2 +Box09:Out:Box07:In NumberOfControlPoints:0 CONNECTION -Box06:Widget:Box14:Widget1 +Box10:Renderer1:Box07:Renderer NumberOfControlPoints:0 CONNECTION -Box10:BoxChange:Box07:BoxExecute +Box08:Widget:Box14:Widget1 NumberOfControlPoints:0 CONNECTION -Box10:Interactor1:Box07:Interactor +Box09:Out:Box13:in +NumberOfControlPoints:2 +24.212366:-30.513693:-900.000000 +-0.228435:-74.099792:-900.000000 +CONNECTION +Box13:widget:Box08:Widget3 NumberOfControlPoints:0 CONNECTION -Box09:Out:Box07:In +Box07:Widget:Box16:Widget1 NumberOfControlPoints:0 CONNECTION -Box10:Renderer1:Box07:Renderer +Box16:Widget:Box08:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box17:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box17:Widget:Box08:Widget1 NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs index 4da2d02..7367e3c 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/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs +# - BBTKGEditor v 1.3 BBS BlackBox Script +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs # ---------------------------------- # BBTK GEditor Script @@ -11,7 +11,6 @@ include itkvtk include creaImageIO include creaMaracasVisu include wx -include creaMiniToolsBase include toolsbbtk author "Author ??" @@ -33,11 +32,18 @@ new LayoutSplit Box14 new SaveMHD-Button Box15 -new LayoutSplit Box06 - set Box06.Orientation H - new CutModule2 Box07 +new LayoutTab Box08 + +new ImageVtkPropertiesWidget Box13 + +new LayoutLine Box16 + set Box16.WinTitle "Cutter" + +new LayoutLine Box17 + set Box17.WinTitle "Paint" + connect Box09.Out Box10.In connect Box10.Widget Box12.Widget2 @@ -48,12 +54,16 @@ connect Box10.wxVtkBaseView4 Box11.WxVtkBaseView3 connect Box15.Widget Box14.Widget2 connect Box14.Widget Box12.Widget1 connect Box09.Out Box15.In -connect Box11.Widget Box06.Widget1 -connect Box07.Widget Box06.Widget2 -connect Box06.Widget Box14.Widget1 connect Box10.BoxChange Box07.BoxExecute connect Box10.Interactor1 Box07.Interactor connect Box09.Out Box07.In connect Box10.Renderer1 Box07.Renderer +connect Box08.Widget Box14.Widget1 +connect Box09.Out Box13.in +connect Box13.widget Box08.Widget3 +connect Box07.Widget Box16.Widget1 +connect Box16.Widget Box08.Widget2 +connect Box11.Widget Box17.Widget1 +connect Box17.Widget Box08.Widget1 exec Box12 diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg index 324670e..5fdc362 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg @@ -1,5 +1,5 @@ # ---------------------------------- -# - BBTKGEditor v 1.2 BBG BlackBox Diagram file +# - BBTKGEditor v 1.3 BBG BlackBox Diagram file # - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg # ---------------------------------- @@ -14,170 +14,170 @@ COMPLEXINPUTS:0 COMPLEXOUTPUTS:1 COMPLEX_PORT widget -55.184284:-40.716064:900.000000 +55.184284:-40.716064:-900.000000 FIN_COMPLEX_PORT BOXES:21 BOX wx:CommandButton:Box00 ISEXEC:FALSE --89.534567:202.477913:900.000000 --43.959567:192.477913:900.000000 +-89.534567:202.477913:-900.000000 +-43.959567:192.477913:-900.000000 PORT Label:"Image Writer" FIN_BOX BOX wx:CommandButton:Box02 ISEXEC:FALSE --81.740443:128.068200:900.000000 --36.165443:118.068200:900.000000 +-81.740443:128.068200:-900.000000 +-36.165443:118.068200:-900.000000 PORT Label:"Viewer NV" FIN_BOX BOX std:ExecSystemCommand:Box04 ISEXEC:FALSE --62.989723:185.119881:900.000000 -8.185277:175.119881:900.000000 +-62.989723:185.119881:-900.000000 +8.185277:175.119881:-900.000000 PORT In:"bbi creaMiniTools/appli/imageWriterExample.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box06 ISEXEC:FALSE --123.430867:108.026685:900.000000 --52.255867:98.026685:900.000000 +-123.430867:108.026685:-900.000000 +-52.255867:98.026685:-900.000000 PORT In:"bbi creaMiniTools/appli/viewerNVExample.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box09 ISEXEC:FALSE --108.307596:63.396016:900.000000 --37.132596:53.396016:900.000000 +-108.307596:63.396016:-900.000000 +-37.132596:53.396016:-900.000000 PORT In:"bbi creaMiniTools/appli/synchro2ImageExample.bbs &" FIN_BOX BOX wx:CommandButton:Box10 ISEXEC:FALSE --77.033199:90.041840:900.000000 --31.458199:80.041840:900.000000 +-77.033199:90.041840:-900.000000 +-31.458199:80.041840:-900.000000 PORT Label:"Synchronize 2 Images" FIN_BOX BOX wx:CommandButton:Box11 ISEXEC:FALSE -78.216276:201.626603:900.000000 -123.791276:191.626603:900.000000 +78.216276:201.626603:-900.000000 +123.791276:191.626603:-900.000000 PORT Label:"Manual paint" FIN_BOX BOX std:ExecSystemCommand:Box12 ISEXEC:FALSE -93.743394:183.054952:900.000000 -164.918394:173.054952:900.000000 +93.743394:183.054952:-900.000000 +164.918394:173.054952:-900.000000 PORT In:"bbi creaMiniTools/appli/manualPaint.bbs &" FIN_BOX BOX wx:CommandButton:Box13 ISEXEC:FALSE -173.042919:159.544965:900.000000 -218.617919:149.544965:900.000000 +173.042919:159.544965:-900.000000 +218.617919:149.544965:-900.000000 PORT -Label:"Show N-Points" +Label:"Extract Planes" FIN_BOX BOX std:ExecSystemCommand:Box14 ISEXEC:FALSE -169.434236:141.183423:900.000000 -240.609236:131.183423:900.000000 +169.434236:141.183423:-900.000000 +240.609236:131.183423:-900.000000 PORT -In:"bbi creaMiniTools/appli/showNPoints.bbs &" +In:"bbi creaMiniTools/appli/SaveImagePlanes.bbs &" FIN_BOX BOX wx:LayoutTab:Box15 ISEXEC:TRUE -52.706369:-16.176415:900.000000 -110.266369:-26.176415:900.000000 +52.706369:-16.176415:-900.000000 +110.266369:-26.176415:-900.000000 PORT WinTitle:"Images Tools" FIN_BOX BOX wx:LayoutLine:Box18 ISEXEC:FALSE --17.477654:37.629512:900.000000 -40.082346:27.629512:900.000000 +-17.477654:37.629512:-900.000000 +40.082346:27.629512:-900.000000 FIN_BOX BOX wx:LayoutLine:Box19 ISEXEC:FALSE -51.977910:36.626463:900.000000 -109.537910:26.626463:900.000000 +51.977910:36.626463:-900.000000 +109.537910:26.626463:-900.000000 FIN_BOX BOX creaMiniToolsBase:RegistrationMenu:Box20 ISEXEC:FALSE -115.391322:37.604747:900.000000 -160.966322:27.604747:900.000000 +115.391322:37.604747:-900.000000 +160.966322:27.604747:-900.000000 FIN_BOX BOX creaMiniToolsBase:RescaleSlopeInterceptMenu:Box21 ISEXEC:FALSE -167.491387:40.227526:900.000000 -238.666387:30.227526:900.000000 +167.491387:40.227526:-900.000000 +238.666387:30.227526:-900.000000 FIN_BOX BOX wx:CommandButton:Box22 ISEXEC:FALSE --17.276148:166.092537:900.000000 -28.298852:156.092537:900.000000 +-17.276148:166.092537:-900.000000 +28.298852:156.092537:-900.000000 PORT Label:"Resampling Image" FIN_BOX BOX std:ExecSystemCommand:Box23 ISEXEC:FALSE -1.642581:151.711646:900.000000 -72.817581:141.711646:900.000000 +1.642581:151.711646:-900.000000 +72.817581:141.711646:-900.000000 PORT In:"bbi creaMiniTools/appli/resampling.bbs &" FIN_BOX BOX wx:CommandButton:Box25 ISEXEC:FALSE -87.433405:165.277161:900.000000 -133.008405:155.277161:900.000000 +87.433405:165.277161:-900.000000 +133.008405:155.277161:-900.000000 PORT Label:"Crop image" FIN_BOX BOX std:ExecSystemCommand:Box26 ISEXEC:FALSE -95.444609:146.851392:900.000000 -166.619609:136.851392:900.000000 +95.444609:146.851392:-900.000000 +166.619609:136.851392:-900.000000 PORT In:"bbi creaMiniTools/appli/crop.bbs &" FIN_BOX BOX wx:LayoutCenter:Box27 ISEXEC:FALSE --15.621451:21.022887:900.000000 -29.953549:11.022887:900.000000 +-15.621451:21.022887:-900.000000 +29.953549:11.022887:-900.000000 PORT WinTitle:"Viewers" FIN_BOX BOX wx:LayoutCenter:Box28 ISEXEC:FALSE -56.062026:16.329326:900.000000 -101.637026:6.329326:900.000000 +56.062026:16.329326:-900.000000 +101.637026:6.329326:-900.000000 PORT WinTitle:"Modify image" FIN_BOX -CONNECTIONS:20 +CONNECTIONS:21 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -238,4 +238,7 @@ NumberOfControlPoints:0 CONNECTION Box28:Widget:Box15:Widget2 NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box19:Widget5 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs index d8f25e0..8d93cc7 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs @@ -1,5 +1,5 @@ # ---------------------------------- -# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) +# - BBTKGEditor v 1.3 BBS BlackBox Script (Complex Box) # - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs # ---------------------------------- @@ -41,10 +41,10 @@ new ExecSystemCommand Box12 set Box12.In "bbi creaMiniTools/appli/manualPaint.bbs &" new CommandButton Box13 - set Box13.Label "Show N-Points" + set Box13.Label "Extract Planes" new ExecSystemCommand Box14 - set Box14.In "bbi creaMiniTools/appli/showNPoints.bbs &" + set Box14.In "bbi creaMiniTools/appli/SaveImagePlanes.bbs &" new LayoutTab Box15 set Box15.WinTitle "Images Tools" @@ -95,6 +95,7 @@ connect Box18.Widget Box27.Widget2 connect Box27.Widget Box15.Widget1 connect Box19.Widget Box28.Widget2 connect Box28.Widget Box15.Widget2 +connect Box13.Widget Box19.Widget5 exec Box15 -- 2.47.1