From 5c18b1855cfef0d519caa589de5ddce2726a166b Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Wed, 1 Jun 2011 06:21:41 +0000 Subject: [PATCH] no message --- .../bbs/appli/ImageTool.bbg | 81 ++++++-- .../bbs/appli/ImageTool.bbs | 20 ++ .../bbs/appli/minitoolsMenu.bbg | 6 + .../bbs/appli/minitoolsMenu.bbs | 3 + .../bbs/boxes/ConnectivityWidget.bbg | 89 ++++---- .../bbs/boxes/ConnectivityWidget.bbs | 24 +-- .../bbs/boxes/DilateWidget.bbg | 190 ++++++++++++++++++ .../bbs/boxes/DilateWidget.bbs | 85 ++++++++ .../bbs/boxes/ErodeWidget.bbg | 184 +++++++++++++++++ .../bbs/boxes/ErodeWidget.bbs | 82 ++++++++ .../bbs/boxes/ThresholdWidget.bbg | 102 ++++++---- .../bbs/boxes/ThresholdWidget.bbs | 17 +- .../bbs/boxes/commandMenu.bbg | 148 +++++++++----- .../bbs/boxes/commandMenu.bbs | 32 ++- .../bbs/boxes/maxiToolsMenu.bbg | 62 +++--- .../bbs/boxes/maxiToolsMenu.bbs | 18 +- .../bbs/boxes/SaveMHD-Button.bbg | 21 +- .../bbs/boxes/SaveMHD-Button.bbs | 6 +- 18 files changed, 977 insertions(+), 193 deletions(-) create mode 100644 bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbg create mode 100644 bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbs create mode 100644 bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbg create mode 100644 bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbs diff --git a/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbg b/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbg index 1cfac6d..59b44b6 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbg @@ -8,12 +8,12 @@ CATEGORY:demo DESCRIPTION:Show N Points AUTHOR:info-dev@creatis.insa-lyon.fr COMPLEXBOX:FALSE -BOXES:18 +BOXES:21 BOX creaMaracasVisu:ViewerNV:viewer ISEXEC:FALSE --90.630112:51.813020:900.000000 --29.990112:41.813020:900.000000 +-63.773830:67.743219:900.000000 +-3.133830:57.743219:900.000000 PORT nTypeView:"5 1 2 0" FIN_BOX @@ -30,16 +30,16 @@ FIN_BOX BOX wx:LayoutSplit:main ISEXEC:TRUE -70.468899:-331.772834:900.000000 -116.043899:-341.772834:900.000000 +131.960893:-339.046081:900.000000 +177.535893:-349.046081:900.000000 PORT Orientation:"H" FIN_BOX BOX creaImageIO:ImagesChooserDialogBox:Box04 ISEXEC:FALSE --22.721777:75.650150:900.000000 -48.453223:65.650150:900.000000 +106.944221:120.009570:900.000000 +178.119221:110.009570:900.000000 FIN_BOX BOX wx:LayoutTab:Box06 @@ -68,16 +68,16 @@ FIN_BOX BOX wx:LayoutTab:Box12 ISEXEC:FALSE --37.606438:-253.405317:900.000000 -19.953562:-263.405317:900.000000 +51.808241:-277.901790:900.000000 +109.368241:-287.901790:900.000000 PORT WinTitle:Filters FIN_BOX BOX wx:LayoutTab:Box13 ISEXEC:FALSE --47.707162:-289.568064:900.000000 -9.852838:-299.568064:900.000000 +25.025304:-307.420578:900.000000 +82.585304:-317.420578:900.000000 FIN_BOX BOX creaMiniToolsBase:SaveMHD-Button:Box21 @@ -143,7 +143,25 @@ ISEXEC:FALSE -26.755839:-136.961791:900.000000 18.819161:-146.961791:900.000000 FIN_BOX -CONNECTIONS:35 +BOX +std:MultipleInputs:Box25 +ISEXEC:FALSE +202.932244:-280.977069:900.000000 +248.507244:-290.977069:900.000000 +FIN_BOX +BOX +creaMiniTools:ErodeWidget:Box26 +ISEXEC:FALSE +127.580373:-217.870289:900.000000 +173.155373:-227.870289:900.000000 +FIN_BOX +BOX +creaMiniTools:DilateWidget:Box27 +ISEXEC:FALSE +202.155519:-213.402703:900.000000 +247.730519:-223.402703:900.000000 +FIN_BOX +CONNECTIONS:48 CONNECTION viewer:Renderer1:showNpoints:Renderer NumberOfControlPoints:0 @@ -261,4 +279,43 @@ NumberOfControlPoints:0 CONNECTION viewer:Renderer1:Box24:Renderer NumberOfControlPoints:0 +CONNECTION +viewer:Renderer1:Box22:vtkRenderer +NumberOfControlPoints:0 +CONNECTION +viewer:Renderer1:Box16:vtkRenderer +NumberOfControlPoints:0 +CONNECTION +Box16:BoxChange:Box25:In2 +NumberOfControlPoints:0 +CONNECTION +Box22:BoxChange:Box25:In1 +NumberOfControlPoints:0 +CONNECTION +Box25:Out:viewer:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box27:Widget:Box12:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box27:BoxChange:Box25:In3 +NumberOfControlPoints:0 +CONNECTION +Box26:BoxChange:Box25:In4 +NumberOfControlPoints:0 +CONNECTION +Box26:Widget:Box12:Widget4 +NumberOfControlPoints:0 +CONNECTION +viewer:Renderer1:Box27:vtkRenderer +NumberOfControlPoints:0 +CONNECTION +viewer:Renderer1:Box26:vtkRenderer +NumberOfControlPoints:0 +CONNECTION +Box04:Out:Box26:In +NumberOfControlPoints:0 +CONNECTION +Box04:Out:Box27:In +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbs b/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbs index e76cba8..223ba1e 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbs @@ -13,6 +13,7 @@ include wx include creaImageIO include creaMiniToolsBase include creaMiniTools +include std author "info-dev@creatis.insa-lyon.fr" description "Show N Points" @@ -67,6 +68,12 @@ new LayoutLine Box23 new CutModule2 Box24 +new MultipleInputs Box25 + +new ErodeWidget Box26 + +new DilateWidget Box27 + connect viewer.Renderer1 showNpoints.Renderer connect viewer.Point showNpoints.In @@ -103,5 +110,18 @@ connect viewer.BoxChange Box24.BoxExecute connect Box04.Out Box24.In connect viewer.Interactor1 Box24.Interactor connect viewer.Renderer1 Box24.Renderer +connect viewer.Renderer1 Box22.vtkRenderer +connect viewer.Renderer1 Box16.vtkRenderer +connect Box16.BoxChange Box25.In2 +connect Box22.BoxChange Box25.In1 +connect Box25.Out viewer.BoxExecute +connect Box27.Widget Box12.Widget3 +connect Box27.BoxChange Box25.In3 +connect Box26.BoxChange Box25.In4 +connect Box26.Widget Box12.Widget4 +connect viewer.Renderer1 Box27.vtkRenderer +connect viewer.Renderer1 Box26.vtkRenderer +connect Box04.Out Box26.In +connect Box04.Out Box27.In exec main diff --git a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg index 2f5312e..c744bbc 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg @@ -20,6 +20,12 @@ wx:LayoutTab:Box01 ISEXEC:TRUE -35.286040:-48.757534:900.000000 22.273960:-58.757534:900.000000 +PORT +WinHeight:300 +PORT +WinTitle:"miniTools- creaTools" +PORT +WinWidth:500 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 5ebfc78..468c27c 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs @@ -18,6 +18,9 @@ category "application" new CommandMenu Box00 new LayoutTab Box01 + set Box01.WinHeight 300 + set Box01.WinTitle "miniTools- creaTools" + set Box01.WinWidth 500 new maxiToolsMenu Box05 diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbg b/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbg index 936ab23..813b60d 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/ConnectivityWidget.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbg # ---------------------------------- APP_START @@ -10,17 +10,25 @@ AUTHOR:info-team at creatis.insa-lyon.fr COMPLEXBOX:TRUE COMPLEXBOXNAME:ConnectivityWidget PACKAGENAME:creaMiniTools -COMPLEXINPUTS:1 +COMPLEXINPUTS:2 COMPLEX_PORT In --15.873371:90.453971:900.000000 +55.054338:82.650161:900.000000 FIN_COMPLEX_PORT -COMPLEXOUTPUTS:1 +COMPLEX_PORT +vtkRenderer +136.269132:82.813327:900.000000 +FIN_COMPLEX_PORT +COMPLEXOUTPUTS:2 COMPLEX_PORT Widget -39.591483:-155.920596:900.000000 +38.830311:-137.271875:900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +BoxChange +101.673826:-138.572022:900.000000 FIN_COMPLEX_PORT -BOXES:11 +BOXES:10 BOX wx:CommandButton:Box00 ISEXEC:FALSE @@ -48,22 +56,22 @@ FIN_BOX BOX wx:LayoutSplit:Box05 ISEXEC:FALSE -37.208770:-127.837901:900.000000 -82.783770:-137.837901:900.000000 +37.969942:-114.517386:900.000000 +83.544942:-124.517386:900.000000 PORT WinTitle:Connectivity FIN_BOX BOX vtk:SegmentationConnectivity:Box07 ISEXEC:FALSE -43.567874:3.133225:900.000000 -114.742874:-6.866775:900.000000 +48.672541:11.073819:900.000000 +119.847541:1.073819:900.000000 FIN_BOX BOX wx:InputText:Box08 ISEXEC:FALSE --46.129693:41.712026:900.000000 --0.554693:31.712026:900.000000 +-24.576653:44.547952:900.000000 +20.998347:34.547952:900.000000 PORT In:"1500 5000" PORT @@ -72,8 +80,8 @@ FIN_BOX BOX wx:InputText:Box09 ISEXEC:FALSE -34.398150:58.301948:900.000000 -79.973150:48.301948:900.000000 +78.638600:65.108171:900.000000 +124.213600:55.108171:900.000000 PORT In:"10 10 10" PORT @@ -82,40 +90,24 @@ FIN_BOX BOX creaMiniToolsBase:SaveMHD-Button:Box10 ISEXEC:FALSE -99.054674:-18.236624:900.000000 -144.629674:-28.236624:900.000000 +78.068819:-5.191363:900.000000 +123.643819:-15.191363:900.000000 FIN_BOX BOX wx:LayoutTab:Box11 ISEXEC:FALSE -58.735237:-94.267562:900.000000 -116.295237:-104.267562:900.000000 +67.810201:-93.700377:900.000000 +125.370201:-103.700377:900.000000 FIN_BOX BOX -wx:LayoutLine:Box12 +wxvtk:IsoSurfaceWidget:Box14 ISEXEC:FALSE -99.822663:-49.724184:900.000000 -157.382663:-59.724184:900.000000 -PORT -WinTitle:"Save and Visu" -FIN_BOX -BOX -wx:Slider:Box13 -ISEXEC:FALSE -117.870411:-31.676436:900.000000 -169.270411:-41.676436:900.000000 -PORT -In:0 -PORT -Label:true -PORT -Max:100 +102.474935:-57.145253:900.000000 +148.049935:-67.145253:900.000000 PORT -Min:0 -PORT -Title:Opacity +Title:"Iso Surface" FIN_BOX -CONNECTIONS:16 +CONNECTIONS:19 CONNECTION Box00:Widget:Box01:Widget5 NumberOfControlPoints:0 @@ -150,18 +142,27 @@ CONNECTION Box07:Out:Box10:In NumberOfControlPoints:0 CONNECTION -Box10:Widget:Box12:Widget1 +Box01:Widget:Box11:Widget1 NumberOfControlPoints:0 CONNECTION -Box13:Widget:Box12:Widget2 +Box11:Widget:Box05:Widget1 NumberOfControlPoints:0 CONNECTION -Box12:Widget:Box11:Widget2 +Box07:Out:Box14:In NumberOfControlPoints:0 CONNECTION -Box01:Widget:Box11:Widget1 +vtkRenderer:vtkRenderer:Box14:vtkRenderer NumberOfControlPoints:0 CONNECTION -Box11:Widget:Box05:Widget1 +Box10:Widget:Box11:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box14:Widget:Box11:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box14:BoxChange:BoxChange:BoxChange +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box14:BoxExecute NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs b/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs index 8780c23..5ebdc04 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.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/ConnectivityWidget.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs # ---------------------------------- include std @@ -9,7 +9,7 @@ include wx include creaMaracasVisu include vtk include creaMiniToolsBase -include creaMiniTools +include wxvtk define ConnectivityWidget creaMiniTools @@ -44,15 +44,8 @@ new SaveMHD-Button Box10 new LayoutTab Box11 -new LayoutLine Box12 - set Box12.WinTitle "Save and Visu" - -new Slider Box13 - set Box13.In 0 - set Box13.Label true - set Box13.Max 100 - set Box13.Min 0 - set Box13.Title Opacity +new IsoSurfaceWidget Box14 + set Box14.Title "Iso Surface" connect Box00.Widget Box01.Widget5 @@ -64,17 +57,20 @@ connect Box08.Out Box07.ThresholdMinMax connect Box09.Widget Box01.Widget2 connect Box09.Out Box07.PositionXYZ connect Box07.Out Box10.In -connect Box10.Widget Box12.Widget1 -connect Box13.Widget Box12.Widget2 -connect Box12.Widget Box11.Widget2 connect Box01.Widget Box11.Widget1 connect Box11.Widget Box05.Widget1 +connect Box07.Out Box14.In +connect Box10.Widget Box11.Widget3 +connect Box14.Widget Box11.Widget2 +connect Box00.BoxChange Box14.BoxExecute # Complex input ports input In Box07.In " " +input vtkRenderer Box14.vtkRenderer " " # Complex output ports output Widget Box05.Widget " " +output BoxChange Box14.BoxChange " " endefine diff --git a/bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbg b/bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbg new file mode 100644 index 0000000..6ef1d13 --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbg @@ -0,0 +1,190 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBG BlackBox Diagram file +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbg +# ---------------------------------- + +APP_START +CATEGORY:filter widget +DESCRIPTION:Threshod binary widget +AUTHOR:info-team at creatis.insa-lyon.fr +COMPLEXBOX:TRUE +COMPLEXBOXNAME:DilateWidget +PACKAGENAME:creaMiniTools +COMPLEXINPUTS:2 +COMPLEX_PORT +In +55.054338:82.650161:900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +vtkRenderer +136.269132:82.813327:900.000000 +FIN_COMPLEX_PORT +COMPLEXOUTPUTS:2 +COMPLEX_PORT +Widget +61.366645:-173.586906:900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +BoxChange +123.515036:-156.157966:900.000000 +FIN_COMPLEX_PORT +BOXES:11 +BOX +wx:CommandButton:Box00 +ISEXEC:FALSE +-2.626469:-47.936333:900.000000 +42.948531:-57.936333:900.000000 +PORT +Label:Run +FIN_BOX +BOX +wx:LayoutLine:Box01 +ISEXEC:FALSE +-77.340022:-77.311063:900.000000 +-19.780022:-87.311063:900.000000 +PORT +WinTitle:"Parameters" +FIN_BOX +BOX +creaMaracasVisu:ViewerNV:Box03 +ISEXEC:FALSE +21.587025:-109.008389:900.000000 +82.227025:-119.008389:900.000000 +PORT +nTypeView:"0" +FIN_BOX +BOX +wx:LayoutSplit:Box05 +ISEXEC:FALSE +55.308782:-142.261377:900.000000 +100.883782:-152.261377:900.000000 +PORT +WinTitle:"Dilate" +FIN_BOX +BOX +wx:InputText:Box08 +ISEXEC:FALSE +70.858558:59.023158:900.000000 +116.433558:49.023158:900.000000 +PORT +In:"3" +PORT +Title:"kernelY" +FIN_BOX +BOX +wx:InputText:Box09 +ISEXEC:FALSE +0.447545:56.996698:900.000000 +46.022545:46.996698:900.000000 +PORT +In:"3" +PORT +Title:"kernelX" +FIN_BOX +BOX +creaMiniToolsBase:SaveMHD-Button:Box10 +ISEXEC:FALSE +127.999044:-75.983158:900.000000 +173.574044:-85.983158:900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box11 +ISEXEC:FALSE +149.825592:-113.674684:900.000000 +207.385592:-123.674684:900.000000 +FIN_BOX +BOX +wxvtk:IsoSurfaceWidget:Box14 +ISEXEC:FALSE +67.578788:-76.361158:900.000000 +113.153788:-86.361158:900.000000 +PORT +Title:"Iso Surface" +FIN_BOX +BOX +vtk:ImageContinuousDilate3D:Box13 +ISEXEC:FALSE +46.359225:16.465596:900.000000 +117.534225:6.465596:900.000000 +PORT +KernelSizeX:3 +PORT +KernelSizeY:3 +PORT +KernelSizeZ:3 +FIN_BOX +BOX +wx:InputText:Box15 +ISEXEC:FALSE +166.075739:53.461433:900.000000 +211.650739:43.461433:900.000000 +PORT +In:"3" +PORT +Title:"kernelZ" +FIN_BOX +CONNECTIONS:21 +CONNECTION +Box00:Widget:Box01:Widget5 +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box03:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box03:Widget:Box05:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box05:Widget:Widget:Widget +NumberOfControlPoints:0 +CONNECTION +Box01:Widget:Box11:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box05:Widget1 +NumberOfControlPoints:0 +CONNECTION +vtkRenderer:vtkRenderer:Box14:vtkRenderer +NumberOfControlPoints:0 +CONNECTION +Box10:Widget:Box11:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box14:Widget:Box11:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box14:BoxChange:BoxChange:BoxChange +NumberOfControlPoints:0 +CONNECTION +In:In:Box13:In +NumberOfControlPoints:0 +CONNECTION +Box13:Out:Box10:In +NumberOfControlPoints:0 +CONNECTION +Box13:Out:Box14:In +NumberOfControlPoints:0 +CONNECTION +Box13:Out:Box03:In +NumberOfControlPoints:0 +CONNECTION +Box09:Out:Box13:KernelSizeX +NumberOfControlPoints:0 +CONNECTION +Box08:Out:Box13:KernelSizeY +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box01:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box09:Widget:Box01:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box15:Widget:Box01:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box15:Out:Box13:KernelSizeZ +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box14:BoxExecute +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbs b/bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbs new file mode 100644 index 0000000..4e0a296 --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbs @@ -0,0 +1,85 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/DilateWidget.bbs +# ---------------------------------- + +include std +include itkvtk +include wx +include creaMaracasVisu +include creaMiniToolsBase +include wxvtk +include vtk + +define DilateWidget creaMiniTools + +author "info-team at creatis.insa-lyon.fr" +description "Threshod binary widget" + +category "filter widget" + +new CommandButton Box00 + set Box00.Label Run + +new LayoutLine Box01 + set Box01.WinTitle "Parameters" + +new ViewerNV Box03 + set Box03.nTypeView "0" + +new LayoutSplit Box05 + set Box05.WinTitle "Dilate" + +new InputText Box08 + set Box08.In "3" + set Box08.Title "kernelY" + +new InputText Box09 + set Box09.In "3" + set Box09.Title "kernelX" + +new SaveMHD-Button Box10 + +new LayoutTab Box11 + +new IsoSurfaceWidget Box14 + set Box14.Title "Iso Surface" + +new ImageContinuousDilate3D Box13 + set Box13.KernelSizeX 3 + set Box13.KernelSizeY 3 + set Box13.KernelSizeZ 3 + +new InputText Box15 + set Box15.In "3" + set Box15.Title "kernelZ" + + +connect Box00.Widget Box01.Widget5 +connect Box00.BoxChange Box03.BoxExecute +connect Box03.Widget Box05.Widget2 +connect Box01.Widget Box11.Widget1 +connect Box11.Widget Box05.Widget1 +connect Box10.Widget Box11.Widget3 +connect Box14.Widget Box11.Widget2 +connect Box13.Out Box10.In +connect Box13.Out Box14.In +connect Box13.Out Box03.In +connect Box09.Out Box13.KernelSizeX +connect Box08.Out Box13.KernelSizeY +connect Box08.Widget Box01.Widget2 +connect Box09.Widget Box01.Widget1 +connect Box15.Widget Box01.Widget3 +connect Box15.Out Box13.KernelSizeZ +connect Box00.BoxChange Box14.BoxExecute + + +# Complex input ports +input vtkRenderer Box14.vtkRenderer " " +input In Box13.In " " + +# Complex output ports +output Widget Box05.Widget " " +output BoxChange Box14.BoxChange " " + +endefine diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbg b/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbg new file mode 100644 index 0000000..fd8d2b7 --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbg @@ -0,0 +1,184 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBG BlackBox Diagram file +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbg +# ---------------------------------- + +APP_START +CATEGORY:filter widget +DESCRIPTION:Threshod binary widget +AUTHOR:info-team at creatis.insa-lyon.fr +COMPLEXBOX:TRUE +COMPLEXBOXNAME:ErodeWidget +PACKAGENAME:creaMiniTools +COMPLEXINPUTS:2 +COMPLEX_PORT +In +55.054338:82.650161:900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +vtkRenderer +136.269132:82.813327:900.000000 +FIN_COMPLEX_PORT +COMPLEXOUTPUTS:2 +COMPLEX_PORT +Widget +61.366645:-173.586906:900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +BoxChange +123.515036:-156.157966:900.000000 +FIN_COMPLEX_PORT +BOXES:11 +BOX +wx:CommandButton:Box00 +ISEXEC:FALSE +-2.626469:-47.936333:900.000000 +42.948531:-57.936333:900.000000 +PORT +Label:Run +FIN_BOX +BOX +wx:LayoutLine:Box01 +ISEXEC:FALSE +-77.340022:-77.311063:900.000000 +-19.780022:-87.311063:900.000000 +PORT +WinTitle:"Parameters" +FIN_BOX +BOX +creaMaracasVisu:ViewerNV:Box03 +ISEXEC:FALSE +21.587025:-109.008389:900.000000 +82.227025:-119.008389:900.000000 +PORT +nTypeView:"0" +FIN_BOX +BOX +wx:LayoutSplit:Box05 +ISEXEC:FALSE +55.308782:-142.261377:900.000000 +100.883782:-152.261377:900.000000 +PORT +WinTitle:"Erode" +FIN_BOX +BOX +wx:InputText:Box08 +ISEXEC:FALSE +92.215263:61.221642:900.000000 +137.790263:51.221642:900.000000 +PORT +In:"3" +PORT +Title:"kernelY" +FIN_BOX +BOX +wx:InputText:Box09 +ISEXEC:FALSE +0.447545:56.996698:900.000000 +46.022545:46.996698:900.000000 +PORT +In:"3" +PORT +Title:"kernelX" +FIN_BOX +BOX +creaMiniToolsBase:SaveMHD-Button:Box10 +ISEXEC:FALSE +127.999044:-75.983158:900.000000 +173.574044:-85.983158:900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box11 +ISEXEC:FALSE +149.825592:-113.674684:900.000000 +207.385592:-123.674684:900.000000 +FIN_BOX +BOX +wxvtk:IsoSurfaceWidget:Box14 +ISEXEC:FALSE +67.578788:-76.361158:900.000000 +113.153788:-86.361158:900.000000 +PORT +Title:"Iso Surface" +FIN_BOX +BOX +wx:InputText:Box15 +ISEXEC:FALSE +166.075739:53.461433:900.000000 +211.650739:43.461433:900.000000 +PORT +In:"3" +PORT +Title:"kernelZ" +FIN_BOX +BOX +vtk:ImageContinuousErode3D:Box16 +ISEXEC:FALSE +126.947737:-9.570274:900.000000 +198.122737:-19.570274:900.000000 +FIN_BOX +CONNECTIONS:21 +CONNECTION +Box00:Widget:Box01:Widget5 +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box03:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box03:Widget:Box05:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box05:Widget:Widget:Widget +NumberOfControlPoints:0 +CONNECTION +Box01:Widget:Box11:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box05:Widget1 +NumberOfControlPoints:0 +CONNECTION +vtkRenderer:vtkRenderer:Box14:vtkRenderer +NumberOfControlPoints:0 +CONNECTION +Box10:Widget:Box11:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box14:Widget:Box11:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box14:BoxChange:BoxChange:BoxChange +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box01:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box09:Widget:Box01:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box15:Widget:Box01:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box14:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box16:Out:Box03:In +NumberOfControlPoints:0 +CONNECTION +Box16:Out:Box14:In +NumberOfControlPoints:0 +CONNECTION +Box16:Out:Box10:In +NumberOfControlPoints:0 +CONNECTION +In:In:Box16:In +NumberOfControlPoints:0 +CONNECTION +Box09:Out:Box16:KernelSizeX +NumberOfControlPoints:0 +CONNECTION +Box08:Out:Box16:KernelSizeY +NumberOfControlPoints:0 +CONNECTION +Box15:Out:Box16:KernelSizeZ +NumberOfControlPoints:0 +APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbs b/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbs new file mode 100644 index 0000000..cb9719d --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbs @@ -0,0 +1,82 @@ +# ---------------------------------- +# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ErodeWidget.bbs +# ---------------------------------- + +include std +include itkvtk +include wx +include creaMaracasVisu +include creaMiniToolsBase +include wxvtk +include vtk + +define ErodeWidget creaMiniTools + +author "info-team at creatis.insa-lyon.fr" +description "Threshod binary widget" + +category "filter widget" + +new CommandButton Box00 + set Box00.Label Run + +new LayoutLine Box01 + set Box01.WinTitle "Parameters" + +new ViewerNV Box03 + set Box03.nTypeView "0" + +new LayoutSplit Box05 + set Box05.WinTitle "Erode" + +new InputText Box08 + set Box08.In "3" + set Box08.Title "kernelY" + +new InputText Box09 + set Box09.In "3" + set Box09.Title "kernelX" + +new SaveMHD-Button Box10 + +new LayoutTab Box11 + +new IsoSurfaceWidget Box14 + set Box14.Title "Iso Surface" + +new InputText Box15 + set Box15.In "3" + set Box15.Title "kernelZ" + +new ImageContinuousErode3D Box16 + + +connect Box00.Widget Box01.Widget5 +connect Box00.BoxChange Box03.BoxExecute +connect Box03.Widget Box05.Widget2 +connect Box01.Widget Box11.Widget1 +connect Box11.Widget Box05.Widget1 +connect Box10.Widget Box11.Widget3 +connect Box14.Widget Box11.Widget2 +connect Box08.Widget Box01.Widget2 +connect Box09.Widget Box01.Widget1 +connect Box15.Widget Box01.Widget3 +connect Box00.BoxChange Box14.BoxExecute +connect Box16.Out Box03.In +connect Box16.Out Box14.In +connect Box16.Out Box10.In +connect Box09.Out Box16.KernelSizeX +connect Box08.Out Box16.KernelSizeY +connect Box15.Out Box16.KernelSizeZ + + +# Complex input ports +input vtkRenderer Box14.vtkRenderer " " +input In Box16.In " " + +# Complex output ports +output Widget Box05.Widget " " +output BoxChange Box14.BoxChange " " + +endefine diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbg b/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbg index 97edbc0..79691f4 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/ThresholdWidget.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbg # ---------------------------------- APP_START @@ -10,22 +10,30 @@ AUTHOR:info-team at creatis.insa-lyon.fr COMPLEXBOX:TRUE COMPLEXBOXNAME:ThresholdWidget PACKAGENAME:creaMiniTools -COMPLEXINPUTS:1 +COMPLEXINPUTS:2 COMPLEX_PORT In -38.148288:38.392106:900.000000 +51.472752:90.245768:900.000000 FIN_COMPLEX_PORT -COMPLEXOUTPUTS:1 +COMPLEX_PORT +vtkRenderer +15.189636:86.135217:900.000000 +FIN_COMPLEX_PORT +COMPLEXOUTPUTS:2 COMPLEX_PORT Widget -30.903819:-152.608058:900.000000 +11.952917:-157.156274:900.000000 FIN_COMPLEX_PORT -BOXES:10 +COMPLEX_PORT +BoxChange +72.134831:-155.034444:900.000000 +FIN_COMPLEX_PORT +BOXES:11 BOX wx:CommandButton:Box00 ISEXEC:FALSE --49.185728:-12.081799:900.000000 --3.610728:-22.081799:900.000000 +-39.442677:-10.190191:900.000000 +6.132323:-20.190191:900.000000 PORT Label:Run FIN_BOX @@ -40,8 +48,8 @@ FIN_BOX BOX itk:BinaryThresholdImageFilter:Box02 ISEXEC:FALSE -29.874086:-23.813721:900.000000 -101.049086:-33.813721:900.000000 +64.426902:-21.083995:900.000000 +135.601902:-31.083995:900.000000 PORT InsideValue:255 PORT @@ -54,24 +62,24 @@ FIN_BOX BOX creaMaracasVisu:ViewerNV:Box03 ISEXEC:FALSE -35.871544:-48.674607:900.000000 -96.511544:-58.674607:900.000000 +83.961073:-112.623703:900.000000 +144.601073:-122.623703:900.000000 PORT nTypeView:"0" FIN_BOX BOX wx:LayoutSplit:Box05 ISEXEC:FALSE -18.431060:-134.053020:900.000000 -64.006060:-144.053020:900.000000 +15.019898:-138.980254:900.000000 +60.594898:-148.980254:900.000000 PORT WinTitle:Threshold FIN_BOX BOX creaMaracasVisu:SliderMinMax:Box07 ISEXEC:FALSE -46.879775:12.359040:900.000000 -101.359775:2.359040:900.000000 +91.193051:19.869765:900.000000 +145.673051:9.869765:900.000000 PORT InMax:5000 PORT @@ -84,30 +92,44 @@ FIN_BOX BOX wx:Slider:Box08 ISEXEC:FALSE --33.591259:20.733225:900.000000 -17.808741:10.733225:900.000000 +-70.769347:22.610906:900.000000 +-19.369347:12.610906:900.000000 +PORT +Label:true +PORT +Max:5000 +PORT +Title:"Iso Min" FIN_BOX BOX wx:LayoutTab:Box09 ISEXEC:FALSE --48.369119:-95.327040:900.000000 -9.190881:-105.327040:900.000000 +-23.353929:-110.866779:900.000000 +34.206071:-120.866779:900.000000 FIN_BOX BOX creaMiniToolsBase:SaveMHD-Button:Box10 ISEXEC:FALSE --24.940805:-74.782211:900.000000 -20.634195:-84.782211:900.000000 +-24.940805:-69.524704:900.000000 +20.634195:-79.524704:900.000000 FIN_BOX BOX wx:OutputText:Box11 ISEXEC:FALSE -74.539422:-4.857703:900.000000 -120.114422:-14.857703:900.000000 +-99.333856:-22.883442:900.000000 +-53.758856:-32.883442:900.000000 PORT In:"Min. Max. Gray level" FIN_BOX -CONNECTIONS:15 +BOX +wxvtk:IsoSurfaceWidget:Box12 +ISEXEC:FALSE +37.993410:-53.775525:900.000000 +83.568410:-63.775525:900.000000 +PORT +Title:"Iso Surface" +FIN_BOX +CONNECTIONS:19 CONNECTION Box00:Widget:Box01:Widget5 NumberOfControlPoints:0 @@ -121,15 +143,9 @@ CONNECTION Box03:Widget:Box05:Widget2 NumberOfControlPoints:0 CONNECTION -In:In:Box02:In -NumberOfControlPoints:0 -CONNECTION Box05:Widget:Widget:Widget NumberOfControlPoints:0 CONNECTION -Box07:OutEnd:Box02:UpperThreshold -NumberOfControlPoints:0 -CONNECTION Box08:Out:Box02:LowerThreshold NumberOfControlPoints:0 CONNECTION @@ -139,9 +155,6 @@ CONNECTION Box09:Widget:Box05:Widget1 NumberOfControlPoints:0 CONNECTION -Box10:Widget:Box09:Widget2 -NumberOfControlPoints:0 -CONNECTION Box02:Out:Box10:In NumberOfControlPoints:0 CONNECTION @@ -153,4 +166,25 @@ NumberOfControlPoints:0 CONNECTION Box08:Widget:Box01:Widget4 NumberOfControlPoints:0 +CONNECTION +vtkRenderer:vtkRenderer:Box12:vtkRenderer +NumberOfControlPoints:0 +CONNECTION +Box12:BoxChange:BoxChange:BoxChange +NumberOfControlPoints:0 +CONNECTION +Box02:Out:Box12:In +NumberOfControlPoints:0 +CONNECTION +In:In:Box02:In +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box12:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box12:Widget:Box09:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box10:Widget:Box09:Widget3 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbs b/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbs index f4c8609..807b4db 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.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/ThresholdWidget.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbs # ---------------------------------- include std @@ -9,6 +9,7 @@ include wx include itk include creaMaracasVisu include creaMiniToolsBase +include wxvtk define ThresholdWidget creaMiniTools @@ -42,6 +43,9 @@ new SliderMinMax Box07 set Box07.InMinShow 1000 new Slider Box08 + set Box08.Label true + set Box08.Max 5000 + set Box08.Title "Iso Min" new LayoutTab Box09 @@ -50,26 +54,33 @@ new SaveMHD-Button Box10 new OutputText Box11 set Box11.In "Min. Max. Gray level" +new IsoSurfaceWidget Box12 + set Box12.Title "Iso Surface" + connect Box00.Widget Box01.Widget5 connect Box00.BoxChange Box03.BoxExecute connect Box02.Out Box03.In connect Box03.Widget Box05.Widget2 -connect Box07.OutEnd Box02.UpperThreshold connect Box08.Out Box02.LowerThreshold connect Box01.Widget Box09.Widget1 connect Box09.Widget Box05.Widget1 -connect Box10.Widget Box09.Widget2 connect Box02.Out Box10.In connect Box11.Widget Box01.Widget1 connect Box07.Widget Box01.Widget2 connect Box08.Widget Box01.Widget4 +connect Box02.Out Box12.In +connect Box00.BoxChange Box12.BoxExecute +connect Box12.Widget Box09.Widget2 +connect Box10.Widget Box09.Widget3 # Complex input ports +input vtkRenderer Box12.vtkRenderer " " input In Box02.In " " # Complex output ports output Widget Box05.Widget " " +output BoxChange Box12.BoxChange " " endefine diff --git a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg index c42bdf5..fe0684e 100755 --- a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg @@ -14,130 +14,170 @@ COMPLEXINPUTS:0 COMPLEXOUTPUTS:1 COMPLEX_PORT CommandMenu -32.939583:-66.819495:900.000000 +28.420763:-34.696505:900.000000 FIN_COMPLEX_PORT -BOXES:15 +BOXES:21 BOX wx:CommandButton:Box00 ISEXEC:FALSE --47.982187:161.849812:900.000000 --2.407187:151.849812:900.000000 +-170.029535:175.731975:900.000000 +-124.454535:165.731975:900.000000 PORT Label:"bbEditor" FIN_BOX BOX wx:CommandButton:Box01 ISEXEC:FALSE -71.424801:124.920441:900.000000 -116.999801:114.920441:900.000000 +-50.622547:138.802604:900.000000 +-5.047547:128.802604:900.000000 PORT Label:"bbi" FIN_BOX BOX wx:CommandButton:Box02 ISEXEC:FALSE -39.348765:171.859089:900.000000 -84.923765:161.859089:900.000000 +-82.698583:185.741252:900.000000 +-37.123583:175.741252:900.000000 PORT Label:"bbStudio" FIN_BOX BOX wx:CommandButton:Box03 ISEXEC:FALSE -63.720614:69.629803:900.000000 -109.295614:59.629803:900.000000 +67.431701:199.833211:900.000000 +113.006701:189.833211:900.000000 PORT Label:"Create New Project" FIN_BOX BOX std:ExecSystemCommand:Box04 ISEXEC:FALSE -77.202184:51.862692:900.000000 -148.377184:41.862692:900.000000 +59.453472:180.495871:900.000000 +130.628472:170.495871:900.000000 PORT In:"creaNewProject &" FIN_BOX BOX std:ExecSystemCommand:Box05 ISEXEC:FALSE -93.515588:108.935109:900.000000 -164.690588:98.935109:900.000000 +-28.531760:122.817272:900.000000 +42.643240:112.817272:900.000000 PORT In:"bbi &" FIN_BOX BOX std:ExecSystemCommand:Box06 ISEXEC:FALSE -54.029287:154.793328:900.000000 -125.204287:144.793328:900.000000 +-68.018061:168.675491:900.000000 +3.156939:158.675491:900.000000 PORT In:"bbStudio &" FIN_BOX BOX std:ExecSystemCommand:Box07 ISEXEC:FALSE --54.728075:144.644427:900.000000 -16.446925:134.644427:900.000000 +-176.775423:158.526590:900.000000 +-105.600423:148.526590:900.000000 PORT In:"bbEditor &" FIN_BOX BOX wx:LayoutLine:Box09 ISEXEC:FALSE --16.447015:-23.784242:900.000000 -41.112985:-33.784242:900.000000 +-103.704774:27.369568:900.000000 +-46.144774:17.369568:900.000000 +PORT +Orientation:H PORT WinTitle:"bbg/bbs" FIN_BOX BOX wx:LayoutTab:Box10 ISEXEC:FALSE -39.204980:-47.382374:900.000000 -96.764980:-57.382374:900.000000 +23.338859:-13.001880:900.000000 +80.898859:-23.001880: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 +131.157526:29.295253:900.000000 +188.717526:19.295253:900.000000 +PORT +Orientation:H PORT WinTitle:"C++" FIN_BOX BOX wx:CommandButton:Box12 ISEXEC:FALSE -84.581135:36.578291:900.000000 -130.156135:26.578291:900.000000 +155.115472:191.483109:900.000000 +200.690472:181.483109: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 +177.239694:138.705653:900.000000 +222.814694:128.705653: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 +139.744324:167.663640:900.000000 +210.919324:157.663640: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 +159.165315:122.751679:900.000000 +230.340315:112.751679:900.000000 PORT In:"bbi toolsbbtk/appli/GUICreateBlackBox.bbs &" FIN_BOX -CONNECTIONS:15 +BOX +wx:LayoutLine:Box16 +ISEXEC:FALSE +-165.151730:72.817119:900.000000 +-107.591730:62.817119:900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box17 +ISEXEC:FALSE +-100.994984:71.786209:900.000000 +-43.434984:61.786209:900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box18 +ISEXEC:FALSE +-37.497728:72.000231:900.000000 +20.062272:62.000231:900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box19 +ISEXEC:FALSE +185.016484:67.993899:900.000000 +242.576484:57.993899:900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box20 +ISEXEC:FALSE +59.544285:67.183265:900.000000 +117.104285:57.183265:900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box21 +ISEXEC:FALSE +122.057071:67.987909:900.000000 +179.617071:57.987909:900.000000 +FIN_BOX +CONNECTIONS:21 CONNECTION Box01:BoxChange:Box05:BoxExecute NumberOfControlPoints:0 @@ -148,39 +188,57 @@ CONNECTION Box02:BoxChange:Box06:BoxExecute NumberOfControlPoints:0 CONNECTION -Box01:Widget:Box09:Widget3 +Box00:BoxChange:Box07:BoxExecute NumberOfControlPoints:0 CONNECTION -Box00:BoxChange:Box07:BoxExecute +Box09:Widget:Box10:Widget1 NumberOfControlPoints:0 CONNECTION -Box00:Widget:Box09:Widget1 +Box11:Widget:Box10:Widget2 NumberOfControlPoints:0 CONNECTION -Box02:Widget:Box09:Widget2 +Box10:Widget:CommandMenu:CommandMenu NumberOfControlPoints:0 CONNECTION -Box09:Widget:Box10:Widget1 +Box12:BoxChange:Box14:BoxExecute NumberOfControlPoints:0 CONNECTION -Box11:Widget:Box10:Widget2 +Box13:BoxChange:Box15:BoxExecute NumberOfControlPoints:0 CONNECTION -Box10:Widget:CommandMenu:CommandMenu +Box01:Widget:Box17:Widget3 NumberOfControlPoints:0 CONNECTION -Box03:Widget:Box11:Widget1 +Box02:Widget:Box17:Widget2 NumberOfControlPoints:0 CONNECTION -Box12:Widget:Box11:Widget2 +Box00:Widget:Box17:Widget1 NumberOfControlPoints:0 CONNECTION -Box13:Widget:Box11:Widget3 +Box18:Widget:Box09:Widget3 NumberOfControlPoints:0 CONNECTION -Box12:BoxChange:Box14:BoxExecute +Box17:Widget:Box09:Widget2 NumberOfControlPoints:0 CONNECTION -Box13:BoxChange:Box15:BoxExecute +Box16:Widget:Box09:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box20:Widget:Box11:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box21:Widget:Box11:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box19:Widget:Box11:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box21:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box12:Widget:Box21:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box03:Widget:Box21:Widget1 NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs index df5545a..b6bfa2f 100755 --- a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs @@ -40,12 +40,14 @@ new ExecSystemCommand Box07 set Box07.In "bbEditor &" new LayoutLine Box09 + set Box09.Orientation H set Box09.WinTitle "bbg/bbs" new LayoutTab Box10 set Box10.WinTitle "DevelTools" new LayoutLine Box11 + set Box11.Orientation H set Box11.WinTitle "C++" new CommandButton Box12 @@ -60,21 +62,39 @@ new ExecSystemCommand Box14 new ExecSystemCommand Box15 set Box15.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &" +new LayoutLine Box16 + +new LayoutLine Box17 + +new LayoutLine Box18 + +new LayoutLine Box19 + +new LayoutLine Box20 + +new LayoutLine Box21 + connect Box01.BoxChange Box05.BoxExecute connect Box03.BoxChange Box04.BoxExecute connect Box02.BoxChange Box06.BoxExecute -connect Box01.Widget Box09.Widget3 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 +connect Box01.Widget Box17.Widget3 +connect Box02.Widget Box17.Widget2 +connect Box00.Widget Box17.Widget1 +connect Box18.Widget Box09.Widget3 +connect Box17.Widget Box09.Widget2 +connect Box16.Widget Box09.Widget1 +connect Box20.Widget Box11.Widget1 +connect Box21.Widget Box11.Widget2 +connect Box19.Widget Box11.Widget3 +connect Box13.Widget Box21.Widget3 +connect Box12.Widget Box21.Widget2 +connect Box03.Widget Box21.Widget1 # Complex input ports diff --git a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg index 6271ce0..8a7cfb4 100755 --- a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbg @@ -16,7 +16,7 @@ COMPLEX_PORT widget 7.901360:-4.634448:900.000000 FIN_COMPLEX_PORT -BOXES:6 +BOXES:8 BOX wx:CommandButton:Box00 ISEXEC:FALSE @@ -31,6 +31,8 @@ ISEXEC:TRUE 5.740400:21.346327:900.000000 63.300400:11.346327:900.000000 PORT +Orientation:H +PORT WinTitle:"maxiTools" FIN_BOX BOX @@ -42,48 +44,62 @@ PORT In:"creaContourApp &" FIN_BOX BOX -wx:OutputText:Box07 -ISEXEC:FALSE --16.108386:221.092541:900.000000 -29.466614:211.092541:900.000000 -PORT -In:"Select the Example" -FIN_BOX -BOX wx:CommandButton:Box11 ISEXEC:FALSE -70.686249:87.734655:900.000000 -116.261249:77.734655:900.000000 +70.266341:130.565255:900.000000 +115.841341:120.565255:900.000000 PORT Label:"Image Tool" FIN_BOX BOX std:ExecSystemCommand:Box12 ISEXEC:FALSE -81.317089:65.006652:900.000000 -152.492089:55.006652:900.000000 +62.841144:103.638174:900.000000 +134.016144:93.638174:900.000000 PORT In:"bbi creaMiniTools/appli/ImageTool.bbs &" FIN_BOX -CONNECTIONS:6 +BOX +wx:LayoutLine:Box09 +ISEXEC:FALSE +-90.777851:81.950689:900.000000 +-33.217851:71.950689:900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box10 +ISEXEC:FALSE +-8.056005:79.011334:900.000000 +49.503995:69.011334:900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box13 +ISEXEC:FALSE +81.804274:72.292808:900.000000 +139.364274:62.292808:900.000000 +FIN_BOX +CONNECTIONS:8 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 CONNECTION -Box07:Widget:Box03:Widget1 -NumberOfControlPoints:1 -10.657051:177.625870:900.000000 -CONNECTION -Box00:Widget:Box03:Widget2 -NumberOfControlPoints:1 -34.281284:140.932907:900.000000 -CONNECTION Box03:Widget:widget:widget NumberOfControlPoints:0 CONNECTION Box11:BoxChange:Box12:BoxExecute NumberOfControlPoints:0 CONNECTION -Box11:Widget:Box03:Widget5 +Box09:Widget:Box03:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box10:Widget:Box03:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box03:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box10:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box00:Widget:Box10:Widget2 NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs index 9e10874..63d13c6 100644 --- a/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/maxiToolsMenu.bbs @@ -19,26 +19,32 @@ new CommandButton Box00 set Box00.Label "creaContoursApp" new LayoutLine Box03 + set Box03.Orientation H set Box03.WinTitle "maxiTools" new ExecSystemCommand Box04 set Box04.In "creaContourApp &" -new OutputText Box07 - set Box07.In "Select the Example" - new CommandButton Box11 set Box11.Label "Image Tool" new ExecSystemCommand Box12 set Box12.In "bbi creaMiniTools/appli/ImageTool.bbs &" +new LayoutLine Box09 + +new LayoutLine Box10 + +new LayoutLine Box13 + connect Box00.BoxChange Box04.BoxExecute -connect Box07.Widget Box03.Widget1 -connect Box00.Widget Box03.Widget2 connect Box11.BoxChange Box12.BoxExecute -connect Box11.Widget Box03.Widget5 +connect Box09.Widget Box03.Widget1 +connect Box10.Widget Box03.Widget2 +connect Box13.Widget Box03.Widget3 +connect Box11.Widget Box10.Widget3 +connect Box00.Widget Box10.Widget2 exec Box03 diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg b/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg index f78f32c..88a40c1 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbg @@ -20,7 +20,7 @@ COMPLEX_PORT Widget -111.247984:-117.548664:900.000000 FIN_COMPLEX_PORT -BOXES:3 +BOXES:4 BOX wx:CommandButton:Box00 ISEXEC:FALSE @@ -47,7 +47,15 @@ BoxProcessMode:Always PORT OpenSave:Save FIN_BOX -CONNECTIONS:4 +BOX +wx:LayoutLine:Box03 +ISEXEC:FALSE +-133.745102:-96.440218:900.000000 +-76.185102:-106.440218:900.000000 +PORT +WinTitle:"Save MHD" +FIN_BOX +CONNECTIONS:5 CONNECTION Box00:BoxChange:Box01:BoxExecute NumberOfControlPoints:0 @@ -55,10 +63,13 @@ CONNECTION Box02:Out:Box01:Filename NumberOfControlPoints:0 CONNECTION -Box00:Widget:Widget:Widget -NumberOfControlPoints:0 -CONNECTION In:In:Box01:In NumberOfControlPoints:1 -43.197277:-54.220032:900.000000 +CONNECTION +Box03:Widget:Widget:Widget +NumberOfControlPoints:0 +CONNECTION +Box00:Widget:Box03:Widget1 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs b/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs index 453c27f..46cfa6d 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/SaveMHD-Button.bbs @@ -25,15 +25,19 @@ new FileSelector Box02 set Box02.BoxProcessMode Always set Box02.OpenSave Save +new LayoutLine Box03 + set Box03.WinTitle "Save MHD" + connect Box00.BoxChange Box01.BoxExecute connect Box02.Out Box01.Filename +connect Box00.Widget Box03.Widget1 # Complex input ports input In Box01.In " " # Complex output ports -output Widget Box00.Widget " " +output Widget Box03.Widget " " endefine -- 2.47.1