From 8b3130e98ea964b333287a86379b7f5c9a9462a1 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Sun, 8 May 2011 08:48:02 +0000 Subject: [PATCH] no message --- .../bbs/appli/manualPaint.bbg | 69 ++++++--- .../bbs/appli/manualPaint.bbs | 15 +- .../bbs/appli/minitoolsMenu.bbg | 47 +++--- .../bbs/appli/minitoolsMenu.bbs | 11 +- .../bbs/boxes/commandMenu.bbg | 98 ++++++++++-- .../bbs/boxes/commandMenu.bbs | 32 +++- .../bbs/boxes/helpMenu.bbg | 54 +++++++ .../bbs/boxes/helpMenu.bbs | 36 +++++ .../bbs/boxes/imageToolsMenu.bbg | 144 +++++++++++------- .../bbs/boxes/imageToolsMenu.bbs | 46 ++++-- .../bbs/boxes/maxiToolsMenu.bbg | 59 +------ .../bbs/boxes/maxiToolsMenu.bbs | 18 +-- .../bbs/boxes/recalageMenu.bbg | 138 +++++++++++++++++ .../bbs/boxes/recalageMenu.bbs | 65 ++++++++ .../bbs/boxes/rescaleSlopeInterceptMenu.bbg | 138 +++++++++++++++++ .../bbs/boxes/rescaleSlopeInterceptMenu.bbs | 65 ++++++++ 16 files changed, 826 insertions(+), 209 deletions(-) create mode 100644 bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbg create mode 100644 bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbs create mode 100644 bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbg create mode 100644 bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbs create mode 100644 bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg create mode 100644 bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs diff --git a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg index 93ac369..2e3945a 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbg @@ -8,30 +8,30 @@ CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE -BOXES:6 +BOXES:8 BOX creaImageIO:ImagesChooserDialogBox:Box09 ISEXEC:FALSE --60.471403:-14.114134:900.000000 -10.703597:-24.114134:900.000000 +-95.947460:-1.117955:900.000000 +-24.772460:-11.117955:900.000000 FIN_BOX BOX creaMaracasVisu:ViewerNV:Box10 ISEXEC:FALSE --30.752648:-37.386092:900.000000 -29.887352:-47.386092:900.000000 +-67.282449:-25.092409:900.000000 +-6.642449:-35.092409:900.000000 FIN_BOX BOX creaMaracasVisu:ManualPaint:Box11 ISEXEC:FALSE --58.492744:-66.079291:900.000000 --12.917744:-76.079291:900.000000 +-47.604053:-59.756825:900.000000 +-2.029053:-69.756825:900.000000 FIN_BOX BOX wx:LayoutSplit:Box12 ISEXEC:TRUE --41.196174:-128.650860:900.000000 -4.378826:-138.650860:900.000000 +-46.464895:-153.238226:900.000000 +-0.889895:-163.238226:900.000000 PORT Orientation:H PORT @@ -40,24 +40,39 @@ FIN_BOX BOX wx:LayoutSplit:Box14 ISEXEC:FALSE --81.482173:-102.789327:900.000000 --35.907173:-112.789327:900.000000 +-64.622265:-123.864212:900.000000 +-19.047265:-133.864212:900.000000 PORT Proportion:90 FIN_BOX BOX creaMiniToolsBase:SaveMHD-Button:Box15 ISEXEC:FALSE --77.409674:-79.073240:900.000000 --31.834674:-89.073240:900.000000 +-42.636113:-101.904366:900.000000 +2.938887:-111.904366:900.000000 FIN_BOX -CONNECTIONS:10 +BOX +wx:LayoutSplit:Box06 +ISEXEC:FALSE +-97.926074:-101.662010:900.000000 +-52.351074:-111.662010:900.000000 +PORT +Orientation:H +FIN_BOX +BOX +creaMaracasVisu:CutModule2:Box07 +ISEXEC:FALSE +-110.571005:-60.917232:900.000000 +-64.996005:-70.917232:900.000000 +FIN_BOX +CONNECTIONS:16 CONNECTION Box09:Out:Box10:In NumberOfControlPoints:0 CONNECTION Box10:Widget:Box12:Widget2 -NumberOfControlPoints:0 +NumberOfControlPoints:1 +25.713255:-80.235878:900.000000 CONNECTION Box09:Out:Box11:In NumberOfControlPoints:0 @@ -71,9 +86,6 @@ CONNECTION Box10:wxVtkBaseView4:Box11:WxVtkBaseView3 NumberOfControlPoints:0 CONNECTION -Box11:Widget:Box14:Widget1 -NumberOfControlPoints:0 -CONNECTION Box15:Widget:Box14:Widget2 NumberOfControlPoints:0 CONNECTION @@ -82,4 +94,25 @@ NumberOfControlPoints:0 CONNECTION Box09:Out:Box15:In NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box06:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box07:Widget:Box06:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box06:Widget:Box14:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box10:BoxChange:Box07:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box10:Interactor1:Box07:Interactor +NumberOfControlPoints:0 +CONNECTION +Box09:Out:Box07:In +NumberOfControlPoints:0 +CONNECTION +Box10:Renderer1:Box07:Renderer +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs index 8bb7b37..d923efb 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/manualPaint.bbs @@ -11,7 +11,7 @@ include itkvtk include creaImageIO include creaMaracasVisu include wx -include creaMiniTools +include creaMiniToolsBase author "Author ??" description "Description ??" @@ -32,6 +32,11 @@ new LayoutSplit Box14 new SaveMHD-Button Box15 +new LayoutSplit Box06 + set Box06.Orientation H + +new CutModule2 Box07 + connect Box09.Out Box10.In connect Box10.Widget Box12.Widget2 @@ -39,9 +44,15 @@ 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 +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 exec Box12 diff --git a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg index c1d633d..2f5312e 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg @@ -8,57 +8,48 @@ CATEGORY:application DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE -BOXES:6 +BOXES:5 BOX creaMiniTools:CommandMenu:Box00 ISEXEC:FALSE -24.108375:106.152831:900.000000 -69.683375:96.152831:900.000000 +-8.562797:-6.936835:900.000000 +37.012203:-16.936835:900.000000 FIN_BOX BOX wx:LayoutTab:Box01 ISEXEC:TRUE --43.188535:71.442362:900.000000 -14.371465:61.442362:900.000000 +-35.286040:-48.757534:900.000000 +22.273960:-58.757534:900.000000 FIN_BOX BOX -creaMiniTools:RecalageMenu:Box03 -ISEXEC:FALSE -10.750429:159.991675:900.000000 -56.325429:149.991675:900.000000 -FIN_BOX -BOX -creaMiniTools:RescaleSlopeInterceptMenu:Box04 +creaMiniTools:maxiToolsMenu:Box05 ISEXEC:FALSE -70.998185:145.578848:900.000000 -142.173185:135.578848:900.000000 +-27.457678:19.904499:900.000000 +18.117322:9.904499:900.000000 FIN_BOX BOX -creaMiniTools:maxiToolsMenu:Box05 +creaMiniTools:ImageToolsMenu:Box06 ISEXEC:FALSE --111.880414:109.608731:900.000000 --66.305414:99.608731:900.000000 +-18.208299:6.810174:900.000000 +27.366701:-3.189826:900.000000 FIN_BOX BOX -creaMiniTools:ImageToolsMenu:Box06 +creaMiniTools:helpMenu:Box04 ISEXEC:FALSE --45.844711:192.279476:900.000000 --0.269711:182.279476:900.000000 +-1.608260:-20.793421:900.000000 +43.966740:-30.793421:900.000000 FIN_BOX -CONNECTIONS:5 +CONNECTIONS:4 CONNECTION -Box03:widget:Box01:Widget3 -NumberOfControlPoints:0 -CONNECTION -Box00:CommandMenu:Box01:Widget5 +Box05:widget:Box01:Widget1 NumberOfControlPoints:0 CONNECTION -Box04:widget:Box01:Widget4 +Box06:widget:Box01:Widget2 NumberOfControlPoints:0 CONNECTION -Box05:widget:Box01:Widget1 +Box00:CommandMenu:Box01:Widget3 NumberOfControlPoints:0 CONNECTION -Box06:widget:Box01:Widget2 +Box04:widget:Box01:Widget4 NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs index 4cfd4b0..5ebfc78 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs @@ -19,19 +19,16 @@ new CommandMenu Box00 new LayoutTab Box01 -new RecalageMenu Box03 - -new RescaleSlopeInterceptMenu Box04 - new maxiToolsMenu Box05 new ImageToolsMenu Box06 +new helpMenu Box04 + -connect Box03.widget Box01.Widget3 -connect Box00.CommandMenu Box01.Widget5 -connect Box04.widget Box01.Widget4 connect Box05.widget Box01.Widget1 connect Box06.widget Box01.Widget2 +connect Box00.CommandMenu Box01.Widget3 +connect Box04.widget Box01.Widget4 exec Box01 diff --git a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg index 0fff32a..c42bdf5 100755 --- a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/commandMenu.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg # ---------------------------------- APP_START @@ -14,9 +14,9 @@ COMPLEXINPUTS:0 COMPLEXOUTPUTS:1 COMPLEX_PORT CommandMenu -67.913929:23.869408:900.000000 +32.939583:-66.819495:900.000000 FIN_COMPLEX_PORT -BOXES:9 +BOXES:15 BOX wx:CommandButton:Box00 ISEXEC:FALSE @@ -44,16 +44,16 @@ FIN_BOX BOX wx:CommandButton:Box03 ISEXEC:FALSE -133.251910:78.026585:900.000000 -178.826910:68.026585:900.000000 +63.720614:69.629803:900.000000 +109.295614:59.629803:900.000000 PORT Label:"Create New Project" FIN_BOX BOX std:ExecSystemCommand:Box04 ISEXEC:FALSE -134.677109:57.320956:900.000000 -205.852109:47.320956:900.000000 +77.202184:51.862692:900.000000 +148.377184:41.862692:900.000000 PORT In:"creaNewProject &" FIN_BOX @@ -84,12 +84,60 @@ FIN_BOX BOX wx:LayoutLine:Box09 ISEXEC:FALSE -64.817379:49.056828:900.000000 -122.377379:39.056828:900.000000 +-16.447015:-23.784242:900.000000 +41.112985:-33.784242:900.000000 PORT -WinTitle:DevelTools +WinTitle:"bbg/bbs" FIN_BOX -CONNECTIONS:9 +BOX +wx:LayoutTab:Box10 +ISEXEC:FALSE +39.204980:-47.382374:900.000000 +96.764980:-57.382374:900.000000 +PORT +WinTitle:"DevelTools" +FIN_BOX +BOX +wx:LayoutLine:Box11 +ISEXEC:FALSE +59.261761:-22.767198:900.000000 +116.821761:-32.767198:900.000000 +PORT +WinTitle:"C++" +FIN_BOX +BOX +wx:CommandButton:Box12 +ISEXEC:FALSE +84.581135:36.578291:900.000000 +130.156135:26.578291:900.000000 +PORT +Label:"Create Package BBTK" +FIN_BOX +BOX +wx:CommandButton:Box13 +ISEXEC:FALSE +98.157604:5.361786:900.000000 +143.732604:-4.638214:900.000000 +PORT +Label:"Create Box BBTK" +FIN_BOX +BOX +std:ExecSystemCommand:Box14 +ISEXEC:FALSE +110.596101:22.306637:900.000000 +181.771101:12.306637:900.000000 +PORT +In:"bbi toolsbbtk/appli/GUICreatePackage.bbs &" +FIN_BOX +BOX +std:ExecSystemCommand:Box15 +ISEXEC:FALSE +137.904982:-10.613657:900.000000 +209.079982:-20.613657:900.000000 +PORT +In:"bbi toolsbbtk/appli/GUICreateBlackBox.bbs &" +FIN_BOX +CONNECTIONS:15 CONNECTION Box01:BoxChange:Box05:BoxExecute NumberOfControlPoints:0 @@ -103,18 +151,36 @@ CONNECTION Box01:Widget:Box09:Widget3 NumberOfControlPoints:0 CONNECTION -Box03:Widget:Box09:Widget4 +Box00:BoxChange:Box07:BoxExecute NumberOfControlPoints:0 CONNECTION -Box09:Widget:CommandMenu:CommandMenu +Box00:Widget:Box09:Widget1 NumberOfControlPoints:0 CONNECTION -Box00:BoxChange:Box07:BoxExecute +Box02:Widget:Box09:Widget2 NumberOfControlPoints:0 CONNECTION -Box00:Widget:Box09:Widget1 +Box09:Widget:Box10:Widget1 NumberOfControlPoints:0 CONNECTION -Box02:Widget:Box09:Widget2 +Box11:Widget:Box10:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box10:Widget:CommandMenu:CommandMenu +NumberOfControlPoints:0 +CONNECTION +Box03:Widget:Box11:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box12:Widget:Box11:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box11:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box12:BoxChange:Box14:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box13:BoxChange:Box15:BoxExecute NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs index d552ae3..df5545a 100755 --- a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.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/commandMenu.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs # ---------------------------------- include std @@ -40,22 +40,46 @@ new ExecSystemCommand Box07 set Box07.In "bbEditor &" new LayoutLine Box09 - set Box09.WinTitle DevelTools + set Box09.WinTitle "bbg/bbs" + +new LayoutTab Box10 + set Box10.WinTitle "DevelTools" + +new LayoutLine Box11 + set Box11.WinTitle "C++" + +new CommandButton Box12 + set Box12.Label "Create Package BBTK" + +new CommandButton Box13 + set Box13.Label "Create Box BBTK" + +new ExecSystemCommand Box14 + set Box14.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &" + +new ExecSystemCommand Box15 + set Box15.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &" connect Box01.BoxChange Box05.BoxExecute connect Box03.BoxChange Box04.BoxExecute connect Box02.BoxChange Box06.BoxExecute connect Box01.Widget Box09.Widget3 -connect Box03.Widget Box09.Widget4 connect Box00.BoxChange Box07.BoxExecute connect Box00.Widget Box09.Widget1 connect Box02.Widget Box09.Widget2 +connect Box09.Widget Box10.Widget1 +connect Box11.Widget Box10.Widget2 +connect Box03.Widget Box11.Widget1 +connect Box12.Widget Box11.Widget2 +connect Box13.Widget Box11.Widget3 +connect Box12.BoxChange Box14.BoxExecute +connect Box13.BoxChange Box15.BoxExecute # Complex input ports # Complex output ports -output CommandMenu Box09.Widget " " +output CommandMenu Box10.Widget " " endefine diff --git a/bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbg new file mode 100644 index 0000000..f42f424 --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbg @@ -0,0 +1,54 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBG BlackBox Diagram file +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:TRUE +COMPLEXBOXNAME:helpMenu +PACKAGENAME:creaMiniTools +COMPLEXINPUTS:0 +COMPLEXOUTPUTS:1 +COMPLEX_PORT +widget +-51.964761:24.988519:900.000000 +FIN_COMPLEX_PORT +BOXES:3 +BOX +wx:LayoutLine:Box01 +ISEXEC:FALSE +-55.015871:52.169510:900.000000 +2.544129:42.169510:900.000000 +PORT +WinTitle:"Help" +FIN_BOX +BOX +wx:LaunchBrowser:Box02 +ISEXEC:FALSE +-41.013084:77.943418:900.000000 +4.561916:67.943418:900.000000 +PORT +In:"http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDocumentation" +FIN_BOX +BOX +wx:CommandButton:Box03 +ISEXEC:FALSE +-51.405540:98.357171:900.000000 +-5.830540:88.357171:900.000000 +PORT +Label:"www.creatis.insta-lyon.fr/site/creatools -> Documentation -> Getting started" +FIN_BOX +CONNECTIONS:3 +CONNECTION +Box01:Widget:widget:widget +NumberOfControlPoints:0 +CONNECTION +Box03:BoxChange:Box02:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box03:Widget:Box01:Widget1 +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbs new file mode 100644 index 0000000..c650455 --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbs @@ -0,0 +1,36 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/helpMenu.bbs +# ---------------------------------- + +include std +include itkvtk +include wx + +define helpMenu creaMiniTools + +author "Author ??" +description "Description ??" + +category "" + +new LayoutLine Box01 + set Box01.WinTitle "Help" + +new LaunchBrowser Box02 + set Box02.In "http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDocumentation" + +new CommandButton Box03 + set Box03.Label "www.creatis.insta-lyon.fr/site/creatools -> Documentation -> Getting started" + + +connect Box03.BoxChange Box02.BoxExecute +connect Box03.Widget Box01.Widget1 + + +# Complex input ports + +# Complex output ports +output widget Box01.Widget " " + +endefine diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg index bfd89c8..26aee03 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg @@ -14,14 +14,14 @@ COMPLEXINPUTS:0 COMPLEXOUTPUTS:1 COMPLEX_PORT widget -62.043395:-21.239312:900.000000 +47.930599:-26.635381:900.000000 FIN_COMPLEX_PORT -BOXES:10 +BOXES:15 BOX wx:CommandButton:Box00 ISEXEC:FALSE --92.918799:171.862201:900.000000 --47.343799:161.862201:900.000000 +-9.457722:184.872366:900.000000 +36.117278:174.872366:900.000000 PORT Label:"Image Writer" FIN_BOX @@ -34,70 +34,106 @@ PORT Label:"Viewer NV" FIN_BOX BOX -wx:LayoutLine:Box03 -ISEXEC:TRUE -59.564768:15.477448:900.000000 -117.124768:5.477448:900.000000 -PORT -WinTitle:"Images tools" -FIN_BOX -BOX std:ExecSystemCommand:Box04 ISEXEC:FALSE --180.989407:140.002985:900.000000 --109.814407:130.002985:900.000000 +-101.608343:151.044628:900.000000 +-30.433343:141.044628:900.000000 PORT In:"bbi creaMiniTools/appli/imageWriterExample.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box06 ISEXEC:FALSE --174.256420:105.662706:900.000000 --103.081420:95.662706:900.000000 +-123.430867:108.026685:900.000000 +-52.255867:98.026685:900.000000 PORT In:"bbi creaMiniTools/appli/viewerNVExample.bbs &" FIN_BOX BOX -wx:OutputText:Box07 -ISEXEC:FALSE --97.507368:205.384187:900.000000 --51.932368:195.384187:900.000000 -PORT -In:"Select the Example" -FIN_BOX -BOX std:ExecSystemCommand:Box09 ISEXEC:FALSE --156.178175:62.214026:900.000000 --85.003175:52.214026: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 --71.123251:92.996814:900.000000 --25.548251:82.996814:900.000000 +-77.033199:90.041840:900.000000 +-31.458199:80.041840:900.000000 PORT Label:"Syncrhonize 2 Images" FIN_BOX BOX wx:CommandButton:Box11 ISEXEC:FALSE --62.280321:47.424565:900.000000 --16.705321:37.424565:900.000000 +48.720073:185.294102:900.000000 +94.295073:175.294102:900.000000 PORT Label:"Manual paint" FIN_BOX BOX std:ExecSystemCommand:Box12 ISEXEC:FALSE --132.548814:23.296227:900.000000 --61.373814:13.296227:900.000000 +59.059009:168.653886:900.000000 +130.234009:158.653886:900.000000 PORT In:"bbi creaMiniTools/appli/manualPaint.bbs &" FIN_BOX -CONNECTIONS:10 +BOX +wx:CommandButton:Box13 +ISEXEC:FALSE +88.422707:142.507338:900.000000 +133.997707:132.507338:900.000000 +PORT +Label:"Show N-Points" +FIN_BOX +BOX +std:ExecSystemCommand:Box14 +ISEXEC:FALSE +99.012046:116.194904:900.000000 +170.187046:106.194904:900.000000 +PORT +In:"bbi creaMiniTools/appli/showNPoints.bbs &" +FIN_BOX +BOX +wx:LayoutTab:Box15 +ISEXEC:TRUE +52.706369:4.304579:900.000000 +110.266369:-5.695421: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 +PORT +WinTitle:"Viewers" +FIN_BOX +BOX +wx:LayoutLine:Box19 +ISEXEC:FALSE +50.842068:40.033988:900.000000 +108.402068:30.033988:900.000000 +PORT +WinTitle:"Modify image" +FIN_BOX +BOX +creaMiniToolsBase:RecalageMenu:Box20 +ISEXEC:FALSE +113.257885:39.738184:900.000000 +158.832885:29.738184:900.000000 +FIN_BOX +BOX +creaMiniToolsBase:RescaleSlopeInterceptMenu:Box21 +ISEXEC:FALSE +167.064700:40.654213:900.000000 +238.239700:30.654213:900.000000 +FIN_BOX +CONNECTIONS:14 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -105,33 +141,39 @@ CONNECTION Box02:BoxChange:Box06:BoxExecute NumberOfControlPoints:0 CONNECTION -Box07:Widget:Box03:Widget1 -NumberOfControlPoints:1 -10.657051:177.625870:900.000000 +Box10:BoxChange:Box09:BoxExecute +NumberOfControlPoints:0 CONNECTION -Box00:Widget:Box03:Widget2 -NumberOfControlPoints:1 -34.281284:140.932907:900.000000 +Box11:BoxChange:Box12:BoxExecute +NumberOfControlPoints:0 CONNECTION -Box02:Widget:Box03:Widget4 -NumberOfControlPoints:2 --28.237335:101.425415:900.000000 -65.445160:121.832466:900.000000 +Box13:BoxChange:Box14:BoxExecute +NumberOfControlPoints:0 CONNECTION -Box10:BoxChange:Box09:BoxExecute +Box15:Widget:widget:widget +NumberOfControlPoints:0 +CONNECTION +Box18:Widget:Box15:Widget1 NumberOfControlPoints:0 CONNECTION -Box10:Widget:Box03:Widget5 -NumberOfControlPoints:2 --38.332035:57.681705:900.000000 -42.425575:84.600914:900.000000 +Box02:Widget:Box18:Widget1 +NumberOfControlPoints:0 CONNECTION -Box03:Widget:widget:widget +Box10:Widget:Box18:Widget2 NumberOfControlPoints:0 CONNECTION -Box11:BoxChange:Box12:BoxExecute +Box11:Widget:Box19:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box00:Widget:Box19:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box19:Widget:Box15:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box20:widget:Box15:Widget3 NumberOfControlPoints:0 CONNECTION -Box11:Widget:Box03:Widget3 +Box21:widget:Box15:Widget4 NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs index 13148a4..5017ae3 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs @@ -7,6 +7,7 @@ include std include itkvtk include wx include std +include creaMiniToolsBase define ImageToolsMenu creaMiniTools @@ -21,18 +22,12 @@ new CommandButton Box00 new CommandButton Box02 set Box02.Label "Viewer NV" -new LayoutLine Box03 - set Box03.WinTitle "Images tools" - new ExecSystemCommand Box04 set Box04.In "bbi creaMiniTools/appli/imageWriterExample.bbs &" new ExecSystemCommand Box06 set Box06.In "bbi creaMiniTools/appli/viewerNVExample.bbs &" -new OutputText Box07 - set Box07.In "Select the Example" - new ExecSystemCommand Box09 set Box09.In "bbi creaMiniTools/appli/synchro2ImageExample.bbs &" @@ -45,22 +40,45 @@ new CommandButton Box11 new ExecSystemCommand Box12 set Box12.In "bbi creaMiniTools/appli/manualPaint.bbs &" +new CommandButton Box13 + set Box13.Label "Show N-Points" + +new ExecSystemCommand Box14 + set Box14.In "bbi creaMiniTools/appli/showNPoints.bbs &" + +new LayoutTab Box15 + set Box15.WinTitle "Images Tools" + +new LayoutLine Box18 + set Box18.WinTitle "Viewers" + +new LayoutLine Box19 + set Box19.WinTitle "Modify image" + +new RecalageMenu Box20 + +new RescaleSlopeInterceptMenu Box21 + connect Box00.BoxChange Box04.BoxExecute connect Box02.BoxChange Box06.BoxExecute -connect Box07.Widget Box03.Widget1 -connect Box00.Widget Box03.Widget2 -connect Box02.Widget Box03.Widget4 connect Box10.BoxChange Box09.BoxExecute -connect Box10.Widget Box03.Widget5 connect Box11.BoxChange Box12.BoxExecute -connect Box11.Widget Box03.Widget3 - -exec Box03 +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 + +exec Box15 # Complex input ports # Complex output ports -output widget Box03.Widget " " +output widget Box15.Widget " " endefine diff --git a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg index 7ce4037..6271ce0 100755 --- a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/maxiToolsMenu.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg # ---------------------------------- APP_START @@ -16,7 +16,7 @@ COMPLEX_PORT widget 7.901360:-4.634448:900.000000 FIN_COMPLEX_PORT -BOXES:10 +BOXES:6 BOX wx:CommandButton:Box00 ISEXEC:FALSE @@ -36,52 +36,20 @@ FIN_BOX BOX std:ExecSystemCommand:Box04 ISEXEC:FALSE --180.989407:140.002985:900.000000 --109.814407:130.002985:900.000000 +-103.459042:153.595971:900.000000 +-32.284042:143.595971:900.000000 PORT In:"creaContourApp &" FIN_BOX BOX wx:OutputText:Box07 ISEXEC:FALSE --63.432115:219.582209:900.000000 --17.857115:209.582209:900.000000 +-16.108386:221.092541:900.000000 +29.466614:211.092541:900.000000 PORT In:"Select the Example" FIN_BOX BOX -wx:CommandButton:Box06 -ISEXEC:FALSE --70.422190:115.855861:900.000000 --24.847190:105.855861:900.000000 -PORT -Label:"Manual paint" -FIN_BOX -BOX -std:ExecSystemCommand:Box08 -ISEXEC:FALSE --100.086835:77.275025:900.000000 --28.911835:67.275025:900.000000 -PORT -In:"bbi creaMiniTools/appli/manualPaint.bbs &" -FIN_BOX -BOX -wx:CommandButton:Box09 -ISEXEC:FALSE -61.938730:162.864153:900.000000 -107.513730:152.864153:900.000000 -PORT -Label:"Show N-Points" -FIN_BOX -BOX -std:ExecSystemCommand:Box10 -ISEXEC:FALSE -78.590427:137.343813:900.000000 -149.765427:127.343813:900.000000 -PORT -In:"bbi creaMiniTools/appli/showNPoints.bbs &" -FIN_BOX -BOX wx:CommandButton:Box11 ISEXEC:FALSE 70.686249:87.734655:900.000000 @@ -97,7 +65,7 @@ ISEXEC:FALSE PORT In:"bbi creaMiniTools/appli/ImageTool.bbs &" FIN_BOX -CONNECTIONS:10 +CONNECTIONS:6 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -113,19 +81,6 @@ CONNECTION Box03:Widget:widget:widget NumberOfControlPoints:0 CONNECTION -Box06:BoxChange:Box08:BoxExecute -NumberOfControlPoints:0 -CONNECTION -Box06:Widget:Box03:Widget3 -NumberOfControlPoints:1 -22.046547:94.833649:900.000000 -CONNECTION -Box09:Widget:Box03:Widget4 -NumberOfControlPoints:0 -CONNECTION -Box09:BoxChange:Box10:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box11:BoxChange:Box12:BoxExecute NumberOfControlPoints:0 CONNECTION diff --git a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs index 087671d..9e10874 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.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/maxiToolsMenu.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs # ---------------------------------- include std @@ -27,18 +27,6 @@ new ExecSystemCommand Box04 new OutputText Box07 set Box07.In "Select the Example" -new CommandButton Box06 - set Box06.Label "Manual paint" - -new ExecSystemCommand Box08 - set Box08.In "bbi creaMiniTools/appli/manualPaint.bbs &" - -new CommandButton Box09 - set Box09.Label "Show N-Points" - -new ExecSystemCommand Box10 - set Box10.In "bbi creaMiniTools/appli/showNPoints.bbs &" - new CommandButton Box11 set Box11.Label "Image Tool" @@ -49,10 +37,6 @@ new ExecSystemCommand Box12 connect Box00.BoxChange Box04.BoxExecute connect Box07.Widget Box03.Widget1 connect Box00.Widget Box03.Widget2 -connect Box06.BoxChange Box08.BoxExecute -connect Box06.Widget Box03.Widget3 -connect Box09.Widget Box03.Widget4 -connect Box09.BoxChange Box10.BoxExecute connect Box11.BoxChange Box12.BoxExecute connect Box11.Widget Box03.Widget5 diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbg b/bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbg new file mode 100644 index 0000000..79bb67c --- /dev/null +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbg @@ -0,0 +1,138 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBG BlackBox Diagram file +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:TRUE +COMPLEXBOXNAME:RecalageMenu +PACKAGENAME:creaMiniToolsBase +COMPLEXINPUTS:0 +COMPLEXOUTPUTS:1 +COMPLEX_PORT +widget +90.213291:-38.104531:900.000000 +FIN_COMPLEX_PORT +BOXES:10 +BOX +wx:CommandButton:Box00 +ISEXEC:FALSE +-141.345011:103.240481:900.000000 +-95.770011:93.240481:900.000000 +PORT +Label:"Recalage 2D" +FIN_BOX +BOX +wx:CommandButton:Box01 +ISEXEC:FALSE +-146.555887:61.553473:900.000000 +-100.980887:51.553473:900.000000 +PORT +Label:"Recalage 3D 1 Point" +FIN_BOX +BOX +wx:CommandButton:Box02 +ISEXEC:FALSE +-139.390933:17.912386:900.000000 +-93.815933:7.912386:900.000000 +PORT +Label:"Recalage 3D 2 Points" +FIN_BOX +BOX +wx:CommandButton:Box03 +ISEXEC:FALSE +-138.088214:-24.425981:900.000000 +-92.513214:-34.425981:900.000000 +PORT +Label:"Recalage 3D 3 Points" +FIN_BOX +BOX +std:ExecSystemCommand:Box04 +ISEXEC:FALSE +-261.520839:78.488820:900.000000 +-190.345839:68.488820:900.000000 +PORT +In:"bbi creaMiniTools/appli/recalage2DExample.bbs &" +FIN_BOX +BOX +std:ExecSystemCommand:Box05 +ISEXEC:FALSE +-258.915401:38.104531:900.000000 +-187.740401:28.104531:900.000000 +PORT +In:"bbi creaMiniTools/appli/recalage3D1PointExample.bbs &" +FIN_BOX +BOX +std:ExecSystemCommand:Box06 +ISEXEC:FALSE +-259.566760:-16.609667:900.000000 +-188.391760:-26.609667:900.000000 +PORT +In:"bbi creaMiniTools/appli/recalage3D2PointsExample.bbs &" +FIN_BOX +BOX +std:ExecSystemCommand:Box07 +ISEXEC:FALSE +-261.520839:-53.737159:900.000000 +-190.345839:-63.737159:900.000000 +PORT +In:"bbi /usr/local/share/bbtk/bbs/creaMiniTools/examples/bbs/recalage/recalage3D3PointsExample.bbs &" +FIN_BOX +BOX +wx:OutputText:Box08 +ISEXEC:FALSE +-142.322050:150.138364:900.000000 +-96.747050:140.138364: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 +PORT +WinTitle:"Recalage" +FIN_BOX +CONNECTIONS:10 +CONNECTION +Box00:BoxChange:Box04:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box01:BoxChange:Box05:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box02:BoxChange:Box06:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box03:BoxChange:Box07:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box09:Widget1 +NumberOfControlPoints:1 +70.672508:113.662231:900.000000 +CONNECTION +Box01:Widget:Box09:Widget3 +NumberOfControlPoints:1 +80.442902:38.104530:900.000000 +CONNECTION +Box02:Widget:Box09:Widget4 +NumberOfControlPoints:2 +-40.709969:-6.187915:900.000000 +11.398791:62.856190:900.000000 +CONNECTION +Box00:Widget:Box09:Widget2 +NumberOfControlPoints:1 +79.791542:74.580666:900.000000 +CONNECTION +Box03:Widget:Box09:Widget5 +NumberOfControlPoints:2 +-41.361328:-76.534744:900.000000 +12.701510:29.636858:900.000000 +CONNECTION +Box09:Widget:widget:widget +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbs b/bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbs new file mode 100644 index 0000000..7f0fd82 --- /dev/null +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbs @@ -0,0 +1,65 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/recalageMenu.bbs +# ---------------------------------- + +include std +include itkvtk +include wx +include std + +define RecalageMenu creaMiniToolsBase + +author "Author ??" +description "Description ??" + +category "" + +new CommandButton Box00 + set Box00.Label "Recalage 2D" + +new CommandButton Box01 + set Box01.Label "Recalage 3D 1 Point" + +new CommandButton Box02 + set Box02.Label "Recalage 3D 2 Points" + +new CommandButton Box03 + set Box03.Label "Recalage 3D 3 Points" + +new ExecSystemCommand Box04 + set Box04.In "bbi creaMiniTools/appli/recalage2DExample.bbs &" + +new ExecSystemCommand Box05 + set Box05.In "bbi creaMiniTools/appli/recalage3D1PointExample.bbs &" + +new ExecSystemCommand Box06 + set Box06.In "bbi creaMiniTools/appli/recalage3D2PointsExample.bbs &" + +new ExecSystemCommand Box07 + set Box07.In "bbi /usr/local/share/bbtk/bbs/creaMiniTools/examples/bbs/recalage/recalage3D3PointsExample.bbs &" + +new OutputText Box08 + set Box08.In "Select the Example" + +new LayoutLine Box09 + set Box09.WinTitle "Recalage" + + +connect Box00.BoxChange Box04.BoxExecute +connect Box01.BoxChange Box05.BoxExecute +connect Box02.BoxChange Box06.BoxExecute +connect Box03.BoxChange Box07.BoxExecute +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 + + +# Complex input ports + +# Complex output ports +output widget Box09.Widget " " + +endefine diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg b/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg new file mode 100644 index 0000000..64bf14c --- /dev/null +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg @@ -0,0 +1,138 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBG BlackBox Diagram file +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:TRUE +COMPLEXBOXNAME:RescaleSlopeInterceptMenu +PACKAGENAME:creaMiniToolsBase +COMPLEXINPUTS:0 +COMPLEXOUTPUTS:1 +COMPLEX_PORT +widget +90.213291:-38.104531:900.000000 +FIN_COMPLEX_PORT +BOXES:10 +BOX +wx:CommandButton:Box00 +ISEXEC:FALSE +1.000616:117.698250:900.000000 +46.575616:107.698250:900.000000 +PORT +Label:"rescaleSlopeIntercept0" +FIN_BOX +BOX +wx:CommandButton:Box01 +ISEXEC:FALSE +5.222803:83.381495:900.000000 +50.797803:73.381495:900.000000 +PORT +Label:"rescaleSlopeIntercept1" +FIN_BOX +BOX +wx:CommandButton:Box02 +ISEXEC:FALSE +-37.268388:44.993065:900.000000 +8.306612:34.993065:900.000000 +PORT +Label:"rescaleSlopeIntercept2" +FIN_BOX +BOX +wx:CommandButton:Box03 +ISEXEC:FALSE +-62.182971:-8.752147:900.000000 +-16.607971:-18.752147:900.000000 +PORT +Label:"rescaleSlopeIntercept3" +FIN_BOX +BOX +std:ExecSystemCommand:Box04 +ISEXEC:FALSE +-45.856617:99.766432:900.000000 +25.318383:89.766432:900.000000 +PORT +In:"bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &" +FIN_BOX +BOX +std:ExecSystemCommand:Box05 +ISEXEC:FALSE +-19.528212:67.822876:900.000000 +51.646788:57.822876:900.000000 +PORT +In:"bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &" +FIN_BOX +BOX +std:ExecSystemCommand:Box06 +ISEXEC:FALSE +-48.940007:30.394163:900.000000 +22.234993:20.394163:900.000000 +PORT +In:"bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &" +FIN_BOX +BOX +std:ExecSystemCommand:Box07 +ISEXEC:FALSE +-98.712820:-30.930262:900.000000 +-27.537820:-40.930262:900.000000 +PORT +In:"bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &" +FIN_BOX +BOX +wx:OutputText:Box08 +ISEXEC:FALSE +8.176985:151.274206:900.000000 +53.751985:141.274206: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 +PORT +WinTitle:"RescaleSlopeIntercept" +FIN_BOX +CONNECTIONS:10 +CONNECTION +Box00:BoxChange:Box04:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box01:BoxChange:Box05:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box02:BoxChange:Box06:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box03:BoxChange:Box07:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box09:Widget1 +NumberOfControlPoints:1 +70.672508:113.662231:900.000000 +CONNECTION +Box01:Widget:Box09:Widget3 +NumberOfControlPoints:1 +80.442902:38.104530:900.000000 +CONNECTION +Box02:Widget:Box09:Widget4 +NumberOfControlPoints:2 +-40.709969:-6.187915:900.000000 +11.398791:62.856190:900.000000 +CONNECTION +Box00:Widget:Box09:Widget2 +NumberOfControlPoints:1 +79.791542:74.580666:900.000000 +CONNECTION +Box03:Widget:Box09:Widget5 +NumberOfControlPoints:2 +-41.361328:-76.534744:900.000000 +12.701510:29.636858:900.000000 +CONNECTION +Box09:Widget:widget:widget +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs b/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs new file mode 100644 index 0000000..57d7b82 --- /dev/null +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs @@ -0,0 +1,65 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs +# ---------------------------------- + +include std +include itkvtk +include wx +include std + +define RescaleSlopeInterceptMenu creaMiniToolsBase + +author "Author ??" +description "Description ??" + +category "" + +new CommandButton Box00 + set Box00.Label "rescaleSlopeIntercept0" + +new CommandButton Box01 + set Box01.Label "rescaleSlopeIntercept1" + +new CommandButton Box02 + set Box02.Label "rescaleSlopeIntercept2" + +new CommandButton Box03 + set Box03.Label "rescaleSlopeIntercept3" + +new ExecSystemCommand Box04 + set Box04.In "bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &" + +new ExecSystemCommand Box05 + set Box05.In "bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &" + +new ExecSystemCommand Box06 + set Box06.In "bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &" + +new ExecSystemCommand Box07 + set Box07.In "bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &" + +new OutputText Box08 + set Box08.In "Select the Example" + +new LayoutLine Box09 + set Box09.WinTitle "RescaleSlopeIntercept" + + +connect Box00.BoxChange Box04.BoxExecute +connect Box01.BoxChange Box05.BoxExecute +connect Box02.BoxChange Box06.BoxExecute +connect Box03.BoxChange Box07.BoxExecute +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 + + +# Complex input ports + +# Complex output ports +output widget Box09.Widget " " + +endefine -- 2.47.1