# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbs # ---------------------------------- include std include itkvtk include PackRecalage include wx include creaMaracasVisu define CompareImagesSwitcherWidget PackRecalage author "info-dev@creatis.insa-lyon.fr" description "creatisRecalage" category "example" new ImageSwitcherBox switch new CheckBox checkS set checkS.In "false" set checkS.Title "On" new Slider sdrT set sdrT.In "500" set sdrT.Max "1000" set sdrT.Min "0" set sdrT.ReactiveOnTrack "True" new LayoutSplit switchWindow set switchWindow.Proportion "80" new LayoutLine Box47 set Box47.Orientation H new LayoutLine Box48 new ViewerNV Box49 set Box49.nTypeView 0 connect checkS.Out switch.On connect sdrT.Out switch.Time connect sdrT.BoxChange switch.BoxExecute connect checkS.Widget Box47.Widget2 connect switch.Widget Box47.Widget1 connect sdrT.Widget Box48.Widget2 connect Box47.Widget Box48.Widget1 connect Box48.Widget switchWindow.Widget2 connect Box49.Widget switchWindow.Widget1 connect switch.Out Box49.In connect switch.BoxChange Box49.BoxExecute # Complex input ports input Image1 switch.In1 " " input Image2 switch.In2 " " # Complex output ports output Widget switchWindow.Widget " " endefine