# ----------------------------------
-# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
+# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
# ----------------------------------
include std
category "example"
-new ImageSwitcherBox switch
+new PackRecalage:ImageSwitcherBox switch
-new CheckBox checkS
+new wx:CheckBox checkS
set checkS.In "true"
set checkS.Title "On"
-new Slider sdrT
+new wx:Slider sdrT
set sdrT.In "500"
set sdrT.Max "1000"
set sdrT.Min "0"
set sdrT.ReactiveOnTrack "True"
-new LayoutSplit switchWindow
+new wx:LayoutSplit switchWindow
set switchWindow.Proportion "90"
+ set switchWindow.WinTitle "Switcher"
-new LayoutLine Box47
+new wx:LayoutLine Box47
set Box47.Orientation H
-new LayoutLine Box48
+new wx:LayoutLine Box48
-new ViewerNV Box49
+new creaMaracasVisu:ViewerNV Box49
set Box49.nTypeView "-1"
-new LayoutSplit Box10
+new wx:LayoutSplit Box10
set Box10.Orientation "H"
-new LayoutSplit Box12
+new wx:LayoutSplit Box12
-new ImageSwitcherFilter Box17
+new PackRecalage:ImageSwitcherFilter Box17
-new GetVectorVtkImageDataElement Box19
+new vtk:GetVectorVtkImageDataElement Box19
set Box19.I "1"
-new GetVectorVtkImageDataElement Box21
+new vtk:GetVectorVtkImageDataElement Box21
set Box21.I "1"
-new MagicBox Box22
+new std:MagicBox Box22
-new MagicBox Box23
+new std:MagicBox Box23
-new ViewerNV Box24
+new creaMaracasVisu:ViewerNV Box24
set Box24.nTypeView "-1"
-new ImageSwitcherFilter Box25
+new PackRecalage:ImageSwitcherFilter Box25
-new GetVectorVtkImageDataElement Box26
+new vtk:GetVectorVtkImageDataElement Box26
set Box26.I "0"
-new GetVectorVtkImageDataElement Box27
+new vtk:GetVectorVtkImageDataElement Box27
set Box27.I "0"
-new ViewerNV Box28
+new creaMaracasVisu:ViewerNV Box28
set Box28.nTypeView "-1"
-new LayoutSplit Box29
+new wx:LayoutSplit Box29
-new ImageSwitcherFilter Box30
+new PackRecalage:ImageSwitcherFilter Box30
-new GetVectorVtkImageDataElement Box31
+new vtk:GetVectorVtkImageDataElement Box31
set Box31.I "2"
-new GetVectorVtkImageDataElement Box32
+new vtk:GetVectorVtkImageDataElement Box32
set Box32.I "2"
-new ViewerNV Box33
- set Box33.nTypeView "-1"
+new creaMaracasVisu:ImageChangeInformation Box37
-new ImageSwitcherFilter Box34
+new creaMaracasVisu:ImageChangeInformation Box38
-new GetVectorVtkImageDataElement Box35
- set Box35.I "2"
+new creaMaracasVisu:ImageChangeInformation Box39
-new GetVectorVtkImageDataElement Box36
- set Box36.I "2"
+new wx:LayoutTab Box41
-new ImageChangeInformation Box37
+new wx:LayoutLine Box42
+ set Box42.WinTitle "Plane XZ (rotation/slice Y)"
-new ImageChangeInformation Box38
+new wx:LayoutTab Box44
-new ImageChangeInformation Box39
+new wx:LayoutLine Box45
+ set Box45.WinTitle "Plane XY (rotation/slice Z)"
-new ImageChangeInformation Box40
+new wx:LayoutTab Box46
-new LayoutTab Box41
+new wx:LayoutLine Box50
+ set Box50.WinTitle "Plane YZ (rotation/slice X)"
-new LayoutLine Box42
- set Box42.WinTitle "Plane XZ (rotation/slice Y)"
+new wx:LayoutTab Box51
-new LayoutTab Box44
+new wx:LayoutLine Box52
+ set Box52.WinTitle "Viewer help"
-new LayoutLine Box45
- set Box45.WinTitle "Plane XY (rotation/slice Z)"
+new creaMaracasVisu:HelpViewerNV Box53
-new LayoutTab Box46
+new creaMaracasVisu:wxVtkBaseView_Info Box54
+ set Box54.InteractionType "12"
-new LayoutLine Box50
- set Box50.WinTitle "Plane YZ (rotation/slice X)"
+new std:GetVectorDoubleElement Box55
+ set Box55.I "0"
+
+new std:GetVectorDoubleElement Box56
+ set Box56.I "1"
-new LayoutTab Box51
+new std:MultipleInputs Box57
-new LayoutLine Box52
- set Box52.WinTitle "Plane YZ (rotation/slice X)"
+new std:MultipleInputs Box59
connect checkS.Out switch.On
connect Box12.Widget Box10.Widget1
connect Box10.Widget switchWindow.Widget1
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.BoxChange Box24.BoxExecute
connect Box26.Out Box25.In1
connect Box27.Out Box25.In2
-connect Box30.BoxChange Box28.BoxExecute
connect Box31.Out Box30.In1
connect Box32.Out Box30.In2
-connect Box34.BoxChange Box33.BoxExecute
-connect Box35.Out Box34.In1
-connect Box36.Out Box34.In2
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
connect Box17.Out Box37.In
connect Box37.Out Box49.In
connect Box25.Out Box38.In
connect Box38.Out Box24.In
connect Box30.Out Box39.In
connect Box39.Out Box28.In
-connect Box34.Out Box40.In
-connect Box40.Out Box33.In
connect Box41.Widget Box12.Widget1
connect Box49.Widget Box42.Widget1
connect Box42.Widget Box41.Widget1
connect Box52.Widget Box51.Widget1
connect Box28.Widget Box50.Widget1
connect Box46.Widget Box29.Widget1
-connect Box33.Widget Box52.Widget1
connect Box51.Widget Box29.Widget2
+connect Box53.widget Box52.Widget1
+connect Box54.WindowColorLevel Box55.In
+connect Box54.WindowColorLevel Box56.In
+connect Box55.Out Box28.WindowLevel
+connect Box56.Out Box28.ColorLevel
+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
# Complex input ports
input ImageVector1 Box22.In " "