# ----------------------------------
-# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbs
+# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/CompareImagesByRGB-Widget.bbs
# ----------------------------------
include std
include vtk
include wx
include std
-include PackRecalage
define CompareImagesByRGB-Widget creaVtk
new creaMaracasVisu:SetwxVtkBaseViewLookupTable Box06
new wx:LayoutSplit Box07
- set Box07.Proportion "90"
+ set Box07.Proportion "95"
new creaVtk:ScalarsToColors Box10
set Box10.Type "3"
set Box18.In6 "1 0 1"
set Box18.In7 "0 1 1"
-new PackRecalage:AddImageToVector Box19
+new vtk:AddImageToVector Box19
new std:GetVectorStringElement Box20
set Box20.I "0"
new wx:Slider Box26
set Box26.Max "7"
set Box26.Min "0"
-
-new wx:LayoutCenter Box28
+ set Box26.ReactiveOnTrack "true"
new vtk:vtkImageDataPointerRelay Box29
new vtk:vtkImageDataPointerRelay Box30
+new wx:LayoutLine Box31
+ set Box31.Orientation "H"
+
+new wx:CheckBox Box32
+ set Box32.Title "Interpolation"
+
+new std:MagicBox Box33
+
+new std:MultipleInputs Box34
+
+new std:MagicBox Box35
+
+new creaMaracasVisu:SetPosition Box36
+
connect Box02.Out Box00.In
connect Box10.LookupTable Box06.ScalarToColors
connect Box24.Out Box02.In1
connect Box25.Out Box02.In2
connect Box26.Out Box18.In
-connect Box00.Widget Box07.Widget1
-connect Box26.Widget Box28.Widget2
-connect Box28.Widget Box07.Widget2
connect Box00.wxVtkBaseView1 Box06.BaseView1
connect Box00.wxVtkBaseView2 Box06.BaseView2
connect Box00.wxVtkBaseView3 Box06.BaseView3
connect Box29.Out Box05.In
connect Box30.Out Box13.In
-connect Box26.BoxChange Box06.BoxExecute
+connect Box26.Widget Box31.Widget1
+connect Box32.Widget Box31.Widget2
+connect Box32.Out Box00.Interpolate
+connect Box32.BoxChange Box00.BoxExecute
+connect Box00.Widget Box07.Widget1
+connect Box31.Widget Box07.Widget2
+connect Box26.BoxChange Box34.In1
+connect Box34.BoxChange Box06.BoxExecute
+connect Box33.BoxChange Box34.In2
+connect Box00.wxVtkBaseView1 Box36.wxVtkBaseView
+connect Box35.Out Box36.Point
+connect Box33.BoxChange Box36.BoxExecute
# Complex input ports
input Image1 Box29.In " "
input Image2 Box30.In " "
+input boxExecute Box33.BoxExecute " "
+input point Box35.In " "
# Complex output ports
output OutWidget Box07.Widget " "