# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget.bbs
+# - /home/davila/Creatis/C8/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget.bbs
# ----------------------------------
include std
category "example"
-new ImageRecalageProperties properties
+new PackRecalage:ImageRecalageProperties properties
-new Slider sdrZ
+new wx:Slider sdrZ
set sdrZ.Min "0"
set sdrZ.ReactiveOnTrack "1"
set sdrZ.Title "Z for slice"
-new Slider sdrF
+new wx:Slider sdrF
set sdrF.In "0"
set sdrF.Max "100"
set sdrF.Min "0"
set sdrF.ReactiveOnTrack "1"
set sdrF.Title "Convolution Factor"
-new CheckBox checkF
+new wx:CheckBox checkF
set checkF.In "True"
-new MultipleInputs multF
+new std:MultipleInputs multF
-new Slider colorLevel
+new wx:Slider colorLevel
set colorLevel.Min "0"
set colorLevel.ReactiveOnTrack "true"
set colorLevel.Title "Color Level"
-new Slider windowLevel
+new wx:Slider windowLevel
set windowLevel.Min "0"
set windowLevel.ReactiveOnTrack "true"
set windowLevel.Title "Window Level"
-new MultipleInputs multLevels
+new std:MultipleInputs multLevels
-new CheckBoardBox cbb
+new PackRecalage:CheckBoardBox cbb
-new Slider sdr
+new wx:Slider sdr
set sdr.In "14"
set sdr.Max "50"
set sdr.ReactiveOnTrack "1"
-new Slider sdr2
+new wx:Slider sdr2
set sdr2.In "14"
set sdr2.Max "50"
set sdr2.ReactiveOnTrack "1"
-new LayoutSplit checkerBoard
+new wx:LayoutSplit checkerBoard
set checkerBoard.Proportion "80"
-new LayoutLine ly
+new wx:LayoutLine ly
-new ViewerNV viewerCH
+new creaMaracasVisu:ViewerNV viewerCH
set viewerCH.nTypeView "0"
-new TransparencyBox trans
+new PackRecalage:TransparencyBox trans
-new Slider sdrP
+new wx:Slider sdrP
set sdrP.In "50"
set sdrP.Max "100"
set sdrP.Min "0"
set sdrP.ReactiveOnTrack "true"
-new ViewerNV transView
+new creaMaracasVisu:ViewerNV transView
set transView.nTypeView "0"
-new LayoutSplit transparency
+new wx:LayoutSplit transparency
set transparency.Proportion "80"
-new MultipleInputs mult2
+new std:MultipleInputs mult2
-new MultipleInputs mult3
+new std:MultipleInputs mult3
-new MultipleInputs mult4
+new std:MultipleInputs mult4
-new LayoutTab tabs
+new wx:LayoutTab tabs
set tabs.Orientation V
-new LayoutLine tools
+new wx:LayoutLine tools
set tools.WinTitle "Appearance"
-new LayoutSplit convolTools
+new wx:LayoutSplit convolTools
set convolTools.Orientation "H"
set convolTools.Proportion "80"
-new LayoutSplit window2
+new wx:LayoutSplit window2
set window2.Orientation H
set window2.Proportion "25"
-new vtkImageDataPointerRelay Box56
+new vtk:vtkImageDataPointerRelay Box56
-new vtkImageDataPointerRelay Box59
+new vtk:vtkImageDataPointerRelay Box59
-new LayoutTab Box61
+new wx:LayoutTab Box61
-new ViewerNV Box65
+new creaMaracasVisu:ViewerNV Box65
set Box65.nTypeView 0
-new ViewerNV Box66
+new creaMaracasVisu:ViewerNV Box66
set Box66.nTypeView 0
-new LayoutLine Box67
+new wx:LayoutLine Box67
set Box67.Orientation H
set Box67.WinTitle "Parallel"
-new MultipleInputs Box68
+new std:MultipleInputs Box68
-new CompareImagesSwitcherWidget Box69
+new PackRecalage:CompareImagesSwitcherWidget Box69
-new CompareImagesWidget_base_2Dt_A Box70
+new PackRecalage:CompareImagesWidget_base_2Dt_A Box70
-new MultipleInputs Box71
+new std:MultipleInputs Box71
-new CompareImagesWidget_base_2Dt_B Box72
+new PackRecalage:CompareImagesWidget_base_2Dt_B Box72
+
+new creaMaracasVisu:SetPosition Box39
connect properties.LengthZ sdrZ.Max
connect sdrF.Out Box72.ConvolutionFactor
connect multF.BoxChange Box72.BoxExecute
connect sdrZ.Out Box72.SliceZ
+connect Box65.Point Box39.Point
+connect Box66.wxVtkBaseView1 Box39.wxVtkBaseView
+connect Box65.BoxChange Box39.BoxExecute
# Complex input ports
input In2 Box59.In " "