]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
#3471 Add manual option to CompareImageSwitcherWidget
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / CompareImagesSwitcherWidget_3Dp.bbs
index 1b20c4313e937ab268d66653c4c144116c43cdfe..c64b9a6dd3ccc5cfe5e54efb3308938c5f36ef73 100644 (file)
@@ -22,7 +22,7 @@ new PackRecalage:ImageSwitcherBox switch
 
 new wx:CheckBox checkS
   set checkS.In "true"
-  set checkS.Title "On"
+  set checkS.Title "Auto"
 
 new wx:Slider sdrT
   set sdrT.In "500"
@@ -31,7 +31,7 @@ new wx:Slider sdrT
   set sdrT.ReactiveOnTrack "True"
 
 new wx:LayoutSplit switchWindow
-  set switchWindow.Proportion "90"
+  set switchWindow.Proportion "95"
   set switchWindow.WinTitle "Switcher"
 
 new wx:LayoutLine Box47
@@ -124,18 +124,35 @@ new std:MultipleInputs Box59
 
 new creaMaracasVisu:HelpViewerNV Box60
 
+new std:MagicBox Box61
+
+new std:GetVectorDoubleElement Box62
+  set Box62.I "0"
+
+new std:GetVectorDoubleElement Box63
+  set Box63.I "1"
+
+new wx:CheckBox Box64
+  set Box64.In "true"
+  set Box64.Title "Interpolate"
+
+new std:MultipleInputs Box65
+
+new std:MultipleInputs Box66
+
+new wx:CommandButton Box67
+  set Box67.Label "Switch"
+
 
 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 Box12.Widget Box10.Widget1
 connect Box10.Widget switchWindow.Widget1
-connect switch.BoxChange Box17.BoxExecute
 connect Box22.Out Box19.In
 connect Box23.Out Box21.In
 connect Box19.Out Box17.In1
@@ -144,11 +161,9 @@ connect Box26.Out Box25.In1
 connect Box27.Out Box25.In2
 connect Box31.Out Box30.In1
 connect Box32.Out Box30.In2
-connect switch.BoxChange Box30.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 Box17.Out Box37.In
@@ -176,17 +191,35 @@ connect Box30.BoxChange Box57.In1
 connect Box57.BoxChange Box28.BoxExecute
 connect Box54.BoxChange Box57.In2
 connect Box49.wxVtkBaseView1 Box54.wxVtkBaseView
-connect Box17.BoxChange Box49.BoxExecute
 connect Box25.BoxChange Box59.In1
 connect Box59.BoxChange Box24.BoxExecute
 connect Box54.BoxChange Box59.In2
 connect Box56.Out Box24.ColorLevel
 connect Box55.Out Box24.WindowLevel
 connect Box60.widget Box52.Widget2
+connect Box61.Out Box62.In
+connect Box61.Out Box63.In
+connect Box64.Out Box49.Interpolate
+connect Box64.Out Box28.Interpolate
+connect Box64.Out Box24.Interpolate
+connect Box64.BoxChange Box57.In3
+connect Box64.BoxChange Box59.In3
+connect Box17.BoxChange Box65.In1
+connect Box65.BoxChange Box49.BoxExecute
+connect Box64.BoxChange Box65.In3
+connect switch.BoxChange Box66.In1
+connect Box64.Widget Box47.Widget7
+connect checkS.Widget Box47.Widget5
+connect Box67.Widget Box47.Widget3
+connect Box67.BoxChange Box66.In2
+connect Box66.BoxChange Box25.BoxExecute
+connect Box66.BoxChange Box17.BoxExecute
+connect Box66.BoxChange Box30.BoxExecute
 
 # Complex input ports
 input ImageVector1 Box22.In " "
 input ImageVector2 Box23.In " "
+input windowcolorlevel Box61.In " "
 
 # Complex output ports
 output Widget switchWindow.Widget " "