# ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) # - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs # ---------------------------------- include std include itkvtk include wx include std define RegistrationMenu creaMiniToolsBase author "Author ??" description "Description ??" category "" new CommandButton Box00 set Box00.Label "Registration 2D" new CommandButton Box01 set Box01.Label "Registration 3D 1 Point" new CommandButton Box02 set Box02.Label "Registration 3D 2 Points" new CommandButton Box03 set Box03.Label "Registration 3D 3 Points" new ExecSystemCommand Box04 set Box04.In "bbi PackRecalage/appli/Recalage2D.bbs &" new ExecSystemCommand Box05 set Box05.In "bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &" new ExecSystemCommand Box06 set Box06.In "bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &" new ExecSystemCommand Box07 set Box07.In "bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &" new OutputText Box08 set Box08.In "Select the Example" new LayoutLine Box09 set Box09.WinTitle "Registration" new CommandButton Box10 set Box10.Label "Registration 3D" new ExecSystemCommand Box11 set Box11.In "bbi PackRecalage/appli/ExampleReSlice3D.bbs &" new LayoutCenter Box12 set Box12.WinTitle "Registration" connect Box00.BoxChange Box04.BoxExecute connect Box01.BoxChange Box05.BoxExecute connect Box02.BoxChange Box06.BoxExecute connect Box03.BoxChange Box07.BoxExecute connect Box10.BoxChange Box11.BoxExecute connect Box03.Widget Box09.Widget6 connect Box02.Widget Box09.Widget5 connect Box08.Widget Box09.Widget1 connect Box00.Widget Box09.Widget2 connect Box10.Widget Box09.Widget3 connect Box01.Widget Box09.Widget4 connect Box09.Widget Box12.Widget2 # Complex input ports # Complex output ports output widget Box12.Widget " " endefine