From 66dceef998e558cc5c70086d6df15b429f69eae9 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Fri, 13 Apr 2012 17:50:04 +0000 Subject: [PATCH] no message --- .../bbs/appli/minitoolsMenu.bbg | 6 +- .../bbs/appli/minitoolsMenu.bbs | 6 +- .../bbs/boxes/imageToolsMenu.bbg | 58 ++++++---- .../bbs/boxes/imageToolsMenu.bbs | 16 ++- .../bbs/boxes/registrationMenu.bbg | 106 +++++++++++------- .../bbs/boxes/registrationMenu.bbs | 20 +++- 6 files changed, 137 insertions(+), 75 deletions(-) diff --git a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg index c744bbc..5a37656 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.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/minitoolsMenu.bbg +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg # ---------------------------------- APP_START @@ -21,11 +21,11 @@ ISEXEC:TRUE -35.286040:-48.757534:900.000000 22.273960:-58.757534:900.000000 PORT -WinHeight:300 +WinHeight:350 PORT WinTitle:"miniTools- creaTools" PORT -WinWidth:500 +WinWidth:700 FIN_BOX BOX creaMiniTools:maxiToolsMenu:Box05 diff --git a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs index 468c27c..3f9785c 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script -# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs # ---------------------------------- # BBTK GEditor Script @@ -18,9 +18,9 @@ category "application" new CommandMenu Box00 new LayoutTab Box01 - set Box01.WinHeight 300 + set Box01.WinHeight 350 set Box01.WinTitle "miniTools- creaTools" - set Box01.WinWidth 500 + set Box01.WinWidth 700 new maxiToolsMenu Box05 diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg index 15c2345..324670e 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg # ---------------------------------- APP_START @@ -14,9 +14,9 @@ COMPLEXINPUTS:0 COMPLEXOUTPUTS:1 COMPLEX_PORT widget -47.930599:-26.635381:900.000000 +55.184284:-40.716064:900.000000 FIN_COMPLEX_PORT -BOXES:19 +BOXES:21 BOX wx:CommandButton:Box00 ISEXEC:FALSE @@ -100,8 +100,8 @@ FIN_BOX BOX wx:LayoutTab:Box15 ISEXEC:TRUE -52.706369:4.304579:900.000000 -110.266369:-5.695421:900.000000 +52.706369:-16.176415:900.000000 +110.266369:-26.176415:900.000000 PORT WinTitle:"Images Tools" FIN_BOX @@ -110,28 +110,24 @@ wx:LayoutLine:Box18 ISEXEC:FALSE -17.477654:37.629512:900.000000 40.082346:27.629512:900.000000 -PORT -WinTitle:"Viewers" FIN_BOX BOX wx:LayoutLine:Box19 ISEXEC:FALSE 51.977910:36.626463:900.000000 109.537910:26.626463:900.000000 -PORT -WinTitle:"Modify image" FIN_BOX BOX creaMiniToolsBase:RegistrationMenu:Box20 ISEXEC:FALSE -113.257885:39.738184:900.000000 -158.832885:29.738184:900.000000 +115.391322:37.604747:900.000000 +160.966322:27.604747:900.000000 FIN_BOX BOX creaMiniToolsBase:RescaleSlopeInterceptMenu:Box21 ISEXEC:FALSE -167.064700:40.654213:900.000000 -238.239700:30.654213:900.000000 +167.491387:40.227526:900.000000 +238.666387:30.227526:900.000000 FIN_BOX BOX wx:CommandButton:Box22 @@ -165,7 +161,23 @@ ISEXEC:FALSE PORT In:"bbi creaMiniTools/appli/crop.bbs &" FIN_BOX -CONNECTIONS:18 +BOX +wx:LayoutCenter:Box27 +ISEXEC:FALSE +-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 +PORT +WinTitle:"Modify image" +FIN_BOX +CONNECTIONS:20 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -185,9 +197,6 @@ CONNECTION Box15:Widget:widget:widget NumberOfControlPoints:0 CONNECTION -Box18:Widget:Box15:Widget1 -NumberOfControlPoints:0 -CONNECTION Box02:Widget:Box18:Widget1 NumberOfControlPoints:0 CONNECTION @@ -200,9 +209,6 @@ CONNECTION Box00:Widget:Box19:Widget1 NumberOfControlPoints:0 CONNECTION -Box19:Widget:Box15:Widget2 -NumberOfControlPoints:0 -CONNECTION Box20:widget:Box15:Widget3 NumberOfControlPoints:0 CONNECTION @@ -220,4 +226,16 @@ NumberOfControlPoints:0 CONNECTION Box25:BoxChange:Box26:BoxExecute NumberOfControlPoints:0 +CONNECTION +Box18:Widget:Box27:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box27:Widget:Box15:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box19:Widget:Box28:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box28:Widget:Box15:Widget2 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs index cc5c38a..d8f25e0 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs # ---------------------------------- include std @@ -50,10 +50,8 @@ new LayoutTab Box15 set Box15.WinTitle "Images Tools" new LayoutLine Box18 - set Box18.WinTitle "Viewers" new LayoutLine Box19 - set Box19.WinTitle "Modify image" new RegistrationMenu Box20 @@ -71,24 +69,32 @@ new CommandButton Box25 new ExecSystemCommand Box26 set Box26.In "bbi creaMiniTools/appli/crop.bbs &" +new LayoutCenter Box27 + set Box27.WinTitle "Viewers" + +new LayoutCenter Box28 + set Box28.WinTitle "Modify image" + connect Box00.BoxChange Box04.BoxExecute connect Box02.BoxChange Box06.BoxExecute connect Box10.BoxChange Box09.BoxExecute connect Box11.BoxChange Box12.BoxExecute connect Box13.BoxChange Box14.BoxExecute -connect Box18.Widget Box15.Widget1 connect Box02.Widget Box18.Widget1 connect Box10.Widget Box18.Widget2 connect Box11.Widget Box19.Widget2 connect Box00.Widget Box19.Widget1 -connect Box19.Widget Box15.Widget2 connect Box20.widget Box15.Widget3 connect Box21.widget Box15.Widget4 connect Box22.Widget Box19.Widget3 connect Box22.BoxChange Box23.BoxExecute connect Box25.Widget Box19.Widget4 connect Box25.BoxChange Box26.BoxExecute +connect Box18.Widget Box27.Widget2 +connect Box27.Widget Box15.Widget1 +connect Box19.Widget Box28.Widget2 +connect Box28.Widget Box15.Widget2 exec Box15 diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg index 4e6890d..78f237b 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg @@ -14,90 +14,114 @@ COMPLEXINPUTS:0 COMPLEXOUTPUTS:1 COMPLEX_PORT widget -90.213291:-38.104531:900.000000 +67.533164:-133.930386:900.000000 FIN_COMPLEX_PORT -BOXES:10 +BOXES:13 BOX wx:CommandButton:Box00 ISEXEC:FALSE --141.345011:103.240481:900.000000 --95.770011:93.240481:900.000000 +67.158935:48.605990:900.000000 +112.733935:38.605990:900.000000 PORT Label:"Registration 2D" FIN_BOX BOX wx:CommandButton:Box01 ISEXEC:FALSE --146.555887:61.553473:900.000000 --100.980887:51.553473:900.000000 +89.748586:94.737430:900.000000 +135.323586:84.737430:900.000000 PORT Label:"Registration 3D 1 Point" FIN_BOX BOX wx:CommandButton:Box02 ISEXEC:FALSE --139.390933:17.912386:900.000000 --93.815933:7.912386:900.000000 +132.070232:7.097989:900.000000 +177.645232:-2.902011:900.000000 PORT Label:"Registration 3D 2 Points" FIN_BOX BOX wx:CommandButton:Box03 ISEXEC:FALSE --138.088214:-24.425981:900.000000 --92.513214:-34.425981:900.000000 +129.530473:-39.399761:900.000000 +175.105473:-49.399761:900.000000 PORT Label:"Registration 3D 3 Points" FIN_BOX BOX std:ExecSystemCommand:Box04 ISEXEC:FALSE --261.520839:78.488820:900.000000 --190.345839:68.488820:900.000000 +53.467283:29.649737:900.000000 +124.642283:19.649737:900.000000 PORT In:"bbi PackRecalage/appli/Recalage2D.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box05 ISEXEC:FALSE --258.915401:38.104531:900.000000 --187.740401:28.104531:900.000000 +79.844587:78.208909:900.000000 +151.019587:68.208909:900.000000 PORT In:"bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box06 ISEXEC:FALSE --259.566760:-16.609667:900.000000 --188.391760:-26.609667:900.000000 +141.394196:-10.704783:900.000000 +212.569196:-20.704783:900.000000 PORT In:"bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box07 ISEXEC:FALSE --261.520839:-53.737159:900.000000 --190.345839:-63.737159:900.000000 +140.941096:-70.925316:900.000000 +212.116096:-80.925316:900.000000 PORT In:"bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" FIN_BOX BOX wx:OutputText:Box08 ISEXEC:FALSE --142.322050:150.138364:900.000000 --96.747050:140.138364:900.000000 +-99.488984:-14.326823:900.000000 +-53.913984:-24.326823:900.000000 PORT In:"Select the Example" FIN_BOX BOX wx:LayoutLine:Box09 ISEXEC:FALSE -81.745617:17.912386:900.000000 -139.305617:7.912386:900.000000 +60.647244:-81.303168:900.000000 +118.207244:-91.303168:900.000000 PORT WinTitle:"Registration" FIN_BOX -CONNECTIONS:10 +BOX +wx:CommandButton:Box10 +ISEXEC:FALSE +11.113476:123.454712:900.000000 +56.688476:113.454712:900.000000 +PORT +Label:"Registration 3D" +FIN_BOX +BOX +std:ExecSystemCommand:Box11 +ISEXEC:FALSE +25.774312:107.180324:900.000000 +96.949312:97.180324:900.000000 +PORT +In:"bbi PackRecalage/appli/ExampleReSlice3D.bbs &" +FIN_BOX +BOX +wx:LayoutCenter:Box12 +ISEXEC:FALSE +61.664569:-106.781022:900.000000 +107.239569:-116.781022:900.000000 +PORT +WinTitle:"Registration" +FIN_BOX +CONNECTIONS:13 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -111,28 +135,30 @@ CONNECTION Box03:BoxChange:Box07:BoxExecute NumberOfControlPoints:0 CONNECTION -Box08:Widget:Box09:Widget1 -NumberOfControlPoints:1 -70.672508:113.662231:900.000000 +Box10:BoxChange:Box11:BoxExecute +NumberOfControlPoints:0 CONNECTION -Box01:Widget:Box09:Widget3 -NumberOfControlPoints:1 -80.442902:38.104530:900.000000 +Box03:Widget:Box09:Widget6 +NumberOfControlPoints:0 CONNECTION -Box02:Widget:Box09:Widget4 -NumberOfControlPoints:2 --40.709969:-6.187915:900.000000 -11.398791:62.856190:900.000000 +Box02:Widget:Box09:Widget5 +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box09:Widget1 +NumberOfControlPoints:0 CONNECTION Box00:Widget:Box09:Widget2 -NumberOfControlPoints:1 -79.791542:74.580666:900.000000 +NumberOfControlPoints:0 +CONNECTION +Box10:Widget:Box09:Widget3 +NumberOfControlPoints:0 CONNECTION -Box03:Widget:Box09:Widget5 -NumberOfControlPoints:2 --41.361328:-76.534744:900.000000 -12.701510:29.636858:900.000000 +Box01:Widget:Box09:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box09:Widget:Box12:Widget2 +NumberOfControlPoints:0 CONNECTION -Box09:Widget:widget:widget +Box12:Widget:widget:widget NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs index 4e389c3..f7bf07d 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs @@ -45,21 +45,33 @@ new OutputText Box08 new LayoutLine Box09 set Box09.WinTitle "Registration" +new CommandButton Box10 + set Box10.Label "Registration 3D" + +new ExecSystemCommand Box11 + set Box11.In "bbi PackRecalage/appli/ExampleReSlice3D.bbs &" + +new LayoutCenter Box12 + set Box12.WinTitle "Registration" + connect Box00.BoxChange Box04.BoxExecute connect Box01.BoxChange Box05.BoxExecute connect Box02.BoxChange Box06.BoxExecute connect Box03.BoxChange Box07.BoxExecute +connect Box10.BoxChange Box11.BoxExecute +connect Box03.Widget Box09.Widget6 +connect Box02.Widget Box09.Widget5 connect Box08.Widget Box09.Widget1 -connect Box01.Widget Box09.Widget3 -connect Box02.Widget Box09.Widget4 connect Box00.Widget Box09.Widget2 -connect Box03.Widget Box09.Widget5 +connect Box10.Widget Box09.Widget3 +connect Box01.Widget Box09.Widget4 +connect Box09.Widget Box12.Widget2 # Complex input ports # Complex output ports -output widget Box09.Widget " " +output widget Box12.Widget " " endefine -- 2.47.1