From: Eduardo Davila Date: Fri, 13 Apr 2012 14:09:42 +0000 (+0000) Subject: no message X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=22c5f80e9cb364ad25f2b85a7ff5528c55828bf6;p=creaMiniTools.git no message --- diff --git a/bbtk_package_creaMiniTools/bbs/appli/registration2DExample.bbg b/bbtk_package_creaMiniTools/bbs/appli/registration2DExample.bbg deleted file mode 100755 index 17feb6c..0000000 --- a/bbtk_package_creaMiniTools/bbs/appli/registration2DExample.bbg +++ /dev/null @@ -1,836 +0,0 @@ -# ---------------------------------- -# - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/registration/registration2DExample.bbg -# ---------------------------------- - -APP_START -CATEGORY: -DESCRIPTION:Description ?? -AUTHOR:Author ?? -COMPLEXBOX:FALSE -BOXES:55 -BOX -creaMaracasVisu:SliceImage:imgslice1 -ISEXEC:FALSE -0.000000:10.000000:900.000000 -100.000000:0.000000:900.000000 -FIN_BOX -BOX -creaMaracasVisu:SliceImage:imgslice2 -ISEXEC:FALSE --219.811937:-87.499683:900.000000 --119.811937:-97.499683:900.000000 -FIN_BOX -BOX -wx:LayoutLine:v1Layout -ISEXEC:FALSE -0.000000:-50.000000:900.000000 -100.000000:-60.000000:900.000000 -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewer1 -ISEXEC:FALSE --100.000000:-80.000000:900.000000 -0.000000:-90.000000:900.000000 -PORT -nTypeView:"0" -FIN_BOX -BOX -wx:LayoutLine:v2Layout -ISEXEC:FALSE --217.123980:-171.874709:900.000000 --117.123980:-181.874709:900.000000 -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewer2 -ISEXEC:FALSE --330.061419:-348.686520:900.000000 --230.061419:-358.686520:900.000000 -PORT -nTypeView:"0" -FIN_BOX -BOX -wx:LayoutSplit:initialImages -ISEXEC:FALSE --165.936720:-230.749715:900.000000 --65.936720:-240.749715:900.000000 -PORT -Orientation:"H" -PORT -Proportion:"50" -FIN_BOX -BOX -wx:LayoutLine:buttonsLayout -ISEXEC:FALSE --220.374434:-322.624424:900.000000 --120.374434:-332.624424:900.000000 -PORT -Orientation:"V" -FIN_BOX -BOX -wx:Slider:slider -ISEXEC:FALSE -0.000000:-230.000000:900.000000 -100.000000:-240.000000:900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -ReactiveOnTrack:"1" -PORT -Title:"Angle" -FIN_BOX -BOX -wx:Slider:sliderX -ISEXEC:FALSE --354.811303:-253.812529:900.000000 --254.811303:-263.812529:900.000000 -PORT -In:"100" -PORT -Max:"500" -PORT -Min:"10" -PORT -ReactiveOnTrack:"1" -PORT -Title:"% Scale in X" -FIN_BOX -BOX -wx:Slider:sliderY -ISEXEC:FALSE -0.000000:-290.000000:900.000000 -100.000000:-300.000000:900.000000 -PORT -In:"100" -PORT -Max:"500" -PORT -Min:"10" -PORT -ReactiveOnTrack:"1" -PORT -Title:"% Scale in Y" -FIN_BOX -BOX -PackRegistration:Transform2DBox:transform -ISEXEC:FALSE --237.249355:-389.187175:900.000000 --137.249355:-399.187175:900.000000 -FIN_BOX -BOX -PackRegistration:ReSlicerBox:reslice1 -ISEXEC:FALSE -0.000000:-350.000000:900.000000 -100.000000:-360.000000:900.000000 -FIN_BOX -BOX -PackRegistration:ImageConvolution:convol1 -ISEXEC:FALSE -146.936340:-300.687873:900.000000 -246.936340:-310.687873:900.000000 -FIN_BOX -BOX -PackRegistration:ImageConvolution:convol2 -ISEXEC:FALSE -104.624508:-463.437249:900.000000 -204.624508:-473.437249:900.000000 -FIN_BOX -BOX -PackRegistration:ImageRegistrationProperties:properties -ISEXEC:FALSE -123.873948:-98.001607:900.000000 -223.873948:-108.001607:900.000000 -FIN_BOX -BOX -wx:Slider:sdrZ -ISEXEC:FALSE -31.499852:-169.626411:900.000000 -131.499852:-179.626411:900.000000 -PORT -Min:"0" -PORT -ReactiveOnTrack:"1" -PORT -Title:"Z for slice" -FIN_BOX -BOX -wx:Slider:sdrF -ISEXEC:FALSE -191.373631:-416.750391:900.000000 -291.373631:-426.750391:900.000000 -PORT -In:"0" -PORT -Max:"100" -PORT -Min:"0" -PORT -ReactiveOnTrack:"1" -PORT -Title:"Convolution Factor" -FIN_BOX -BOX -wx:CheckBox:checkF -ISEXEC:FALSE -0.000000:-530.000000:900.000000 -100.000000:-540.000000:900.000000 -PORT -In:"True" -FIN_BOX -BOX -std:MultipleInputs:multF -ISEXEC:FALSE -160.436276:-599.374815:900.000000 -260.436276:-609.374815:900.000000 -FIN_BOX -BOX -wx:Slider:colorLevel -ISEXEC:FALSE -0.000000:-590.000000:900.000000 -100.000000:-600.000000:900.000000 -PORT -Min:"0" -PORT -ReactiveOnTrack:"true" -PORT -Title:"Color Level" -FIN_BOX -BOX -wx:Slider:windowLevel -ISEXEC:FALSE --100.000000:-620.000000:900.000000 -0.000000:-630.000000:900.000000 -PORT -Min:"0" -PORT -ReactiveOnTrack:"true" -PORT -Title:"Window Level" -FIN_BOX -BOX -std:MultipleInputs:multLevels -ISEXEC:FALSE -0.000000:-650.000000:900.000000 -100.000000:-660.000000:900.000000 -FIN_BOX -BOX -wx:CommandButton:saveBut -ISEXEC:FALSE --100.000000:-680.000000:900.000000 -0.000000:-690.000000:900.000000 -PORT -Label:"Save Image" -FIN_BOX -BOX -wx:FileSelector:fileSave -ISEXEC:FALSE -0.000000:-710.000000:900.000000 -100.000000:-720.000000:900.000000 -PORT -OpenSave:"Save" -PORT -Wildcard:"*.mhd" -FIN_BOX -BOX -vtk:MetaImageWriter:writSave -ISEXEC:FALSE --100.000000:-740.000000:900.000000 -0.000000:-750.000000:900.000000 -FIN_BOX -BOX -PackRegistration:CheckBoardBox:cbb -ISEXEC:FALSE -0.000000:-770.000000:900.000000 -100.000000:-780.000000:900.000000 -FIN_BOX -BOX -wx:Slider:sdr -ISEXEC:FALSE --100.000000:-800.000000:900.000000 -0.000000:-810.000000:900.000000 -PORT -In:"14" -PORT -Max:"50" -PORT -ReactiveOnTrack:"1" -FIN_BOX -BOX -wx:Slider:sdr2 -ISEXEC:FALSE -82.687111:-835.062476:900.000000 -182.687111:-845.062476:900.000000 -PORT -In:"14" -PORT -Max:"50" -PORT -ReactiveOnTrack:"1" -FIN_BOX -BOX -wx:LayoutSplit:checkerBoard -ISEXEC:FALSE --100.000000:-860.000000:900.000000 -0.000000:-870.000000:900.000000 -PORT -Proportion:"80" -FIN_BOX -BOX -wx:LayoutLine:ly -ISEXEC:FALSE --22.499894:-914.187386:900.000000 -77.500106:-924.187386:900.000000 -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewerCH -ISEXEC:FALSE --100.000000:-920.000000:900.000000 -0.000000:-930.000000:900.000000 -PORT -nTypeView:"0" -FIN_BOX -BOX -PackRegistration:TransparencyBox:trans -ISEXEC:FALSE -0.000000:-950.000000:900.000000 -100.000000:-960.000000:900.000000 -FIN_BOX -BOX -wx:Slider:sdrP -ISEXEC:FALSE --100.000000:-980.000000:900.000000 -0.000000:-990.000000:900.000000 -PORT -In:"50" -PORT -Max:"100" -PORT -Min:"0" -PORT -ReactiveOnTrack:"true" -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:transView -ISEXEC:FALSE -0.000000:-1010.000000:900.000000 -100.000000:-1020.000000:900.000000 -PORT -nTypeView:"0" -FIN_BOX -BOX -wx:LayoutSplit:transparency -ISEXEC:FALSE --105.624974:-1131.687069:900.000000 --5.624974:-1141.687069:900.000000 -PORT -Proportion:"80" -FIN_BOX -BOX -PackRegistration:ImageSwitcherBox:switch -ISEXEC:FALSE -21.374900:-1096.437376:900.000000 -121.374900:-1106.437376:900.000000 -FIN_BOX -BOX -wx:CheckBox:checkS -ISEXEC:FALSE --224.311916:-1136.562328:900.000000 --124.311916:-1146.562328:900.000000 -PORT -In:"true" -PORT -Title:"On" -FIN_BOX -BOX -wx:Slider:sdrT -ISEXEC:FALSE -96.187048:-1030.437968:900.000000 -196.187048:-1040.437968:900.000000 -PORT -In:"500" -PORT -Max:"1000" -PORT -Min:"0" -PORT -ReactiveOnTrack:"True" -FIN_BOX -BOX -wxvtk:Viewer2D:viewerSwitch -ISEXEC:FALSE -97.999070:-1147.062561:900.000000 -197.999070:-1157.062561:900.000000 -FIN_BOX -BOX -wx:LayoutSplit:switcher -ISEXEC:FALSE -32.062349:-1192.249989:900.000000 -132.062349:-1202.249989:900.000000 -PORT -Proportion:"70" -FIN_BOX -BOX -wx:LayoutSplit:switchWindow -ISEXEC:FALSE --188.312085:-1239.124910:900.000000 --88.312085:-1249.124910:900.000000 -PORT -Proportion:"80" -FIN_BOX -BOX -wx:LayoutSplit:switchTool -ISEXEC:FALSE -0.000000:-1250.000000:900.000000 -100.000000:-1260.000000:900.000000 -PORT -Orientation:"H" -PORT -Proportion:"50" -FIN_BOX -BOX -std:MultipleInputs:mult -ISEXEC:FALSE --281.124149:-1262.562582:900.000000 --181.124149:-1272.562582:900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult2 -ISEXEC:FALSE --265.498752:-1304.375026:900.000000 --165.498752:-1314.375026:900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult3 -ISEXEC:FALSE --197.312043:-1368.124868:900.000000 --97.312043:-1378.124868:900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult4 -ISEXEC:FALSE -0.000000:-1370.000000:900.000000 -100.000000:-1380.000000:900.000000 -FIN_BOX -BOX -wx:LayoutTab:tabs -ISEXEC:FALSE --100.000000:-1400.000000:900.000000 -0.000000:-1410.000000:900.000000 -FIN_BOX -BOX -wx:LayoutLine:tools -ISEXEC:FALSE -0.000000:-1430.000000:900.000000 -100.000000:-1440.000000:900.000000 -FIN_BOX -BOX -wx:LayoutSplit:convolTools -ISEXEC:FALSE --100.000000:-1460.000000:900.000000 -0.000000:-1470.000000:900.000000 -PORT -Orientation:"H" -PORT -Proportion:"80" -FIN_BOX -BOX -wx:LayoutSplit:window1 -ISEXEC:FALSE -0.000000:-1490.000000:900.000000 -100.000000:-1500.000000:900.000000 -PORT -Orientation:"V" -PORT -Proportion:"80" -PORT -WinWidth:"600" -FIN_BOX -BOX -wx:LayoutSplit:window2 -ISEXEC:FALSE --100.000000:-1520.000000:900.000000 -0.000000:-1530.000000:900.000000 -PORT -Proportion:"90" -FIN_BOX -BOX -wx:LayoutSplit:main -ISEXEC:TRUE -0.000000:-1550.000000:900.000000 -100.000000:-1560.000000:900.000000 -PORT -Orientation:"H" -PORT -Proportion:"50" -PORT -WinWidth:"1200" -FIN_BOX -BOX -creaImageIO:ImagesChooserDialogBox:Box55 -ISEXEC:FALSE --213.186498:59.905969:900.000000 --113.186498:49.905969:900.000000 -FIN_BOX -BOX -creaImageIO:ImagesChooserDialogBox:Box56 -ISEXEC:FALSE -192.374096:-13.218688:900.000000 -292.374096:-23.218688:900.000000 -FIN_BOX -CONNECTIONS:117 -CONNECTION -viewer1:Widget:v1Layout:Widget1 -NumberOfControlPoints:0 -CONNECTION -viewer2:Widget:v2Layout:Widget1 -NumberOfControlPoints:0 -CONNECTION -v1Layout:Widget:initialImages:Widget1 -NumberOfControlPoints:0 -CONNECTION -v2Layout:Widget:initialImages:Widget2 -NumberOfControlPoints:0 -CONNECTION -slider:Widget:buttonsLayout:Widget1 -NumberOfControlPoints:0 -CONNECTION -sliderX:Widget:buttonsLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -sliderY:Widget:buttonsLayout:Widget3 -NumberOfControlPoints:0 -CONNECTION -viewer2:Point:transform:CenterPoint -NumberOfControlPoints:0 -CONNECTION -slider:Out:transform:Angle -NumberOfControlPoints:0 -CONNECTION -sliderX:Out:transform:ScaleX -NumberOfControlPoints:0 -CONNECTION -sliderY:Out:transform:ScaleY -NumberOfControlPoints:0 -CONNECTION -viewer1:Point:reslice1:Origin -NumberOfControlPoints:0 -CONNECTION -transform:Out:reslice1:Transform -NumberOfControlPoints:0 -CONNECTION -imgslice2:Out:reslice1:In -NumberOfControlPoints:0 -CONNECTION -imgslice1:Out:convol1:In -NumberOfControlPoints:0 -CONNECTION -reslice1:Out:convol2:In -NumberOfControlPoints:0 -CONNECTION -properties:LengthZ:sdrZ:Max -NumberOfControlPoints:0 -CONNECTION -sdrZ:Out:imgslice1:Z -NumberOfControlPoints:0 -CONNECTION -sdrZ:Out:imgslice2:Z -NumberOfControlPoints:0 -CONNECTION -sdrZ:BoxChange:imgslice1:BoxExecute -NumberOfControlPoints:0 -CONNECTION -sdrZ:BoxChange:imgslice2:BoxExecute -NumberOfControlPoints:0 -CONNECTION -sdrF:Out:convol1:Factor -NumberOfControlPoints:0 -CONNECTION -sdrF:Out:convol2:Factor -NumberOfControlPoints:0 -CONNECTION -checkF:Out:convol1:On -NumberOfControlPoints:0 -CONNECTION -checkF:Out:convol2:On -NumberOfControlPoints:0 -CONNECTION -sdrF:BoxChange:multF:In1 -NumberOfControlPoints:0 -CONNECTION -checkF:BoxChange:multF:In2 -NumberOfControlPoints:0 -CONNECTION -multF:BoxChange:convol1:BoxExecute -NumberOfControlPoints:0 -CONNECTION -multF:BoxChange:convol2:BoxExecute -NumberOfControlPoints:0 -CONNECTION -properties:ColorLevel:colorLevel:Max -NumberOfControlPoints:0 -CONNECTION -properties:MidColorLevel:colorLevel:In -NumberOfControlPoints:0 -CONNECTION -properties:ColorLevel:windowLevel:Max -NumberOfControlPoints:0 -CONNECTION -properties:MidColorLevel:windowLevel:In -NumberOfControlPoints:0 -CONNECTION -colorLevel:Out:viewer1:ColorLevel -NumberOfControlPoints:0 -CONNECTION -colorLevel:Out:viewer2:ColorLevel -NumberOfControlPoints:0 -CONNECTION -windowLevel:Out:viewer1:WindowLevel -NumberOfControlPoints:0 -CONNECTION -windowLevel:Out:viewer2:WindowLevel -NumberOfControlPoints:0 -CONNECTION -colorLevel:BoxChange:multLevels:In1 -NumberOfControlPoints:0 -CONNECTION -windowLevel:BoxChange:multLevels:In2 -NumberOfControlPoints:0 -CONNECTION -multLevels:BoxChange:viewer1:BoxExecute -NumberOfControlPoints:0 -CONNECTION -multLevels:BoxChange:viewer2:BoxExecute -NumberOfControlPoints:0 -CONNECTION -reslice1:Out:writSave:In -NumberOfControlPoints:0 -CONNECTION -fileSave:Out:writSave:Filename -NumberOfControlPoints:0 -CONNECTION -saveBut:BoxChange:fileSave:BoxExecute -NumberOfControlPoints:0 -CONNECTION -fileSave:BoxChange:writSave:BoxExecute -NumberOfControlPoints:0 -CONNECTION -convol1:Out:cbb:In1 -NumberOfControlPoints:0 -CONNECTION -convol2:Out:cbb:In2 -NumberOfControlPoints:0 -CONNECTION -colorLevel:Out:viewerCH:ColorLevel -NumberOfControlPoints:0 -CONNECTION -windowLevel:Out:viewerCH:WindowLevel -NumberOfControlPoints:0 -CONNECTION -sdr:Out:cbb:Cols -NumberOfControlPoints:0 -CONNECTION -sdr2:Out:cbb:Rows -NumberOfControlPoints:0 -CONNECTION -cbb:Out:viewerCH:In -NumberOfControlPoints:0 -CONNECTION -sdr:Widget:ly:Widget2 -NumberOfControlPoints:0 -CONNECTION -sdr2:Widget:ly:Widget3 -NumberOfControlPoints:0 -CONNECTION -viewerCH:Widget:checkerBoard:Widget1 -NumberOfControlPoints:0 -CONNECTION -ly:Widget:checkerBoard:Widget2 -NumberOfControlPoints:0 -CONNECTION -convol1:Out:trans:In1 -NumberOfControlPoints:0 -CONNECTION -convol2:Out:trans:In2 -NumberOfControlPoints:0 -CONNECTION -sdrP:Out:trans:Percent -NumberOfControlPoints:0 -CONNECTION -trans:Out:transView:In -NumberOfControlPoints:0 -CONNECTION -transView:Widget:transparency:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrP:Widget:transparency:Widget2 -NumberOfControlPoints:0 -CONNECTION -colorLevel:Out:transView:ColorLevel -NumberOfControlPoints:0 -CONNECTION -windowLevel:Out:transView:WindowLevel -NumberOfControlPoints:0 -CONNECTION -convol1:Out:switch:In1 -NumberOfControlPoints:0 -CONNECTION -convol2:Out:switch:In2 -NumberOfControlPoints:0 -CONNECTION -checkS:Out:switch:On -NumberOfControlPoints:0 -CONNECTION -sdrT:Out:switch:Time -NumberOfControlPoints:0 -CONNECTION -switch:Out:viewerSwitch:In -NumberOfControlPoints:0 -CONNECTION -sdrT:BoxChange:switch:BoxExecute -NumberOfControlPoints:0 -CONNECTION -switch:BoxChange:viewerSwitch:BoxExecute -NumberOfControlPoints:0 -CONNECTION -viewerSwitch:Widget:switchWindow:Widget1 -NumberOfControlPoints:0 -CONNECTION -switch:Widget:switchTool:Widget1 -NumberOfControlPoints:0 -CONNECTION -checkS:Widget:switchTool:Widget2 -NumberOfControlPoints:0 -CONNECTION -switchTool:Widget:switchWindow:Widget2 -NumberOfControlPoints:0 -CONNECTION -switchWindow:Widget:switcher:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrT:Widget:switcher:Widget2 -NumberOfControlPoints:0 -CONNECTION -slider:BoxChange:mult:In1 -NumberOfControlPoints:0 -CONNECTION -sliderX:BoxChange:mult:In2 -NumberOfControlPoints:0 -CONNECTION -sliderY:BoxChange:mult:In3 -NumberOfControlPoints:0 -CONNECTION -viewer1:BoxChange:mult:In4 -NumberOfControlPoints:0 -CONNECTION -viewer2:BoxChange:mult:In5 -NumberOfControlPoints:0 -CONNECTION -multF:BoxChange:mult2:In1 -NumberOfControlPoints:0 -CONNECTION -mult:BoxChange:mult2:In2 -NumberOfControlPoints:0 -CONNECTION -ly:BoxChange:mult3:In1 -NumberOfControlPoints:0 -CONNECTION -mult2:BoxChange:mult3:In2 -NumberOfControlPoints:0 -CONNECTION -imgslice1:BoxChange:mult3:In3 -NumberOfControlPoints:0 -CONNECTION -imgslice2:BoxChange:mult3:In4 -NumberOfControlPoints:0 -CONNECTION -multLevels:BoxChange:mult3:In5 -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:cbb:BoxExecute -NumberOfControlPoints:0 -CONNECTION -cbb:BoxChange:viewerCH:BoxExecute -NumberOfControlPoints:0 -CONNECTION -mult2:BoxChange:mult4:In1 -NumberOfControlPoints:0 -CONNECTION -sdrP:BoxChange:mult4:In2 -NumberOfControlPoints:0 -CONNECTION -mult4:BoxChange:trans:BoxExecute -NumberOfControlPoints:0 -CONNECTION -trans:BoxChange:transView:BoxExecute -NumberOfControlPoints:0 -CONNECTION -switcher:Widget:tabs:Widget1 -NumberOfControlPoints:0 -CONNECTION -checkerBoard:Widget:tabs:Widget2 -NumberOfControlPoints:0 -CONNECTION -transparency:Widget:tabs:Widget3 -NumberOfControlPoints:0 -CONNECTION -sdrZ:Widget:tools:Widget1 -NumberOfControlPoints:0 -CONNECTION -colorLevel:Widget:tools:Widget2 -NumberOfControlPoints:0 -CONNECTION -windowLevel:Widget:tools:Widget3 -NumberOfControlPoints:0 -CONNECTION -saveBut:Widget:tools:Widget5 -NumberOfControlPoints:0 -CONNECTION -sdrF:Widget:convolTools:Widget1 -NumberOfControlPoints:0 -CONNECTION -checkF:Widget:convolTools:Widget2 -NumberOfControlPoints:0 -CONNECTION -convolTools:Widget:tools:Widget4 -NumberOfControlPoints:0 -CONNECTION -initialImages:Widget:window1:Widget1 -NumberOfControlPoints:0 -CONNECTION -buttonsLayout:Widget:window1:Widget2 -NumberOfControlPoints:0 -CONNECTION -tabs:Widget:window2:Widget1 -NumberOfControlPoints:0 -CONNECTION -tools:Widget:window2:Widget2 -NumberOfControlPoints:0 -CONNECTION -window1:Widget:main:Widget1 -NumberOfControlPoints:0 -CONNECTION -window2:Widget:main:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box55:Out:imgslice2:In -NumberOfControlPoints:0 -CONNECTION -Box55:Out:viewer2:In -NumberOfControlPoints:0 -CONNECTION -Box56:Out:imgslice1:In -NumberOfControlPoints:0 -CONNECTION -Box56:Out:viewer1:In -NumberOfControlPoints:0 -CONNECTION -Box56:Out:properties:In -NumberOfControlPoints:0 -CONNECTION -Box56:BoxChange:properties:BoxExecute -NumberOfControlPoints:0 -APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/registration2DExample.bbs b/bbtk_package_creaMiniTools/bbs/appli/registration2DExample.bbs deleted file mode 100755 index 6963396..0000000 --- a/bbtk_package_creaMiniTools/bbs/appli/registration2DExample.bbs +++ /dev/null @@ -1,323 +0,0 @@ -# ---------------------------------- -# - BBTKGEditor v 1.2 BBS BlackBox Script -# - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/registration/registration2DExample.bbs -# ---------------------------------- - -# BBTK GEditor Script -# ---------------------- - -include std -include itkvtk -include creaMaracasVisu -include wx -include PackRegistration -include std -include vtk -include wxvtk -include creaImageIO - -author "Author ??" -description "Description ??" -category "" - -new SliceImage imgslice1 - -new SliceImage imgslice2 - -new LayoutLine v1Layout - -new ViewerNV viewer1 - set viewer1.nTypeView "0" - -new LayoutLine v2Layout - -new ViewerNV viewer2 - set viewer2.nTypeView "0" - -new LayoutSplit initialImages - set initialImages.Orientation "H" - set initialImages.Proportion "50" - -new LayoutLine buttonsLayout - set buttonsLayout.Orientation "V" - -new Slider slider - set slider.In "0" - set slider.Max "180" - set slider.Min "-180" - set slider.ReactiveOnTrack "1" - set slider.Title "Angle" - -new Slider sliderX - set sliderX.In "100" - set sliderX.Max "500" - set sliderX.Min "10" - set sliderX.ReactiveOnTrack "1" - set sliderX.Title "% Scale in X" - -new Slider sliderY - set sliderY.In "100" - set sliderY.Max "500" - set sliderY.Min "10" - set sliderY.ReactiveOnTrack "1" - set sliderY.Title "% Scale in Y" - -new Transform2DBox transform - -new ReSlicerBox reslice1 - -new ImageConvolution convol1 - -new ImageConvolution convol2 - -new ImageRegistrationProperties properties - -new Slider sdrZ - set sdrZ.Min "0" - set sdrZ.ReactiveOnTrack "1" - set sdrZ.Title "Z for slice" - -new Slider sdrF - set sdrF.In "0" - set sdrF.Max "100" - set sdrF.Min "0" - set sdrF.ReactiveOnTrack "1" - set sdrF.Title "Convolution Factor" - -new CheckBox checkF - set checkF.In "True" - -new MultipleInputs multF - -new Slider colorLevel - set colorLevel.Min "0" - set colorLevel.ReactiveOnTrack "true" - set colorLevel.Title "Color Level" - -new Slider windowLevel - set windowLevel.Min "0" - set windowLevel.ReactiveOnTrack "true" - set windowLevel.Title "Window Level" - -new MultipleInputs multLevels - -new CommandButton saveBut - set saveBut.Label "Save Image" - -new FileSelector fileSave - set fileSave.OpenSave "Save" - set fileSave.Wildcard "*.mhd" - -new MetaImageWriter writSave - -new CheckBoardBox cbb - -new Slider sdr - set sdr.In "14" - set sdr.Max "50" - set sdr.ReactiveOnTrack "1" - -new Slider sdr2 - set sdr2.In "14" - set sdr2.Max "50" - set sdr2.ReactiveOnTrack "1" - -new LayoutSplit checkerBoard - set checkerBoard.Proportion "80" - -new LayoutLine ly - -new ViewerNV viewerCH - set viewerCH.nTypeView "0" - -new TransparencyBox trans - -new Slider sdrP - set sdrP.In "50" - set sdrP.Max "100" - set sdrP.Min "0" - set sdrP.ReactiveOnTrack "true" - -new ViewerNV transView - set transView.nTypeView "0" - -new LayoutSplit transparency - set transparency.Proportion "80" - -new ImageSwitcherBox switch - -new CheckBox checkS - set checkS.In "true" - set checkS.Title "On" - -new Slider sdrT - set sdrT.In "500" - set sdrT.Max "1000" - set sdrT.Min "0" - set sdrT.ReactiveOnTrack "True" - -new Viewer2D viewerSwitch - -new LayoutSplit switcher - set switcher.Proportion "70" - -new LayoutSplit switchWindow - set switchWindow.Proportion "80" - -new LayoutSplit switchTool - set switchTool.Orientation "H" - set switchTool.Proportion "50" - -new MultipleInputs mult - -new MultipleInputs mult2 - -new MultipleInputs mult3 - -new MultipleInputs mult4 - -new LayoutTab tabs - -new LayoutLine tools - -new LayoutSplit convolTools - set convolTools.Orientation "H" - set convolTools.Proportion "80" - -new LayoutSplit window1 - set window1.Orientation "V" - set window1.Proportion "80" - set window1.WinWidth "600" - -new LayoutSplit window2 - set window2.Proportion "90" - -new LayoutSplit main - set main.Orientation "H" - set main.Proportion "50" - set main.WinWidth "1200" - -new ImagesChooserDialogBox Box55 - -new ImagesChooserDialogBox Box56 - - -connect viewer1.Widget v1Layout.Widget1 -connect viewer2.Widget v2Layout.Widget1 -connect v1Layout.Widget initialImages.Widget1 -connect v2Layout.Widget initialImages.Widget2 -connect slider.Widget buttonsLayout.Widget1 -connect sliderX.Widget buttonsLayout.Widget2 -connect sliderY.Widget buttonsLayout.Widget3 -connect viewer2.Point transform.CenterPoint -connect slider.Out transform.Angle -connect sliderX.Out transform.ScaleX -connect sliderY.Out transform.ScaleY -connect viewer1.Point reslice1.Origin -connect transform.Out reslice1.Transform -connect imgslice2.Out reslice1.In -connect imgslice1.Out convol1.In -connect reslice1.Out convol2.In -connect properties.LengthZ sdrZ.Max -connect sdrZ.Out imgslice1.Z -connect sdrZ.Out imgslice2.Z -connect sdrZ.BoxChange imgslice1.BoxExecute -connect sdrZ.BoxChange imgslice2.BoxExecute -connect sdrF.Out convol1.Factor -connect sdrF.Out convol2.Factor -connect checkF.Out convol1.On -connect checkF.Out convol2.On -connect sdrF.BoxChange multF.In1 -connect checkF.BoxChange multF.In2 -connect multF.BoxChange convol1.BoxExecute -connect multF.BoxChange convol2.BoxExecute -connect properties.ColorLevel colorLevel.Max -connect properties.MidColorLevel colorLevel.In -connect properties.ColorLevel windowLevel.Max -connect properties.MidColorLevel windowLevel.In -connect colorLevel.Out viewer1.ColorLevel -connect colorLevel.Out viewer2.ColorLevel -connect windowLevel.Out viewer1.WindowLevel -connect windowLevel.Out viewer2.WindowLevel -connect colorLevel.BoxChange multLevels.In1 -connect windowLevel.BoxChange multLevels.In2 -connect multLevels.BoxChange viewer1.BoxExecute -connect multLevels.BoxChange viewer2.BoxExecute -connect reslice1.Out writSave.In -connect fileSave.Out writSave.Filename -connect saveBut.BoxChange fileSave.BoxExecute -connect fileSave.BoxChange writSave.BoxExecute -connect convol1.Out cbb.In1 -connect convol2.Out cbb.In2 -connect colorLevel.Out viewerCH.ColorLevel -connect windowLevel.Out viewerCH.WindowLevel -connect sdr.Out cbb.Cols -connect sdr2.Out cbb.Rows -connect cbb.Out viewerCH.In -connect sdr.Widget ly.Widget2 -connect sdr2.Widget ly.Widget3 -connect viewerCH.Widget checkerBoard.Widget1 -connect ly.Widget checkerBoard.Widget2 -connect convol1.Out trans.In1 -connect convol2.Out trans.In2 -connect sdrP.Out trans.Percent -connect trans.Out transView.In -connect transView.Widget transparency.Widget1 -connect sdrP.Widget transparency.Widget2 -connect colorLevel.Out transView.ColorLevel -connect windowLevel.Out transView.WindowLevel -connect convol1.Out switch.In1 -connect convol2.Out switch.In2 -connect checkS.Out switch.On -connect sdrT.Out switch.Time -connect switch.Out viewerSwitch.In -connect sdrT.BoxChange switch.BoxExecute -connect switch.BoxChange viewerSwitch.BoxExecute -connect viewerSwitch.Widget switchWindow.Widget1 -connect switch.Widget switchTool.Widget1 -connect checkS.Widget switchTool.Widget2 -connect switchTool.Widget switchWindow.Widget2 -connect switchWindow.Widget switcher.Widget1 -connect sdrT.Widget switcher.Widget2 -connect slider.BoxChange mult.In1 -connect sliderX.BoxChange mult.In2 -connect sliderY.BoxChange mult.In3 -connect viewer1.BoxChange mult.In4 -connect viewer2.BoxChange mult.In5 -connect multF.BoxChange mult2.In1 -connect mult.BoxChange mult2.In2 -connect ly.BoxChange mult3.In1 -connect mult2.BoxChange mult3.In2 -connect imgslice1.BoxChange mult3.In3 -connect imgslice2.BoxChange mult3.In4 -connect multLevels.BoxChange mult3.In5 -connect mult3.BoxChange cbb.BoxExecute -connect cbb.BoxChange viewerCH.BoxExecute -connect mult2.BoxChange mult4.In1 -connect sdrP.BoxChange mult4.In2 -connect mult4.BoxChange trans.BoxExecute -connect trans.BoxChange transView.BoxExecute -connect switcher.Widget tabs.Widget1 -connect checkerBoard.Widget tabs.Widget2 -connect transparency.Widget tabs.Widget3 -connect sdrZ.Widget tools.Widget1 -connect colorLevel.Widget tools.Widget2 -connect windowLevel.Widget tools.Widget3 -connect saveBut.Widget tools.Widget5 -connect sdrF.Widget convolTools.Widget1 -connect checkF.Widget convolTools.Widget2 -connect convolTools.Widget tools.Widget4 -connect initialImages.Widget window1.Widget1 -connect buttonsLayout.Widget window1.Widget2 -connect tabs.Widget window2.Widget1 -connect tools.Widget window2.Widget2 -connect window1.Widget main.Widget1 -connect window2.Widget main.Widget2 -connect Box55.Out imgslice2.In -connect Box55.Out viewer2.In -connect Box56.Out imgslice1.In -connect Box56.Out viewer1.In -connect Box56.Out properties.In -connect Box56.BoxChange properties.BoxExecute - -exec main diff --git a/bbtk_package_creaMiniTools/bbs/appli/registration3D1PointExample.bbg b/bbtk_package_creaMiniTools/bbs/appli/registration3D1PointExample.bbg deleted file mode 100755 index e0b2b30..0000000 --- a/bbtk_package_creaMiniTools/bbs/appli/registration3D1PointExample.bbg +++ /dev/null @@ -1,381 +0,0 @@ -# ---------------------------------- -# - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/registration/registration3D1PointExample.bbg -# ---------------------------------- - -APP_START -CATEGORY: -DESCRIPTION:Description ?? -AUTHOR:Author ?? -COMPLEXBOX:FALSE -BOXES:25 -BOX -creaMaracasVisu:ViewerNV:viewer -ISEXEC:FALSE -26.492127:-2.143254:900.000000 -126.492127:-12.143254:900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewer2 -ISEXEC:FALSE --117.946280:-11.633220:900.000000 --17.946280:-21.633220:900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -wx:Slider:sdrAngleX -ISEXEC:FALSE -0.000000:-110.000000:900.000000 -100.000000:-120.000000:900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -ReactiveOnTrack:"true" -PORT -Title:"Rotation angle in X Axis" -FIN_BOX -BOX -wx:Slider:sdrAngleY -ISEXEC:FALSE --132.901513:-156.664403:900.000000 --32.901513:-166.664403:900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -ReactiveOnTrack:"true" -PORT -Title:"Rotation angle in Y Axis" -FIN_BOX -BOX -wx:Slider:sdrAngleZ -ISEXEC:FALSE -0.000000:-170.000000:900.000000 -100.000000:-180.000000:900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -ReactiveOnTrack:"true" -PORT -Title:"Rotation angle in Z Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleX -ISEXEC:FALSE --100.000000:-200.000000:900.000000 -0.000000:-210.000000:900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -ReactiveOnTrack:"true" -PORT -Title:"Scale in X Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleY -ISEXEC:FALSE -0.000000:-230.000000:900.000000 -100.000000:-240.000000:900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -ReactiveOnTrack:"true" -PORT -Title:"Scale in Y Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleZ -ISEXEC:FALSE --100.000000:-260.000000:900.000000 -0.000000:-270.000000:900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -ReactiveOnTrack:"true" -PORT -Title:"Scale in Z Axis" -FIN_BOX -BOX -PackRegistration:Transform3D1PointBox:transform -ISEXEC:FALSE -0.000000:-290.000000:900.000000 -100.000000:-300.000000:900.000000 -FIN_BOX -BOX -PackRegistration:ReSlicerBox:reslicer -ISEXEC:FALSE --221.351035:-101.653595:900.000000 --121.351035:-111.653595:900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult -ISEXEC:FALSE -0.000000:-350.000000:900.000000 -100.000000:-360.000000:900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult2 -ISEXEC:FALSE --100.000000:-380.000000:900.000000 -0.000000:-390.000000:900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult3 -ISEXEC:FALSE -0.000000:-410.000000:900.000000 -100.000000:-420.000000:900.000000 -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewerResult -ISEXEC:FALSE --100.000000:-440.000000:900.000000 -0.000000:-450.000000:900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -wx:LayoutSplit:imagesLayout -ISEXEC:FALSE -38.029022:-276.009261:900.000000 -138.029022:-286.009261:900.000000 -PORT -Orientation:"v" -PORT -Proportion:"50" -FIN_BOX -BOX -wx:LayoutLine:toolsLayout -ISEXEC:FALSE --100.000000:-500.000000:900.000000 -0.000000:-510.000000:900.000000 -PORT -Orientation:"v" -FIN_BOX -BOX -wx:LayoutSplit:resultLayout -ISEXEC:FALSE -0.000000:-530.000000:900.000000 -100.000000:-540.000000:900.000000 -PORT -Orientation:"v" -PORT -Proportion:"60" -FIN_BOX -BOX -wx:LayoutSplit:main -ISEXEC:FALSE --100.000000:-560.000000:900.000000 -0.000000:-570.000000:900.000000 -PORT -Orientation:"h" -PORT -Proportion:"50" -FIN_BOX -BOX -creaImageIO:ImagesChooserDialogBox:Box22 -ISEXEC:FALSE --121.180361:45.517015:900.000000 --21.180361:35.517015:900.000000 -FIN_BOX -BOX -creaImageIO:ImagesChooserDialogBox:Box23 -ISEXEC:FALSE -27.517386:45.089722:900.000000 -127.517386:35.089722:900.000000 -FIN_BOX -BOX -wx:CommandButton:Box21 -ISEXEC:FALSE --298.233241:-411.252950:900.000000 --198.233241:-421.252950:900.000000 -PORT -Label:"Save Image" -FIN_BOX -BOX -wx:FileSelector:Box25 -ISEXEC:FALSE --294.487933:-60.966632:900.000000 --194.487933:-70.966632:900.000000 -PORT -OpenSave:"Save" -PORT -Title:"Save Image" -FIN_BOX -BOX -vtk:MetaImageWriter:Box26 -ISEXEC:FALSE --262.112233:-219.184625:900.000000 --162.112233:-229.184625:900.000000 -FIN_BOX -BOX -wx:LayoutLine:Box27 -ISEXEC:FALSE --264.587829:-510.792385:900.000000 --164.587829:-520.792385:900.000000 -FIN_BOX -BOX -wx:LayoutTab:Box28 -ISEXEC:TRUE --156.257825:-611.900389:900.000000 --56.257825:-621.900389:900.000000 -FIN_BOX -CONNECTIONS:44 -CONNECTION -viewer2:Point:transform:CenterPoint -NumberOfControlPoints:0 -CONNECTION -sdrAngleX:Out:transform:AngleX -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:Out:transform:AngleY -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:Out:transform:AngleZ -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:Out:transform:ScaleX -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:Out:transform:ScaleY -NumberOfControlPoints:0 -CONNECTION -sdrScaleZ:Out:transform:ScaleZ -NumberOfControlPoints:0 -CONNECTION -viewer:Point:reslicer:Origin -NumberOfControlPoints:0 -CONNECTION -transform:Out:reslicer:Transform -NumberOfControlPoints:0 -CONNECTION -viewer:BoxChange:mult:In1 -NumberOfControlPoints:0 -CONNECTION -viewer2:BoxChange:mult:In2 -NumberOfControlPoints:0 -CONNECTION -sdrAngleX:BoxChange:mult:In3 -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:BoxChange:mult:In4 -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:BoxChange:mult:In5 -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:BoxChange:mult2:In1 -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:BoxChange:mult2:In2 -NumberOfControlPoints:0 -CONNECTION -sdrScaleZ:BoxChange:mult2:In3 -NumberOfControlPoints:0 -CONNECTION -mult:BoxChange:mult3:In1 -NumberOfControlPoints:0 -CONNECTION -mult2:BoxChange:mult3:In2 -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:transform:BoxExecute -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:reslicer:BoxExecute -NumberOfControlPoints:0 -CONNECTION -reslicer:Out:viewerResult:In -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:viewerResult:BoxExecute -NumberOfControlPoints:0 -CONNECTION -viewer:Widget:imagesLayout:Widget1 -NumberOfControlPoints:0 -CONNECTION -viewer2:Widget:imagesLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -sdrAngleX:Widget:toolsLayout:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:Widget:toolsLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:Widget:toolsLayout:Widget3 -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:Widget:toolsLayout:Widget4 -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:Widget:toolsLayout:Widget5 -NumberOfControlPoints:0 -CONNECTION -sdrScaleZ:Widget:toolsLayout:Widget6 -NumberOfControlPoints:0 -CONNECTION -viewerResult:Widget:resultLayout:Widget1 -NumberOfControlPoints:0 -CONNECTION -toolsLayout:Widget:resultLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -imagesLayout:Widget:main:Widget1 -NumberOfControlPoints:0 -CONNECTION -resultLayout:Widget:main:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box22:Out:viewer2:In -NumberOfControlPoints:0 -CONNECTION -Box22:Out:reslicer:In -NumberOfControlPoints:0 -CONNECTION -Box23:Out:viewer:In -NumberOfControlPoints:0 -CONNECTION -reslicer:Out:Box26:In -NumberOfControlPoints:0 -CONNECTION -Box25:Out:Box26:Filename -NumberOfControlPoints:0 -CONNECTION -Box21:BoxChange:Box26:BoxExecute -NumberOfControlPoints:0 -CONNECTION -Box21:Widget:Box27:Widget1 -NumberOfControlPoints:0 -CONNECTION -main:Widget:Box28:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box27:Widget:Box28:Widget2 -NumberOfControlPoints:0 -APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/registration3D1PointExample.bbs b/bbtk_package_creaMiniTools/bbs/appli/registration3D1PointExample.bbs deleted file mode 100755 index 83f0742..0000000 --- a/bbtk_package_creaMiniTools/bbs/appli/registration3D1PointExample.bbs +++ /dev/null @@ -1,161 +0,0 @@ -# ---------------------------------- -# - BBTKGEditor v 1.2 BBS BlackBox Script -# - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/registration/registration3D1PointExample.bbs -# ---------------------------------- - -# BBTK GEditor Script -# ---------------------- - -include std -include itkvtk -include creaMaracasVisu -include wx -include PackRegistration -include std -include creaImageIO -include vtk - -author "Author ??" -description "Description ??" -category "" - -new ViewerNV viewer - set viewer.nTypeView "5" - -new ViewerNV viewer2 - set viewer2.nTypeView "5" - -new Slider sdrAngleX - set sdrAngleX.In "0" - set sdrAngleX.Max "180" - set sdrAngleX.Min "-180" - set sdrAngleX.ReactiveOnTrack "true" - set sdrAngleX.Title "Rotation angle in X Axis" - -new Slider sdrAngleY - set sdrAngleY.In "0" - set sdrAngleY.Max "180" - set sdrAngleY.Min "-180" - set sdrAngleY.ReactiveOnTrack "true" - set sdrAngleY.Title "Rotation angle in Y Axis" - -new Slider sdrAngleZ - set sdrAngleZ.In "0" - set sdrAngleZ.Max "180" - set sdrAngleZ.Min "-180" - set sdrAngleZ.ReactiveOnTrack "true" - set sdrAngleZ.Title "Rotation angle in Z Axis" - -new Slider sdrScaleX - set sdrScaleX.In "100" - set sdrScaleX.Max "300" - set sdrScaleX.Min "10" - set sdrScaleX.ReactiveOnTrack "true" - set sdrScaleX.Title "Scale in X Axis" - -new Slider sdrScaleY - set sdrScaleY.In "100" - set sdrScaleY.Max "300" - set sdrScaleY.Min "10" - set sdrScaleY.ReactiveOnTrack "true" - set sdrScaleY.Title "Scale in Y Axis" - -new Slider sdrScaleZ - set sdrScaleZ.In "100" - set sdrScaleZ.Max "300" - set sdrScaleZ.Min "10" - set sdrScaleZ.ReactiveOnTrack "true" - set sdrScaleZ.Title "Scale in Z Axis" - -new Transform3D1PointBox transform - -new ReSlicerBox reslicer - -new MultipleInputs mult - -new MultipleInputs mult2 - -new MultipleInputs mult3 - -new ViewerNV viewerResult - set viewerResult.nTypeView "5" - -new LayoutSplit imagesLayout - set imagesLayout.Orientation "v" - set imagesLayout.Proportion "50" - -new LayoutLine toolsLayout - set toolsLayout.Orientation "v" - -new LayoutSplit resultLayout - set resultLayout.Orientation "v" - set resultLayout.Proportion "60" - -new LayoutSplit main - set main.Orientation "h" - set main.Proportion "50" - -new ImagesChooserDialogBox Box22 - -new ImagesChooserDialogBox Box23 - -new CommandButton Box21 - set Box21.Label "Save Image" - -new FileSelector Box25 - set Box25.OpenSave "Save" - set Box25.Title "Save Image" - -new MetaImageWriter Box26 - -new LayoutLine Box27 - -new LayoutTab Box28 - - -connect viewer2.Point transform.CenterPoint -connect sdrAngleX.Out transform.AngleX -connect sdrAngleY.Out transform.AngleY -connect sdrAngleZ.Out transform.AngleZ -connect sdrScaleX.Out transform.ScaleX -connect sdrScaleY.Out transform.ScaleY -connect sdrScaleZ.Out transform.ScaleZ -connect viewer.Point reslicer.Origin -connect transform.Out reslicer.Transform -connect viewer.BoxChange mult.In1 -connect viewer2.BoxChange mult.In2 -connect sdrAngleX.BoxChange mult.In3 -connect sdrAngleY.BoxChange mult.In4 -connect sdrAngleZ.BoxChange mult.In5 -connect sdrScaleX.BoxChange mult2.In1 -connect sdrScaleY.BoxChange mult2.In2 -connect sdrScaleZ.BoxChange mult2.In3 -connect mult.BoxChange mult3.In1 -connect mult2.BoxChange mult3.In2 -connect mult3.BoxChange transform.BoxExecute -connect mult3.BoxChange reslicer.BoxExecute -connect reslicer.Out viewerResult.In -connect mult3.BoxChange viewerResult.BoxExecute -connect viewer.Widget imagesLayout.Widget1 -connect viewer2.Widget imagesLayout.Widget2 -connect sdrAngleX.Widget toolsLayout.Widget1 -connect sdrAngleY.Widget toolsLayout.Widget2 -connect sdrAngleZ.Widget toolsLayout.Widget3 -connect sdrScaleX.Widget toolsLayout.Widget4 -connect sdrScaleY.Widget toolsLayout.Widget5 -connect sdrScaleZ.Widget toolsLayout.Widget6 -connect viewerResult.Widget resultLayout.Widget1 -connect toolsLayout.Widget resultLayout.Widget2 -connect imagesLayout.Widget main.Widget1 -connect resultLayout.Widget main.Widget2 -connect Box22.Out viewer2.In -connect Box22.Out reslicer.In -connect Box23.Out viewer.In -connect reslicer.Out Box26.In -connect Box25.Out Box26.Filename -connect Box21.BoxChange Box26.BoxExecute -connect Box21.Widget Box27.Widget1 -connect main.Widget Box28.Widget1 -connect Box27.Widget Box28.Widget2 - -exec Box28 diff --git a/bbtk_package_creaMiniTools/bbs/appli/registration3D2PointsExample.bbg b/bbtk_package_creaMiniTools/bbs/appli/registration3D2PointsExample.bbg deleted file mode 100755 index 7162058..0000000 --- a/bbtk_package_creaMiniTools/bbs/appli/registration3D2PointsExample.bbg +++ /dev/null @@ -1,298 +0,0 @@ -# ---------------------------------- -# - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /home/pechan/Documents/courses/development/creatis/dev/src/minitools/examples/bbg/registration/registration3D2PointsExample.bbg -# ---------------------------------- - -APP_START -CATEGORY: -DESCRIPTION:Description ?? -AUTHOR:Author ?? -COMPLEXBOX:FALSE -BOXES:21 -BOX -creaMaracasVisu:ViewerNV:viewer -ISEXEC:FALSE --59.452528:1.458911:900.000000 -40.547472:-8.541089:900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -creaMaracasVisu:ShowNPoints:showNpoints -ISEXEC:FALSE --67.525930:-47.525930:900.000000 -32.474070:-57.525930:900.000000 -PORT -Radio:"10" -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewer2 -ISEXEC:FALSE -93.425401:-77.026329:900.000000 -193.425401:-87.026329:900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -creaMaracasVisu:ShowNPoints:showNpoints2 -ISEXEC:FALSE -43.885109:-118.517154:900.000000 -143.885109:-128.517154:900.000000 -PORT -Radio:"10" -FIN_BOX -BOX -PackRegistration:Transform3D2PointsBox:transform -ISEXEC:FALSE -0.000000:-170.000000:900.000000 -100.000000:-180.000000:900.000000 -FIN_BOX -BOX -PackRegistration:ReSlicerBox:reslice1 -ISEXEC:FALSE --100.000000:-200.000000:900.000000 -0.000000:-210.000000:900.000000 -PORT -Origin:"0,0,0" -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewer3 -ISEXEC:FALSE --185.351998:-290.451730:900.000000 --85.351998:-300.451730:900.000000 -PORT -nTypeView:"5 0" -FIN_BOX -BOX -wx:CommandButton:butExec -ISEXEC:FALSE --157.454123:-93.133242:900.000000 --57.454123:-103.133242:900.000000 -PORT -Label:"Execute" -FIN_BOX -BOX -wx:Slider:angle -ISEXEC:FALSE -133.393487:-144.616088:900.000000 -233.393487:-154.616088:900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -FIN_BOX -BOX -wx:LayoutSplit:tab1 -ISEXEC:FALSE --100.000000:-320.000000:900.000000 -0.000000:-330.000000:900.000000 -PORT -Orientation:"H" -FIN_BOX -BOX -wx:LayoutSplit:hello -ISEXEC:FALSE --48.461304:-248.081381:900.000000 -51.538696:-258.081381:900.000000 -PORT -Orientation:"V" -FIN_BOX -BOX -wx:LayoutSplit:hello2 -ISEXEC:FALSE -20.403859:-212.134039:900.000000 -120.403859:-222.134039:900.000000 -FIN_BOX -BOX -wx:LayoutSplit:tab2 -ISEXEC:FALSE -0.000000:-410.000000:900.000000 -100.000000:-420.000000:900.000000 -PORT -Orientation:"H" -FIN_BOX -BOX -wx:LayoutTab:main -ISEXEC:FALSE --100.000000:-440.000000:900.000000 -0.000000:-450.000000:900.000000 -PORT -Orientation:"H" -FIN_BOX -BOX -wx:CommandButton:Box18 -ISEXEC:FALSE --383.593227:-268.910073:900.000000 --283.593227:-278.910073:900.000000 -PORT -Label:"Save" -FIN_BOX -BOX -vtk:MetaImageWriter:Box19 -ISEXEC:FALSE --299.649005:-332.029517:900.000000 --199.649005:-342.029517:900.000000 -FIN_BOX -BOX -wx:FileSelector:Box20 -ISEXEC:FALSE --288.135282:-235.072974:900.000000 --188.135282:-245.072974:900.000000 -PORT -OpenSave:"Save" -PORT -Title:"Save Image" -FIN_BOX -BOX -wx:LayoutTab:Box21 -ISEXEC:TRUE --172.810249:-499.103601:900.000000 --72.810249:-509.103601:900.000000 -FIN_BOX -BOX -wx:LayoutLine:Box22 -ISEXEC:FALSE --207.517231:-421.189967:900.000000 --107.517231:-431.189967:900.000000 -PORT -WinTitle:"Options" -FIN_BOX -BOX -creaImageIO:ImagesChooserDialogBox:Box23 -ISEXEC:FALSE --118.405454:61.950533:900.000000 --18.405454:51.950533:900.000000 -FIN_BOX -BOX -creaImageIO:ImagesChooserDialogBox:Box24 -ISEXEC:FALSE -104.916225:25.979256:900.000000 -204.916225:15.979256:900.000000 -FIN_BOX -CONNECTIONS:41 -CONNECTION -viewer:Renderer1:showNpoints:Renderer -NumberOfControlPoints:0 -CONNECTION -viewer:Point:showNpoints:In -NumberOfControlPoints:0 -CONNECTION -viewer:BoxChange:showNpoints:BoxExecute -NumberOfControlPoints:0 -CONNECTION -viewer2:Renderer1:showNpoints2:Renderer -NumberOfControlPoints:0 -CONNECTION -viewer2:Point:showNpoints2:In -NumberOfControlPoints:0 -CONNECTION -viewer2:BoxChange:showNpoints2:BoxExecute -NumberOfControlPoints:0 -CONNECTION -showNpoints:lstPointsX:transform:InX1 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:lstPointsX:transform:InX2 -NumberOfControlPoints:0 -CONNECTION -showNpoints:lstPointsY:transform:InY1 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:lstPointsY:transform:InY2 -NumberOfControlPoints:0 -CONNECTION -showNpoints:lstPointsZ:transform:InZ1 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:lstPointsZ:transform:InZ2 -NumberOfControlPoints:0 -CONNECTION -showNpoints:lstLabels:transform:Labels1 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:lstLabels:transform:Labels2 -NumberOfControlPoints:0 -CONNECTION -transform:Out:reslice1:Transform -NumberOfControlPoints:0 -CONNECTION -reslice1:Out:viewer3:In -NumberOfControlPoints:0 -CONNECTION -angle:Out:transform:SecondAngle -NumberOfControlPoints:0 -CONNECTION -showNpoints:Widget:hello:Widget1 -NumberOfControlPoints:0 -CONNECTION -butExec:Widget:hello2:Widget1 -NumberOfControlPoints:0 -CONNECTION -angle:Widget:hello2:Widget2 -NumberOfControlPoints:0 -CONNECTION -hello2:Widget:hello:Widget2 -NumberOfControlPoints:0 -CONNECTION -hello:Widget:tab1:Widget1 -NumberOfControlPoints:0 -CONNECTION -viewer:Widget:tab1:Widget2 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:Widget:tab2:Widget1 -NumberOfControlPoints:0 -CONNECTION -viewer2:Widget:tab2:Widget2 -NumberOfControlPoints:0 -CONNECTION -butExec:BoxChange:transform:BoxExecute -NumberOfControlPoints:0 -CONNECTION -butExec:BoxChange:reslice1:BoxExecute -NumberOfControlPoints:0 -CONNECTION -butExec:BoxChange:viewer3:BoxExecute -NumberOfControlPoints:0 -CONNECTION -tab1:Widget:main:Widget1 -NumberOfControlPoints:0 -CONNECTION -tab2:Widget:main:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box18:BoxChange:Box19:BoxExecute -NumberOfControlPoints:0 -CONNECTION -reslice1:Out:Box19:In -NumberOfControlPoints:0 -CONNECTION -Box20:Out:Box19:Filename -NumberOfControlPoints:0 -CONNECTION -main:Widget:Box21:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box22:Widget:Box21:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box18:Widget:Box22:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box23:Out:viewer:In -NumberOfControlPoints:0 -CONNECTION -Box23:Out:showNpoints:Image -NumberOfControlPoints:0 -CONNECTION -Box24:Out:viewer2:In -NumberOfControlPoints:0 -CONNECTION -Box24:Out:showNpoints2:Image -NumberOfControlPoints:0 -CONNECTION -Box24:Out:reslice1:In -NumberOfControlPoints:0 -APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/registration3D2PointsExample.bbs b/bbtk_package_creaMiniTools/bbs/appli/registration3D2PointsExample.bbs deleted file mode 100755 index 8f2d532..0000000 --- a/bbtk_package_creaMiniTools/bbs/appli/registration3D2PointsExample.bbs +++ /dev/null @@ -1,124 +0,0 @@ -# ---------------------------------- -# - BBTKGEditor v 1.2 BBS BlackBox Script -# - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/registration/registration3D2PointsExample.bbs -# ---------------------------------- - -# BBTK GEditor Script -# ---------------------- - -include std -include itkvtk -include creaMaracasVisu -include PackRegistration -include wx -include vtk -include creaImageIO - -author "Author ??" -description "Description ??" -category "" - -new ViewerNV viewer - set viewer.nTypeView "5" - -new ShowNPoints showNpoints - set showNpoints.Radio "10" - -new ViewerNV viewer2 - set viewer2.nTypeView "5" - -new ShowNPoints showNpoints2 - set showNpoints2.Radio "10" - -new Transform3D2PointsBox transform - -new ReSlicerBox reslice1 - set reslice1.Origin "0,0,0" - -new ViewerNV viewer3 - set viewer3.nTypeView "5 0" - -new CommandButton butExec - set butExec.Label "Execute" - -new Slider angle - set angle.In "0" - set angle.Max "180" - set angle.Min "-180" - -new LayoutSplit tab1 - set tab1.Orientation "H" - -new LayoutSplit hello - set hello.Orientation "V" - -new LayoutSplit hello2 - -new LayoutSplit tab2 - set tab2.Orientation "H" - -new LayoutTab main - set main.Orientation "H" - -new CommandButton Box18 - set Box18.Label "Save" - -new MetaImageWriter Box19 - -new FileSelector Box20 - set Box20.OpenSave "Save" - set Box20.Title "Save Image" - -new LayoutTab Box21 - -new LayoutLine Box22 - set Box22.WinTitle "Options" - -new ImagesChooserDialogBox Box23 - -new ImagesChooserDialogBox Box24 - - -connect viewer.Renderer1 showNpoints.Renderer -connect viewer.Point showNpoints.In -connect viewer.BoxChange showNpoints.BoxExecute -connect viewer2.Renderer1 showNpoints2.Renderer -connect viewer2.Point showNpoints2.In -connect viewer2.BoxChange showNpoints2.BoxExecute -connect showNpoints.lstPointsX transform.InX1 -connect showNpoints2.lstPointsX transform.InX2 -connect showNpoints.lstPointsY transform.InY1 -connect showNpoints2.lstPointsY transform.InY2 -connect showNpoints.lstPointsZ transform.InZ1 -connect showNpoints2.lstPointsZ transform.InZ2 -connect showNpoints.lstLabels transform.Labels1 -connect showNpoints2.lstLabels transform.Labels2 -connect transform.Out reslice1.Transform -connect reslice1.Out viewer3.In -connect angle.Out transform.SecondAngle -connect showNpoints.Widget hello.Widget1 -connect butExec.Widget hello2.Widget1 -connect angle.Widget hello2.Widget2 -connect hello2.Widget hello.Widget2 -connect hello.Widget tab1.Widget1 -connect viewer.Widget tab1.Widget2 -connect showNpoints2.Widget tab2.Widget1 -connect viewer2.Widget tab2.Widget2 -connect butExec.BoxChange transform.BoxExecute -connect butExec.BoxChange reslice1.BoxExecute -connect butExec.BoxChange viewer3.BoxExecute -connect tab1.Widget main.Widget1 -connect tab2.Widget main.Widget2 -connect Box18.BoxChange Box19.BoxExecute -connect reslice1.Out Box19.In -connect Box20.Out Box19.Filename -connect main.Widget Box21.Widget1 -connect Box22.Widget Box21.Widget2 -connect Box18.Widget Box22.Widget1 -connect Box23.Out viewer.In -connect Box23.Out showNpoints.Image -connect Box24.Out viewer2.In -connect Box24.Out showNpoints2.Image -connect Box24.Out reslice1.In - -exec Box21 diff --git a/bbtk_package_creaMiniTools/bbs/appli/registration3D3PointsExample.bbg b/bbtk_package_creaMiniTools/bbs/appli/registration3D3PointsExample.bbg deleted file mode 100755 index b37c721..0000000 --- a/bbtk_package_creaMiniTools/bbs/appli/registration3D3PointsExample.bbg +++ /dev/null @@ -1,271 +0,0 @@ -# ---------------------------------- -# - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/registration/registration3D3PointsExample.bbg -# ---------------------------------- - -APP_START -CATEGORY: -DESCRIPTION:Description ?? -AUTHOR:Author ?? -COMPLEXBOX:FALSE -BOXES:19 -BOX -creaMaracasVisu:ViewerNV:viewer -ISEXEC:FALSE --138.772764:-40.131074:900.000000 --38.772764:-50.131074:900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -creaMaracasVisu:ShowNPoints:showNpoints -ISEXEC:FALSE --174.543323:-108.106992:900.000000 --74.543323:-118.106992:900.000000 -PORT -Radio:"10" -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewer2 -ISEXEC:FALSE -148.379279:-41.719270:900.000000 -248.379279:-51.719270:900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -creaMaracasVisu:ShowNPoints:showNpoints2 -ISEXEC:FALSE -55.904141:-95.886989:900.000000 -155.904141:-105.886989:900.000000 -PORT -Radio:"10" -FIN_BOX -BOX -PackRegistration:Transform3D3PointsBox:transform -ISEXEC:FALSE -13.787455:-187.070183:900.000000 -113.787455:-197.070183:900.000000 -FIN_BOX -BOX -PackRegistration:ReSlicerBox:reslice1 -ISEXEC:FALSE --87.525636:-235.453456:900.000000 -12.474364:-245.453456:900.000000 -PORT -Origin:"0,0,0" -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewer3 -ISEXEC:FALSE --72.876548:-302.220003:900.000000 -27.123452:-312.220003:900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -wx:CommandButton:butExec -ISEXEC:FALSE --218.178187:-141.165268:900.000000 --118.178187:-151.165268:900.000000 -PORT -Label:"Execute" -FIN_BOX -BOX -wx:LayoutSplit:tab1 -ISEXEC:FALSE -5.908909:-387.825277:900.000000 -105.908909:-397.825277:900.000000 -PORT -Orientation:"H" -FIN_BOX -BOX -wx:LayoutSplit:hello -ISEXEC:FALSE --164.341457:-346.918365:900.000000 --64.341457:-356.918365:900.000000 -PORT -Orientation:"V" -FIN_BOX -BOX -wx:LayoutSplit:tab2 -ISEXEC:FALSE -181.206553:-315.203089:900.000000 -281.206553:-325.203089:900.000000 -PORT -Orientation:"H" -FIN_BOX -BOX -wx:LayoutTab:main -ISEXEC:FALSE -103.529099:-421.362365:900.000000 -203.529099:-431.362365:900.000000 -PORT -Orientation:"H" -FIN_BOX -BOX -wx:LayoutLine:Box16 -ISEXEC:FALSE --212.125385:-411.608381:900.000000 --112.125385:-421.608381:900.000000 -PORT -WinTitle:Options -FIN_BOX -BOX -wx:LayoutTab:Box17 -ISEXEC:TRUE --143.444297:-495.872311:900.000000 --43.444297:-505.872311:900.000000 -FIN_BOX -BOX -creaImageIO:ImagesChooserDialogBox:Box18 -ISEXEC:FALSE --185.320987:-0.349286:900.000000 --85.320987:-10.349286:900.000000 -FIN_BOX -BOX -creaImageIO:ImagesChooserDialogBox:Box19 -ISEXEC:FALSE -38.916251:4.191678:900.000000 -138.916251:-5.808322:900.000000 -FIN_BOX -BOX -vtk:MetaImageWriter:Box20 -ISEXEC:FALSE --263.293337:-323.550990:900.000000 --163.293337:-333.550990:900.000000 -FIN_BOX -BOX -wx:FileSelector:Box21 -ISEXEC:FALSE --279.377920:-249.662434:900.000000 --179.377920:-259.662434:900.000000 -PORT -OpenSave:"Save" -PORT -Title:"Save Image" -FIN_BOX -BOX -wx:CommandButton:Box22 -ISEXEC:FALSE --369.351059:-290.376536:900.000000 --269.351059:-300.376536:900.000000 -PORT -Label:"Save Image" -FIN_BOX -CONNECTIONS:38 -CONNECTION -viewer:Renderer1:showNpoints:Renderer -NumberOfControlPoints:0 -CONNECTION -viewer:Point:showNpoints:In -NumberOfControlPoints:0 -CONNECTION -viewer:BoxChange:showNpoints:BoxExecute -NumberOfControlPoints:0 -CONNECTION -viewer2:Renderer1:showNpoints2:Renderer -NumberOfControlPoints:0 -CONNECTION -viewer2:Point:showNpoints2:In -NumberOfControlPoints:0 -CONNECTION -viewer2:BoxChange:showNpoints2:BoxExecute -NumberOfControlPoints:0 -CONNECTION -showNpoints:lstPointsX:transform:InX1 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:lstPointsX:transform:InX2 -NumberOfControlPoints:0 -CONNECTION -showNpoints:lstPointsY:transform:InY1 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:lstPointsY:transform:InY2 -NumberOfControlPoints:0 -CONNECTION -showNpoints:lstPointsZ:transform:InZ1 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:lstPointsZ:transform:InZ2 -NumberOfControlPoints:0 -CONNECTION -showNpoints:lstLabels:transform:Labels1 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:lstLabels:transform:Labels2 -NumberOfControlPoints:0 -CONNECTION -transform:Out:reslice1:Transform -NumberOfControlPoints:0 -CONNECTION -reslice1:Out:viewer3:In -NumberOfControlPoints:0 -CONNECTION -showNpoints:Widget:hello:Widget1 -NumberOfControlPoints:0 -CONNECTION -butExec:Widget:hello:Widget2 -NumberOfControlPoints:0 -CONNECTION -hello:Widget:tab1:Widget1 -NumberOfControlPoints:0 -CONNECTION -viewer:Widget:tab1:Widget2 -NumberOfControlPoints:0 -CONNECTION -showNpoints2:Widget:tab2:Widget1 -NumberOfControlPoints:0 -CONNECTION -viewer2:Widget:tab2:Widget2 -NumberOfControlPoints:0 -CONNECTION -butExec:BoxChange:transform:BoxExecute -NumberOfControlPoints:0 -CONNECTION -butExec:BoxChange:reslice1:BoxExecute -NumberOfControlPoints:0 -CONNECTION -butExec:BoxChange:viewer3:BoxExecute -NumberOfControlPoints:0 -CONNECTION -tab1:Widget:main:Widget1 -NumberOfControlPoints:0 -CONNECTION -tab2:Widget:main:Widget2 -NumberOfControlPoints:0 -CONNECTION -main:Widget:Box17:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box16:Widget:Box17:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box18:Out:showNpoints:Image -NumberOfControlPoints:0 -CONNECTION -Box18:Out:viewer:In -NumberOfControlPoints:0 -CONNECTION -Box19:Out:showNpoints2:Image -NumberOfControlPoints:0 -CONNECTION -Box19:Out:viewer2:In -NumberOfControlPoints:0 -CONNECTION -Box19:Out:reslice1:In -NumberOfControlPoints:0 -CONNECTION -reslice1:Out:Box20:In -NumberOfControlPoints:0 -CONNECTION -Box21:Out:Box20:Filename -NumberOfControlPoints:0 -CONNECTION -Box22:BoxChange:Box20:BoxExecute -NumberOfControlPoints:0 -CONNECTION -Box22:Widget:Box16:Widget1 -NumberOfControlPoints:0 -APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/registration3D3PointsExample.bbs b/bbtk_package_creaMiniTools/bbs/appli/registration3D3PointsExample.bbs deleted file mode 100755 index 50fe959..0000000 --- a/bbtk_package_creaMiniTools/bbs/appli/registration3D3PointsExample.bbs +++ /dev/null @@ -1,114 +0,0 @@ -# ---------------------------------- -# - BBTKGEditor v 1.2 BBS BlackBox Script -# - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/registration/registration3D3PointsExample.bbs -# ---------------------------------- - -# BBTK GEditor Script -# ---------------------- - -include std -include itkvtk -include creaMaracasVisu -include PackRegistration -include wx -include creaImageIO -include vtk - -author "Author ??" -description "Description ??" -category "" - -new ViewerNV viewer - set viewer.nTypeView "5" - -new ShowNPoints showNpoints - set showNpoints.Radio "10" - -new ViewerNV viewer2 - set viewer2.nTypeView "5" - -new ShowNPoints showNpoints2 - set showNpoints2.Radio "10" - -new Transform3D3PointsBox transform - -new ReSlicerBox reslice1 - set reslice1.Origin "0,0,0" - -new ViewerNV viewer3 - set viewer3.nTypeView "5" - -new CommandButton butExec - set butExec.Label "Execute" - -new LayoutSplit tab1 - set tab1.Orientation "H" - -new LayoutSplit hello - set hello.Orientation "V" - -new LayoutSplit tab2 - set tab2.Orientation "H" - -new LayoutTab main - set main.Orientation "H" - -new LayoutLine Box16 - set Box16.WinTitle Options - -new LayoutTab Box17 - -new ImagesChooserDialogBox Box18 - -new ImagesChooserDialogBox Box19 - -new MetaImageWriter Box20 - -new FileSelector Box21 - set Box21.OpenSave "Save" - set Box21.Title "Save Image" - -new CommandButton Box22 - set Box22.Label "Save Image" - - -connect viewer.Renderer1 showNpoints.Renderer -connect viewer.Point showNpoints.In -connect viewer.BoxChange showNpoints.BoxExecute -connect viewer2.Renderer1 showNpoints2.Renderer -connect viewer2.Point showNpoints2.In -connect viewer2.BoxChange showNpoints2.BoxExecute -connect showNpoints.lstPointsX transform.InX1 -connect showNpoints2.lstPointsX transform.InX2 -connect showNpoints.lstPointsY transform.InY1 -connect showNpoints2.lstPointsY transform.InY2 -connect showNpoints.lstPointsZ transform.InZ1 -connect showNpoints2.lstPointsZ transform.InZ2 -connect showNpoints.lstLabels transform.Labels1 -connect showNpoints2.lstLabels transform.Labels2 -connect transform.Out reslice1.Transform -connect reslice1.Out viewer3.In -connect showNpoints.Widget hello.Widget1 -connect butExec.Widget hello.Widget2 -connect hello.Widget tab1.Widget1 -connect viewer.Widget tab1.Widget2 -connect showNpoints2.Widget tab2.Widget1 -connect viewer2.Widget tab2.Widget2 -connect butExec.BoxChange transform.BoxExecute -connect butExec.BoxChange reslice1.BoxExecute -connect butExec.BoxChange viewer3.BoxExecute -connect tab1.Widget main.Widget1 -connect tab2.Widget main.Widget2 -connect main.Widget Box17.Widget1 -connect Box16.Widget Box17.Widget2 -connect Box18.Out showNpoints.Image -connect Box18.Out viewer.In -connect Box19.Out showNpoints2.Image -connect Box19.Out viewer2.In -connect Box19.Out reslice1.In -connect reslice1.Out Box20.In -connect Box21.Out Box20.Filename -connect Box22.BoxChange Box20.BoxExecute -connect Box22.Widget Box16.Widget1 - -exec Box17 diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg index fa4179b..4e6890d 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbg # ---------------------------------- APP_START @@ -55,7 +55,7 @@ ISEXEC:FALSE -261.520839:78.488820:900.000000 -190.345839:68.488820:900.000000 PORT -In:"bbi creaMiniTools/appli/registration2DExample.bbs &" +In:"bbi PackRecalage/appli/Recalage2D.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box05 @@ -63,7 +63,7 @@ ISEXEC:FALSE -258.915401:38.104531:900.000000 -187.740401:28.104531:900.000000 PORT -In:"bbi creaMiniTools/appli/registration3D1PointExample.bbs &" +In:"bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box06 @@ -71,7 +71,7 @@ ISEXEC:FALSE -259.566760:-16.609667:900.000000 -188.391760:-26.609667:900.000000 PORT -In:"bbi creaMiniTools/appli/registration3D2PointsExample.bbs &" +In:"bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" FIN_BOX BOX std:ExecSystemCommand:Box07 @@ -79,7 +79,7 @@ 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/registration/registration3D3PointsExample.bbs &" +In:"bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" FIN_BOX BOX wx:OutputText:Box08 diff --git a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs index c9e6430..4e389c3 100644 --- a/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs +++ b/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs +# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs # ---------------------------------- include std @@ -10,7 +10,7 @@ include std define RegistrationMenu creaMiniToolsBase -author "Author EED" +author "Author ??" description "Description ??" category "" @@ -28,16 +28,16 @@ new CommandButton Box03 set Box03.Label "Registration 3D 3 Points" new ExecSystemCommand Box04 - set Box04.In "bbi creaMiniTools/appli/registration2DExample.bbs &" + set Box04.In "bbi PackRecalage/appli/Recalage2D.bbs &" new ExecSystemCommand Box05 - set Box05.In "bbi creaMiniTools/appli/registration3D1PointExample.bbs &" + set Box05.In "bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" new ExecSystemCommand Box06 - set Box06.In "bbi creaMiniTools/appli/registration3D2PointsExample.bbs &" + set Box06.In "bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" new ExecSystemCommand Box07 - set Box07.In "bbi /usr/local/share/bbtk/bbs/creaMiniTools/examples/bbs/registration/registration3D3PointsExample.bbs &" + set Box07.In "bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" new OutputText Box08 set Box08.In "Select the Example"