From: Eduardo DAVILA Date: Wed, 13 Apr 2016 06:32:51 +0000 (+0200) Subject: #2878 CreaMiniTools Bug New Normal - Box ExecSystemCommand blocking / not blocking X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaMiniTools.git;a=commitdiff_plain;h=540d5c9b9a7adb477902414c3cab527ba750b234 #2878 CreaMiniTools Bug New Normal - Box ExecSystemCommand blocking / not blocking --- diff --git a/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbg b/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbg new file mode 100644 index 0000000..33ac5f9 --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbg @@ -0,0 +1,116 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:FALSE +COMPLEXINPUTS:0 +BOXES:9 +BOX +vtk:LoadHola:Box00 +ISEXEC:FALSE +64.705113:101.114174:-900.000000 +110.280113:91.114174:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:ViewerNV:Box01 +ISEXEC:FALSE +55.416892:59.215321:-900.000000 +100.991892:49.215321:-900.000000 +FIN_BOX +BOX +vtk:VolumeRenderer:Box03 +ISEXEC:FALSE +-43.057518:52.625827:-900.000000 +2.517482:42.625827:-900.000000 +FIN_BOX +BOX +wx:LayoutSplit:Box04 +ISEXEC:TRUE +45.859570:-83.700773:-900.000000 +91.434570:-93.700773:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +wx:LayoutTab:Box05 +ISEXEC:FALSE +0.944894:-64.112132:-900.000000 +46.519894:-74.112132:-900.000000 +FIN_BOX +BOX +creaMaracasVisu:TransferFunctionView:Box07 +ISEXEC:FALSE +-68.003009:72.132049:-900.000000 +3.171991:62.132049:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box08 +ISEXEC:FALSE +-91.019218:-18.236759:-900.000000 +-45.444218:-28.236759:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +creaVtk:Actor:Box11 +ISEXEC:FALSE +-51.181978:34.465496:-900.000000 +-18.406978:24.465496:-900.000000 +FIN_BOX +BOX +vtk:UpdateRender:Box12 +ISEXEC:FALSE +-53.734988:13.116610:-900.000000 +-8.159988:3.116610:-900.000000 +PORT +Active:"true" +FIN_BOX +CONNECTIONS:14 +CONNECTION +Box00:Out:Box01:In +NumberOfControlPoints:0 +CONNECTION +Box00:Out:Box03:In +NumberOfControlPoints:0 +CONNECTION +Box01:Widget:Box04:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box05:Widget:Box04:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box05:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box00:Out:Box07:In +NumberOfControlPoints:0 +CONNECTION +Box07:ColorFunction:Box03:ColorFunction1 +NumberOfControlPoints:0 +CONNECTION +Box07:OpacityFunction:Box03:OpacityFunction +NumberOfControlPoints:0 +CONNECTION +Box07:Widget:Box08:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box03:Out:Box11:In +NumberOfControlPoints:0 +CONNECTION +Box07:Active:Box11:Active +NumberOfControlPoints:0 +CONNECTION +Box01:Renderer1:Box12:Renderer +NumberOfControlPoints:0 +CONNECTION +Box01:Renderer1:Box11:Renderer +NumberOfControlPoints:0 +CONNECTION +Box11:BoxChange:Box12:BoxExecute +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbs b/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbs new file mode 100644 index 0000000..97d7663 --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbs @@ -0,0 +1,73 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/exampleVolumeRendering2.bbs +# ---------------------------------- + +# BBTK GEditor Script +# ---------------------- + +include std +include itkvtk +include vtk +include creaMaracasVisu +include wx +include creaVtk + +author "Author ??" +description "Description ??" +category "" + +new vtk:LoadHola Box00 + +new creaMaracasVisu:ViewerNV Box01 + +new vtk:VolumeRenderer Box03 + +new wx:LayoutSplit Box04 + set Box04.Orientation "H" + +new wx:LayoutTab Box05 + +new creaMaracasVisu:TransferFunctionView Box07 + +new wx:LayoutLine Box08 + set Box08.Orientation "H" + +new creaVtk:Actor Box11 + +new vtk:UpdateRender Box12 + set Box12.Active "true" + + +connect Box00.Out Box01.In + +connect Box00.Out Box03.In + +connect Box01.Widget Box04.Widget2 + +connect Box05.Widget Box04.Widget1 + +connect Box08.Widget Box05.Widget1 + +connect Box00.Out Box07.In + +connect Box07.ColorFunction Box03.ColorFunction1 + +connect Box07.OpacityFunction Box03.OpacityFunction + +connect Box07.Widget Box08.Widget2 + +connect Box03.Out Box11.In + +connect Box07.Active Box11.Active + +connect Box01.Renderer1 Box12.Renderer + +connect Box01.Renderer1 Box11.Renderer + +connect Box11.BoxChange Box12.BoxExecute + + + +# Complex input ports +exec Box04 diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg index b6ac0cb..8215adf 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/All/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg # ---------------------------------- APP_START @@ -16,46 +16,40 @@ widget 55.184284:-40.716064:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:0 -BOXES:25 +BOXES:35 BOX wx:CommandButton:Box00 ISEXEC:FALSE --89.534567:202.477913:-900.000000 --43.959567:192.477913:-900.000000 +-58.953014:221.297331:-900.000000 +-13.378014:211.297331:-900.000000 PORT Label:"Image Writer" FIN_BOX BOX wx:CommandButton:Box02 ISEXEC:FALSE --97.280455:76.819224:-900.000000 --51.705455:66.819224:-900.000000 +-132.123747:64.194843:-900.000000 +-86.548747:54.194843:-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 -PORT -In:"bbi creaMiniTools/appli/imageWriterExample.bbs &" +-56.940625:188.480491:-900.000000 +14.234375:178.480491:-900.000000 FIN_BOX BOX std:ExecSystemCommand:Box06 ISEXEC:FALSE --138.970879:56.777709:-900.000000 --67.795879:46.777709:-900.000000 -PORT -In:"bbi creaMiniTools/appli/viewerNVExample.bbs &" +-137.203466:30.771484:-900.000000 +-66.028466:20.771484:-900.000000 FIN_BOX BOX std:ExecSystemCommand:Box09 ISEXEC:FALSE -40.196054:78.936028:-900.000000 30.978946:68.936028:-900.000000 -PORT -In:"bbi creaMiniTools/appli/synchro2ImageExample.bbs &" FIN_BOX BOX wx:CommandButton:Box10 @@ -68,24 +62,22 @@ FIN_BOX BOX wx:CommandButton:Box11 ISEXEC:FALSE -78.216276:201.626603:-900.000000 -123.791276:191.626603:-900.000000 +76.609537:209.660300:-900.000000 +122.184537:199.660300:-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 -PORT -In:"bbi creaMiniTools/appli/manualPaint.bbs &" +90.988984:182.366349:-900.000000 +162.163984:172.366349:-900.000000 FIN_BOX BOX wx:CommandButton:Box13 ISEXEC:FALSE -173.042919:159.544965:-900.000000 -218.617919:149.544965:-900.000000 +174.879193:174.923757:-900.000000 +220.454193:164.923757:-900.000000 PORT Label:"Extract Planes" FIN_BOX @@ -94,8 +86,6 @@ std:ExecSystemCommand:Box14 ISEXEC:FALSE 169.434236:141.183423:-900.000000 240.609236:131.183423:-900.000000 -PORT -In:"bbi creaMiniTools/appli/SaveImagePlanes.bbs &" FIN_BOX BOX wx:LayoutTab:Box15 @@ -132,34 +122,30 @@ FIN_BOX BOX wx:CommandButton:Box22 ISEXEC:FALSE --17.276148:166.092537:-900.000000 -28.298852:156.092537:-900.000000 +-10.799335:167.986699:-900.000000 +34.775665:157.986699:-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 -PORT -In:"bbi creaMiniTools/appli/resampling.bbs &" +4.667130:138.269205:-900.000000 +75.842130:128.269205:-900.000000 FIN_BOX BOX wx:CommandButton:Box25 ISEXEC:FALSE -87.433405:165.277161:-900.000000 -133.008405:155.277161:-900.000000 +88.122008:163.211353:-900.000000 +133.697008:153.211353:-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 -PORT -In:"bbi creaMiniTools/appli/crop.bbs &" +92.460664:135.374682:-900.000000 +163.635664:125.374682:-900.000000 FIN_BOX BOX wx:LayoutCenter:Box27 @@ -180,8 +166,8 @@ FIN_BOX BOX wx:CommandButton:Box29 ISEXEC:FALSE -163.195715:107.893513:-900.000000 -208.770715:97.893513:-900.000000 +160.900373:111.336526:-900.000000 +206.475373:101.336526:-900.000000 PORT Label:"Flip Image" FIN_BOX @@ -190,26 +176,118 @@ std:ExecSystemCommand:Box30 ISEXEC:FALSE 152.592822:78.912001:-900.000000 223.767822:68.912001:-900.000000 -PORT -In:"bbi creaMiniTools/appli/flipImageY.bbs &" FIN_BOX BOX wx:CommandButton:Box31 ISEXEC:FALSE --99.433238:109.383489:-900.000000 --53.858238:99.383489:-900.000000 +-140.588721:127.562598:-900.000000 +-95.013721:117.562598:-900.000000 PORT Label:"Viewer NV (Vol. Rendering)" FIN_BOX BOX std:ExecSystemCommand:Box32 ISEXEC:FALSE --141.123662:89.341974:-900.000000 --69.948662:79.341974:-900.000000 +-147.940828:91.361875:-900.000000 +-76.765828:81.361875:-900.000000 +FIN_BOX +BOX +std:Configuration:Box33 +ISEXEC:FALSE +52.331072:229.729495:-900.000000 +97.906072:219.729495:-900.000000 +FIN_BOX +BOX +std:StringSelect:Box34 +ISEXEC:FALSE +-137.620859:106.694786:-900.000000 +-92.045859:96.694786:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &" +FIN_BOX +BOX +std:StringSelect:Box35 +ISEXEC:FALSE +-118.763821:44.140977:-900.000000 +-73.188821:34.140977:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/viewerNVExample.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/viewerNVExample.bbs &" +FIN_BOX +BOX +std:StringSelect:Box36 +ISEXEC:FALSE +-60.439180:116.099949:-900.000000 +-14.864180:106.099949:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/synchro2ImageExample.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/synchro2ImageExample.bbs &" +FIN_BOX +BOX +std:StringSelect:Box37 +ISEXEC:FALSE +-46.579755:204.957161:-900.000000 +-1.004755:194.957161:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/imageWriterExample.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/imageWriterExample.bbs &" +FIN_BOX +BOX +std:StringSelect:Box38 +ISEXEC:FALSE +7.312213:151.436082:-900.000000 +52.887213:141.436082:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/resampling.bbs &" PORT -In:"bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &" +In1:"start /b bbi creaMiniTools/appli/resampling.bbs &" FIN_BOX -CONNECTIONS:25 +BOX +std:StringSelect:Box39 +ISEXEC:FALSE +108.501164:149.115411:-900.000000 +154.076164:139.115411:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/crop.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/crop.bbs &" +FIN_BOX +BOX +std:StringSelect:Box40 +ISEXEC:FALSE +184.247451:157.378642:-900.000000 +229.822451:147.378642:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/SaveImagePlanes.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/SaveImagePlanes.bbs &" +FIN_BOX +BOX +std:StringSelect:Box41 +ISEXEC:FALSE +99.090262:195.733807:-900.000000 +144.665262:185.733807:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/manualPaint.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/manualPaint.bbs &" +FIN_BOX +BOX +std:StringSelect:Box42 +ISEXEC:FALSE +167.720989:94.027202:-900.000000 +213.295989:84.027202:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/flipImageY.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/flipImageY.bbs &" +FIN_BOX +CONNECTIONS:43 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -285,4 +363,58 @@ NumberOfControlPoints:0 CONNECTION Box31:Widget:Box18:Widget2 NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box34:In +NumberOfControlPoints:0 +CONNECTION +Box34:Out:Box32:In +NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box35:In +NumberOfControlPoints:0 +CONNECTION +Box35:Out:Box06:In +NumberOfControlPoints:0 +CONNECTION +Box36:Out:Box09:In +NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box36:In +NumberOfControlPoints:0 +CONNECTION +Box37:Out:Box04:In +NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box37:In +NumberOfControlPoints:0 +CONNECTION +Box38:Out:Box23:In +NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box38:In +NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box41:In +NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box39:In +NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box40:In +NumberOfControlPoints:0 +CONNECTION +Box33:SystemType:Box42:In +NumberOfControlPoints:0 +CONNECTION +Box41:Out:Box12:In +NumberOfControlPoints:0 +CONNECTION +Box39:Out:Box26:In +NumberOfControlPoints:0 +CONNECTION +Box40:Out:Box14:In +NumberOfControlPoints:0 +CONNECTION +Box42:Out:Box30:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs index 0b3c328..63aa400 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/All/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs # ---------------------------------- include std @@ -16,76 +16,105 @@ description "Description ??" category "" -new CommandButton Box00 +new wx:CommandButton Box00 set Box00.Label "Image Writer" -new CommandButton Box02 +new wx:CommandButton Box02 set Box02.Label "Viewer NV" -new ExecSystemCommand Box04 - set Box04.In "bbi creaMiniTools/appli/imageWriterExample.bbs &" +new std:ExecSystemCommand Box04 -new ExecSystemCommand Box06 - set Box06.In "bbi creaMiniTools/appli/viewerNVExample.bbs &" +new std:ExecSystemCommand Box06 -new ExecSystemCommand Box09 - set Box09.In "bbi creaMiniTools/appli/synchro2ImageExample.bbs &" +new std:ExecSystemCommand Box09 -new CommandButton Box10 +new wx:CommandButton Box10 set Box10.Label "Synchronize 2 Images" -new CommandButton Box11 +new wx:CommandButton Box11 set Box11.Label "Manual paint" -new ExecSystemCommand Box12 - set Box12.In "bbi creaMiniTools/appli/manualPaint.bbs &" +new std:ExecSystemCommand Box12 -new CommandButton Box13 +new wx:CommandButton Box13 set Box13.Label "Extract Planes" -new ExecSystemCommand Box14 - set Box14.In "bbi creaMiniTools/appli/SaveImagePlanes.bbs &" +new std:ExecSystemCommand Box14 -new LayoutTab Box15 +new wx:LayoutTab Box15 set Box15.WinTitle "Images Tools" -new LayoutLine Box18 +new wx:LayoutLine Box18 -new LayoutLine Box19 +new wx:LayoutLine Box19 -new RegistrationMenu Box20 +new creaMiniToolsBase:RegistrationMenu Box20 -new RescaleSlopeInterceptMenu Box21 +new creaMiniToolsBase:RescaleSlopeInterceptMenu Box21 -new CommandButton Box22 +new wx:CommandButton Box22 set Box22.Label "Resampling Image" -new ExecSystemCommand Box23 - set Box23.In "bbi creaMiniTools/appli/resampling.bbs &" +new std:ExecSystemCommand Box23 -new CommandButton Box25 +new wx:CommandButton Box25 set Box25.Label "Crop image" -new ExecSystemCommand Box26 - set Box26.In "bbi creaMiniTools/appli/crop.bbs &" +new std:ExecSystemCommand Box26 -new LayoutCenter Box27 +new wx:LayoutCenter Box27 set Box27.WinTitle "Viewers" -new LayoutCenter Box28 +new wx:LayoutCenter Box28 set Box28.WinTitle "Modify image" -new CommandButton Box29 +new wx:CommandButton Box29 set Box29.Label "Flip Image" -new ExecSystemCommand Box30 - set Box30.In "bbi creaMiniTools/appli/flipImageY.bbs &" +new std:ExecSystemCommand Box30 -new CommandButton Box31 +new wx:CommandButton Box31 set Box31.Label "Viewer NV (Vol. Rendering)" -new ExecSystemCommand Box32 - set Box32.In "bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &" +new std:ExecSystemCommand Box32 + +new std:Configuration Box33 + +new std:StringSelect Box34 + set Box34.In0 "bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &" + set Box34.In1 "start /b bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &" + +new std:StringSelect Box35 + set Box35.In0 "bbi creaMiniTools/appli/viewerNVExample.bbs &" + set Box35.In1 "start /b bbi creaMiniTools/appli/viewerNVExample.bbs &" + +new std:StringSelect Box36 + set Box36.In0 "bbi creaMiniTools/appli/synchro2ImageExample.bbs &" + set Box36.In1 "start /b bbi creaMiniTools/appli/synchro2ImageExample.bbs &" + +new std:StringSelect Box37 + set Box37.In0 "bbi creaMiniTools/appli/imageWriterExample.bbs &" + set Box37.In1 "start /b bbi creaMiniTools/appli/imageWriterExample.bbs &" + +new std:StringSelect Box38 + set Box38.In0 "bbi creaMiniTools/appli/resampling.bbs &" + set Box38.In1 "start /b bbi creaMiniTools/appli/resampling.bbs &" + +new std:StringSelect Box39 + set Box39.In0 "bbi creaMiniTools/appli/crop.bbs &" + set Box39.In1 "start /b bbi creaMiniTools/appli/crop.bbs &" + +new std:StringSelect Box40 + set Box40.In0 "bbi creaMiniTools/appli/SaveImagePlanes.bbs &" + set Box40.In1 "start /b bbi creaMiniTools/appli/SaveImagePlanes.bbs &" + +new std:StringSelect Box41 + set Box41.In0 "bbi creaMiniTools/appli/manualPaint.bbs &" + set Box41.In1 "start /b bbi creaMiniTools/appli/manualPaint.bbs &" + +new std:StringSelect Box42 + set Box42.In0 "bbi creaMiniTools/appli/flipImageY.bbs &" + set Box42.In1 "start /b bbi creaMiniTools/appli/flipImageY.bbs &" connect Box00.BoxChange Box04.BoxExecute @@ -112,12 +141,31 @@ connect Box29.BoxChange Box30.BoxExecute connect Box10.Widget Box18.Widget3 connect Box31.BoxChange Box32.BoxExecute connect Box31.Widget Box18.Widget2 +connect Box33.SystemType Box34.In +connect Box34.Out Box32.In +connect Box33.SystemType Box35.In +connect Box35.Out Box06.In +connect Box36.Out Box09.In +connect Box33.SystemType Box36.In +connect Box37.Out Box04.In +connect Box33.SystemType Box37.In +connect Box38.Out Box23.In +connect Box33.SystemType Box38.In +connect Box33.SystemType Box41.In +connect Box33.SystemType Box39.In +connect Box33.SystemType Box40.In +connect Box33.SystemType Box42.In +connect Box41.Out Box12.In +connect Box39.Out Box26.In +connect Box40.Out Box14.In +connect Box42.Out Box30.In # Complex input ports # Complex output ports output widget Box15.Widget " " +message exec Box15 endefine diff --git a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg index 2f87d86..b7c95ea 100755 --- a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - E:\creatis\creaToolsCompilation4\creatools_sources\creaMiniTools\bbtk_package_creaMiniTools\bbs\boxes\maxiToolsMenu.bbg +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg # ---------------------------------- APP_START @@ -23,7 +23,7 @@ ISEXEC:FALSE -109.023415:205.709191:-900.000000 -63.448415:195.709191:-900.000000 PORT -Label:"creaContoursApp ups4" +Label:"creaContoursApp" FIN_BOX BOX std:ExecSystemCommand:Box04 diff --git a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs index f855feb..e7133ba 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - E:\creatis\creaToolsCompilation4\creatools_sources\creaMiniTools\bbtk_package_creaMiniTools\bbs\boxes\maxiToolsMenu.bbs +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs # ---------------------------------- include std @@ -16,7 +16,7 @@ description "Description ??" category "" new wx:CommandButton Box00 - set Box00.Label "creaContoursApp ups4" + set Box00.Label "creaContoursApp" new std:ExecSystemCommand Box04 diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg index 1e82116..bfd31ec 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg @@ -1,31 +1,6 @@ -# --------------------------------------------------------------------- -# -# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image -# pour la Sant�) -# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton -# Previous Authors : Laurent Guigues, Jean-Pierre Roux -# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil -# -# This software is governed by the CeCILL-B license under French law and -# abiding by the rules of distribution of free software. You can use, -# modify and/ or redistribute the software under the terms of the CeCILL-B -# license as circulated by CEA, CNRS and INRIA at the following URL -# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -# or in the file LICENSE.txt. -# -# As a counterpart to the access to the source code and rights to copy, -# modify and redistribute granted by the license, users are provided only -# with a limited warranty and the software's author, the holder of the -# economic rights, and the successive licensors have only limited -# liability. -# -# The fact that you are presently reading this means that you have had -# knowledge of the CeCILL-B license and that you accept its terms. -# ------------------------------------------------------------------------ */ - # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg # ---------------------------------- APP_START @@ -41,20 +16,20 @@ widget 17.562607:-134.978719:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:0 -BOXES:15 +BOXES:21 BOX wx:CommandButton:Box00 ISEXEC:FALSE --99.300807:74.874971:-900.000000 --53.725807:64.874971:-900.000000 +-134.017855:83.762535:-900.000000 +-88.442855:73.762535:-900.000000 PORT Label:"Registration 2D" FIN_BOX BOX wx:CommandButton:Box01 ISEXEC:FALSE -63.358310:77.227664:-900.000000 -108.933310:67.227664:-900.000000 +63.358310:84.171074:-900.000000 +108.933310:74.171074:-900.000000 PORT Label:"Registration 3D 1 Point" FIN_BOX @@ -77,50 +52,40 @@ FIN_BOX BOX std:ExecSystemCommand:Box04 ISEXEC:FALSE --116.137459:54.870385:-900.000000 --44.962459:44.870385:-900.000000 -PORT -In:"bbi PackRecalage/appli/Recalage2D.bbs &" +-115.304250:48.760185:-900.000000 +-44.129250:38.760185:-900.000000 FIN_BOX BOX std:ExecSystemCommand:Box05 ISEXEC:FALSE -70.952525:62.795809:-900.000000 -142.127525:52.795809:-900.000000 -PORT -In:"bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" +78.451407:56.685609:-900.000000 +149.626407:46.685609:-900.000000 FIN_BOX BOX std:ExecSystemCommand:Box06 ISEXEC:FALSE -107.148640:11.659662:-900.000000 -178.323640:1.659662:-900.000000 -PORT -In:"bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" +103.815803:3.049834:-900.000000 +174.990803:-6.950166:-900.000000 FIN_BOX BOX std:ExecSystemCommand:Box07 ISEXEC:FALSE -114.732762:-38.776426:-900.000000 -185.907762:-48.776426:-900.000000 -PORT -In:"bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" +108.622562:-50.719091:-900.000000 +179.797562:-60.719091:-900.000000 FIN_BOX BOX wx:CommandButton:Box10 ISEXEC:FALSE --76.822343:33.858309:-900.000000 --31.247343:23.858309:-900.000000 +-100.152199:27.748109:-900.000000 +-54.577199:17.748109:-900.000000 PORT Label:"Registration 3D" FIN_BOX BOX std:ExecSystemCommand:Box11 ISEXEC:FALSE --61.113174:16.186144:-900.000000 -10.061826:6.186144:-900.000000 -PORT -In:"bbi PackRecalage/appli/ExampleReSlice3D.bbs &" +-98.607586:0.632906:-900.000000 +-27.432586:-9.367094:-900.000000 FIN_BOX BOX wx:LayoutTab:Box13 @@ -149,8 +114,8 @@ FIN_BOX BOX wx:LayoutLine:Box16 ISEXEC:FALSE --75.469845:-63.576177:-900.000000 --17.909845:-73.576177:-900.000000 +-138.238268:-34.413856:-900.000000 +-80.678268:-44.413856:-900.000000 PORT WinTitle:"1 Image" FIN_BOX @@ -162,7 +127,63 @@ ISEXEC:FALSE PORT WinTitle:"2 Images" FIN_BOX -CONNECTIONS:15 +BOX +std:Configuration:Box18 +ISEXEC:FALSE +-32.697147:82.310965:-900.000000 +12.877853:72.310965:-900.000000 +FIN_BOX +BOX +std:StringSelect:Box19 +ISEXEC:FALSE +-109.705872:64.990314:-900.000000 +-64.130872:54.990314:-900.000000 +PORT +In0:"bbi PackRecalage/appli/Recalage2D.bbs &" +PORT +In1:"start /b bbi PackRecalage/appli/Recalage2D.bbs &" +FIN_BOX +BOX +std:StringSelect:Box20 +ISEXEC:FALSE +93.877879:69.437077:-900.000000 +139.452879:59.437077:-900.000000 +PORT +In0:"bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" +PORT +In1:"start /b bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" +FIN_BOX +BOX +std:StringSelect:Box21 +ISEXEC:FALSE +-87.483981:14.167536:-900.000000 +-41.908981:4.167536:-900.000000 +PORT +In0:"bbi PackRecalage/appli/ExampleReSlice3D.bbs &" +PORT +In1:"start /b bbi PackRecalage/appli/ExampleReSlice3D.bbs &" +FIN_BOX +BOX +std:StringSelect:Box22 +ISEXEC:FALSE +109.711833:18.058826:-900.000000 +155.286833:8.058826:-900.000000 +PORT +In0:"bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" +PORT +In1:"start /b bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" +FIN_BOX +BOX +std:StringSelect:Box23 +ISEXEC:FALSE +116.658223:-36.929999:-900.000000 +162.233223:-46.929999:-900.000000 +PORT +In0:"bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" +PORT +In1:"start /b bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" +FIN_BOX +CONNECTIONS:25 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -208,4 +229,34 @@ NumberOfControlPoints:0 CONNECTION Box00:Widget:Box16:Widget1 NumberOfControlPoints:0 +CONNECTION +Box18:SystemType:Box19:In +NumberOfControlPoints:0 +CONNECTION +Box18:SystemType:Box20:In +NumberOfControlPoints:0 +CONNECTION +Box18:SystemType:Box21:In +NumberOfControlPoints:0 +CONNECTION +Box18:SystemType:Box22:In +NumberOfControlPoints:0 +CONNECTION +Box18:SystemType:Box23:In +NumberOfControlPoints:0 +CONNECTION +Box19:Out:Box04:In +NumberOfControlPoints:0 +CONNECTION +Box21:Out:Box11:In +NumberOfControlPoints:0 +CONNECTION +Box20:Out:Box05:In +NumberOfControlPoints:0 +CONNECTION +Box22:Out:Box06:In +NumberOfControlPoints:0 +CONNECTION +Box23:Out:Box07:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs index bede480..c68e7f5 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs @@ -1,31 +1,6 @@ -# --------------------------------------------------------------------- -# -# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image -# pour la Sant�) -# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton -# Previous Authors : Laurent Guigues, Jean-Pierre Roux -# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil -# -# This software is governed by the CeCILL-B license under French law and -# abiding by the rules of distribution of free software. You can use, -# modify and/ or redistribute the software under the terms of the CeCILL-B -# license as circulated by CEA, CNRS and INRIA at the following URL -# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -# or in the file LICENSE.txt. -# -# As a counterpart to the access to the source code and rights to copy, -# modify and redistribute granted by the license, users are provided only -# with a limited warranty and the software's author, the holder of the -# economic rights, and the successive licensors have only limited -# liability. -# -# The fact that you are presently reading this means that you have had -# knowledge of the CeCILL-B license and that you accept its terms. -# ------------------------------------------------------------------------ */ - # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs # ---------------------------------- include std @@ -40,51 +15,68 @@ description "Description ??" category "" -new CommandButton Box00 +new wx:CommandButton Box00 set Box00.Label "Registration 2D" -new CommandButton Box01 +new wx:CommandButton Box01 set Box01.Label "Registration 3D 1 Point" -new CommandButton Box02 +new wx:CommandButton Box02 set Box02.Label "Registration 3D 2 Points" -new CommandButton Box03 +new wx:CommandButton Box03 set Box03.Label "Registration 3D 3 Points" -new ExecSystemCommand Box04 - set Box04.In "bbi PackRecalage/appli/Recalage2D.bbs &" +new std:ExecSystemCommand Box04 -new ExecSystemCommand Box05 - set Box05.In "bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" +new std:ExecSystemCommand Box05 -new ExecSystemCommand Box06 - set Box06.In "bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" +new std:ExecSystemCommand Box06 -new ExecSystemCommand Box07 - set Box07.In "bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" +new std:ExecSystemCommand Box07 -new CommandButton Box10 +new wx:CommandButton Box10 set Box10.Label "Registration 3D" -new ExecSystemCommand Box11 - set Box11.In "bbi PackRecalage/appli/ExampleReSlice3D.bbs &" +new std:ExecSystemCommand Box11 -new LayoutTab Box13 +new wx:LayoutTab Box13 set Box13.WinTitle "1 Image" -new LayoutTab Box14 +new wx:LayoutTab Box14 -new LayoutLine Box15 +new wx:LayoutLine Box15 set Box15.Orientation "H" set Box15.WinTitle "Registration" -new LayoutLine Box16 +new wx:LayoutLine Box16 set Box16.WinTitle "1 Image" -new LayoutLine Box17 +new wx:LayoutLine Box17 set Box17.WinTitle "2 Images" +new std:Configuration Box18 + +new std:StringSelect Box19 + set Box19.In0 "bbi PackRecalage/appli/Recalage2D.bbs &" + set Box19.In1 "start /b bbi PackRecalage/appli/Recalage2D.bbs &" + +new std:StringSelect Box20 + set Box20.In0 "bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" + set Box20.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" + +new std:StringSelect Box21 + set Box21.In0 "bbi PackRecalage/appli/ExampleReSlice3D.bbs &" + set Box21.In1 "start /b bbi PackRecalage/appli/ExampleReSlice3D.bbs &" + +new std:StringSelect Box22 + set Box22.In0 "bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" + set Box22.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" + +new std:StringSelect Box23 + set Box23.In0 "bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" + set Box23.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" + connect Box00.BoxChange Box04.BoxExecute connect Box01.BoxChange Box05.BoxExecute @@ -100,11 +92,22 @@ connect Box17.Widget Box13.Widget1 connect Box10.Widget Box16.Widget2 connect Box01.Widget Box17.Widget1 connect Box00.Widget Box16.Widget1 +connect Box18.SystemType Box19.In +connect Box18.SystemType Box20.In +connect Box18.SystemType Box21.In +connect Box18.SystemType Box22.In +connect Box18.SystemType Box23.In +connect Box19.Out Box04.In +connect Box21.Out Box11.In +connect Box20.Out Box05.In +connect Box22.Out Box06.In +connect Box23.Out Box07.In # Complex input ports # Complex output ports output widget Box15.Widget " " +message endefine diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg b/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg index 70170b8..e6440c5 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg @@ -1,31 +1,6 @@ -# --------------------------------------------------------------------- -# -# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image -# pour la Sant�) -# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton -# Previous Authors : Laurent Guigues, Jean-Pierre Roux -# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil -# -# This software is governed by the CeCILL-B license under French law and -# abiding by the rules of distribution of free software. You can use, -# modify and/ or redistribute the software under the terms of the CeCILL-B -# license as circulated by CEA, CNRS and INRIA at the following URL -# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -# or in the file LICENSE.txt. -# -# As a counterpart to the access to the source code and rights to copy, -# modify and redistribute granted by the license, users are provided only -# with a limited warranty and the software's author, the holder of the -# economic rights, and the successive licensors have only limited -# liability. -# -# The fact that you are presently reading this means that you have had -# knowledge of the CeCILL-B license and that you accept its terms. -# ------------------------------------------------------------------------ */ - # ---------------------------------- -# - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbg # ---------------------------------- APP_START @@ -35,94 +10,132 @@ AUTHOR:Author ?? COMPLEXBOX:TRUE COMPLEXBOXNAME:RescaleSlopeInterceptMenu PACKAGENAME:creaMiniToolsBase -COMPLEXINPUTS:0 COMPLEXOUTPUTS:1 COMPLEX_PORT widget -90.213291:-38.104531:900.000000 +87.188742:-72.718817:-900.000000 FIN_COMPLEX_PORT -BOXES:10 +COMPLEXINPUTS:0 +BOXES:15 BOX wx:CommandButton:Box00 ISEXEC:FALSE -1.000616:117.698250:900.000000 -46.575616:107.698250:900.000000 +-1.748974:130.835181:-900.000000 +43.826026:120.835181:-900.000000 PORT Label:"NewPixel = Rescale * pixel + Slope AND Data Format" FIN_BOX BOX wx:CommandButton:Box01 ISEXEC:FALSE -5.222803:83.381495:900.000000 -50.797803:73.381495:900.000000 +32.107685:83.381495:-900.000000 +77.682685: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 +-131.670986:42.243475:-900.000000 +-86.095986:32.243475:-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 +-68.293171:-9.974187:-900.000000 +-22.718171:-19.974187:-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 &" +-45.856617:99.766432:-900.000000 +25.318383:89.766432:-900.000000 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 &" +-24.578511:52.773136:-900.000000 +46.596489:42.773136:-900.000000 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 &" +-128.678123:12.063562:-900.000000 +-57.503123:2.063562:-900.000000 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 &" +-86.492419:-45.900253:-900.000000 +-15.317419:-55.900253:-900.000000 FIN_BOX BOX wx:OutputText:Box08 ISEXEC:FALSE -8.176985:151.274206:900.000000 -53.751985:141.274206:900.000000 +112.661413:146.691556:-900.000000 +158.236413:136.691556:-900.000000 PORT In:"Select the Example" FIN_BOX BOX wx:LayoutLine:Box09 ISEXEC:FALSE -44.838022:-11.086439:900.000000 -102.398022:-21.086439:900.000000 +56.600158:-44.692542:-900.000000 +114.160158:-54.692542:-900.000000 PORT WinTitle:"RescaleSlopeIntercept" FIN_BOX -CONNECTIONS:10 +BOX +std:Configuration:Box10 +ISEXEC:FALSE +-86.276031:131.735923:-900.000000 +-40.701031:121.735923:-900.000000 +FIN_BOX +BOX +std:StringSelect:Box11 +ISEXEC:FALSE +-10.815055:112.488791:-900.000000 +34.759945:102.488791:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &" +FIN_BOX +BOX +std:StringSelect:Box12 +ISEXEC:FALSE +11.629025:66.804136:-900.000000 +57.204025:56.804136:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &" +FIN_BOX +BOX +std:StringSelect:Box13 +ISEXEC:FALSE +-63.526441:-29.737032:-900.000000 +-17.951441:-39.737032:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &" +FIN_BOX +BOX +std:StringSelect:Box14 +ISEXEC:FALSE +-85.381314:27.535191:-900.000000 +-39.806314:17.535191:-900.000000 +PORT +In0:"bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &" +PORT +In1:"start /b bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &" +FIN_BOX +CONNECTIONS:18 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -138,26 +151,46 @@ NumberOfControlPoints:0 CONNECTION Box08:Widget:Box09:Widget1 NumberOfControlPoints:1 -70.672508:113.662231:900.000000 +70.672508:113.662231:-900.000000 CONNECTION Box01:Widget:Box09:Widget3 NumberOfControlPoints:1 -80.442902:38.104530:900.000000 +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 +NumberOfControlPoints:0 CONNECTION Box00:Widget:Box09:Widget2 NumberOfControlPoints:1 -79.791542:74.580666:900.000000 +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 +NumberOfControlPoints:0 CONNECTION Box09:Widget:widget:widget NumberOfControlPoints:0 +CONNECTION +Box10:SystemType:Box11:In +NumberOfControlPoints:0 +CONNECTION +Box10:SystemType:Box12:In +NumberOfControlPoints:0 +CONNECTION +Box10:SystemType:Box13:In +NumberOfControlPoints:0 +CONNECTION +Box10:SystemType:Box14:In +NumberOfControlPoints:0 +CONNECTION +Box12:Out:Box05:In +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box04:In +NumberOfControlPoints:0 +CONNECTION +Box14:Out:Box06:In +NumberOfControlPoints:0 +CONNECTION +Box13:Out:Box07:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs b/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs index 374a6c4..42cc92d 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs @@ -1,31 +1,6 @@ -# --------------------------------------------------------------------- -# -# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image -# pour la Sant�) -# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton -# Previous Authors : Laurent Guigues, Jean-Pierre Roux -# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil -# -# This software is governed by the CeCILL-B license under French law and -# abiding by the rules of distribution of free software. You can use, -# modify and/ or redistribute the software under the terms of the CeCILL-B -# license as circulated by CEA, CNRS and INRIA at the following URL -# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -# or in the file LICENSE.txt. -# -# As a counterpart to the access to the source code and rights to copy, -# modify and redistribute granted by the license, users are provided only -# with a limited warranty and the software's author, the holder of the -# economic rights, and the successive licensors have only limited -# liability. -# -# The fact that you are presently reading this means that you have had -# knowledge of the CeCILL-B license and that you accept its terms. -# ------------------------------------------------------------------------ */ - # ---------------------------------- -# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs +# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs # ---------------------------------- include std @@ -40,36 +15,50 @@ description "Description ??" category "" -new CommandButton Box00 - set Box00.Label "NewPixel = Rescale * pixel + Slope AND Data Format" +new wx:CommandButton Box00 + set Box00.Label "NewPixel = Rescale * pixel + Slope AND Data Format" -new CommandButton Box01 +new wx:CommandButton Box01 set Box01.Label "rescaleSlopeIntercept1" -new CommandButton Box02 +new wx:CommandButton Box02 set Box02.Label "rescaleSlopeIntercept2" -new CommandButton Box03 +new wx:CommandButton Box03 set Box03.Label "rescaleSlopeIntercept3" -new ExecSystemCommand Box04 - set Box04.In "bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &" +new std:ExecSystemCommand Box04 -new ExecSystemCommand Box05 - set Box05.In "bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &" +new std:ExecSystemCommand Box05 -new ExecSystemCommand Box06 - set Box06.In "bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &" +new std:ExecSystemCommand Box06 -new ExecSystemCommand Box07 - set Box07.In "bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &" +new std:ExecSystemCommand Box07 -new OutputText Box08 +new wx:OutputText Box08 set Box08.In "Select the Example" -new LayoutLine Box09 +new wx:LayoutLine Box09 set Box09.WinTitle "RescaleSlopeIntercept" +new std:Configuration Box10 + +new std:StringSelect Box11 + set Box11.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &" + set Box11.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &" + +new std:StringSelect Box12 + set Box12.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &" + set Box12.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &" + +new std:StringSelect Box13 + set Box13.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &" + set Box13.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &" + +new std:StringSelect Box14 + set Box14.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &" + set Box14.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &" + connect Box00.BoxChange Box04.BoxExecute connect Box01.BoxChange Box05.BoxExecute @@ -80,11 +69,20 @@ connect Box01.Widget Box09.Widget3 connect Box02.Widget Box09.Widget4 connect Box00.Widget Box09.Widget2 connect Box03.Widget Box09.Widget5 - +connect Box10.SystemType Box11.In +connect Box10.SystemType Box12.In +connect Box10.SystemType Box13.In +connect Box10.SystemType Box14.In +connect Box12.Out Box05.In +connect Box11.Out Box04.In +connect Box14.Out Box06.In +connect Box13.Out Box07.In # Complex input ports # Complex output ports output widget Box09.Widget " " +message + endefine