X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaRigidRegistration.git;a=blobdiff_plain;f=PackRecalage%2Fbbs%2Fboxes%2FCompareImagesSwitcherWidget_3Dp.bbs;h=7b4eb2102d63156872483c0d67c858c4d74f8751;hp=62e49a2a9d49b89a6d8e57a2b000308bba249200;hb=5de2560696c73fae856eba087176a1a7b0ba5fbd;hpb=6b024ba9309731b6ba4591ea2f429aa89de3aa9c diff --git a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs index 62e49a2..7b4eb21 100644 --- a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs +++ b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs @@ -9,6 +9,7 @@ include PackRecalage include wx include creaMaracasVisu include vtk +include std define CompareImagesSwitcherWidget_3Dp PackRecalage @@ -20,7 +21,7 @@ category "example" new ImageSwitcherBox switch new CheckBox checkS - set checkS.In "false" + set checkS.In "true" set checkS.Title "On" new Slider sdrT @@ -40,25 +41,57 @@ new LayoutLine Box48 new ViewerNV Box49 set Box49.nTypeView 0 -new ViewerNV Box09 - set Box09.nTypeView 0 - new LayoutSplit Box10 set Box10.Orientation "H" -new LayoutSplit Box11 - new LayoutSplit Box12 -new ViewerNV Box13 - set Box13.nTypeView 0 +new ImageSwitcherFilter Box17 + +new GetVectorVtkImageDataElement Box19 + set Box19.I "1" + +new GetVectorVtkImageDataElement Box21 + set Box21.I "1" + +new MagicBox Box22 + +new MagicBox Box23 + +new ViewerNV Box24 + set Box24.nTypeView 0 + +new ImageSwitcherFilter Box25 + +new GetVectorVtkImageDataElement Box26 + set Box26.I "0" + +new GetVectorVtkImageDataElement Box27 + set Box27.I "0" + +new ViewerNV Box28 + set Box28.nTypeView 0 + +new LayoutSplit Box29 + +new ImageSwitcherFilter Box30 + +new GetVectorVtkImageDataElement Box31 + set Box31.I "2" + +new GetVectorVtkImageDataElement Box32 + set Box32.I "2" + +new ViewerNV Box33 + set Box33.nTypeView 0 -new ViewerNV Box14 - set Box14.nTypeView 0 +new ImageSwitcherFilter Box34 -new vtkImageDataPointerRelay Box16 +new GetVectorVtkImageDataElement Box35 + set Box35.I "2" -new vtkImageDataPointerRelay Box17 +new GetVectorVtkImageDataElement Box36 + set Box36.I "2" connect checkS.Out switch.On @@ -69,27 +102,45 @@ connect switch.Widget Box47.Widget1 connect sdrT.Widget Box48.Widget2 connect Box47.Widget Box48.Widget1 connect Box48.Widget switchWindow.Widget2 -connect switch.Out Box49.In -connect switch.BoxChange Box49.BoxExecute connect Box12.Widget Box10.Widget1 -connect Box11.Widget Box10.Widget2 connect Box10.Widget switchWindow.Widget1 connect Box49.Widget Box12.Widget1 -connect Box09.Widget Box12.Widget2 -connect Box13.Widget Box11.Widget1 -connect Box14.Widget Box11.Widget2 -connect Box16.Out switch.In1 -connect Box17.Out switch.In2 -connect switch.Out Box09.In -connect switch.Out Box14.In -connect switch.Out Box13.In -connect switch.BoxChange Box14.BoxExecute -connect switch.BoxChange Box09.BoxExecute -connect switch.BoxChange Box13.BoxExecute +connect Box17.Out Box49.In +connect switch.BoxChange Box17.BoxExecute +connect Box17.BoxChange Box49.BoxExecute +connect Box22.Out Box19.In +connect Box23.Out Box21.In +connect Box19.Out Box17.In1 +connect Box21.Out Box17.In2 +connect Box25.Out Box24.In +connect Box25.BoxChange Box24.BoxExecute +connect Box26.Out Box25.In1 +connect Box27.Out Box25.In2 +connect Box24.Widget Box12.Widget2 +connect Box28.Widget Box29.Widget1 +connect Box30.Out Box28.In +connect Box30.BoxChange Box28.BoxExecute +connect Box31.Out Box30.In1 +connect Box32.Out Box30.In2 +connect Box34.Out Box33.In +connect Box34.BoxChange Box33.BoxExecute +connect Box35.Out Box34.In1 +connect Box36.Out Box34.In2 +connect Box33.Widget Box29.Widget2 +connect switch.BoxChange Box30.BoxExecute +connect switch.BoxChange Box34.BoxExecute +connect Box29.Widget Box10.Widget2 +connect Box22.Out Box26.In +connect Box23.Out Box27.In +connect switch.BoxChange Box25.BoxExecute +connect Box22.Out Box31.In +connect Box23.Out Box32.In +connect Box22.Out Box35.In +connect Box23.Out Box36.In # Complex input ports -input Image1 Box16.In " " -input Image2 Box17.In " " +input ImageVector1 Box22.In " " +input ImageVector2 Box23.In " " # Complex output ports output Widget switchWindow.Widget " "