# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs
+# - /tmpEED/creaTools/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs
# ----------------------------------
include std
category "example"
-new ImageConvolution convol1
+new PackRecalage:ImageConvolution convol1
-new SliceImage Box02
+new creaMaracasVisu:SliceImage Box02
set Box02.TypeOrientation "0"
-new ImageConvolution Box03
+new PackRecalage:ImageConvolution Box03
-new SliceImage Box04
+new creaMaracasVisu:SliceImage Box04
set Box04.TypeOrientation "1"
-new ImageConvolution Box05
+new PackRecalage:ImageConvolution Box05
-new SliceImage Box06
+new creaMaracasVisu:SliceImage Box06
set Box06.TypeOrientation "2"
-new AddImageToVector Box07
+new PackRecalage:AddImageToVector Box07
-new vtkImageDataPointerRelay Box08
+new vtk:vtkImageDataPointerRelay Box08
-new MagicBox Box09
+new std:MagicBox Box09
-new MagicBox Box10
+new std:MagicBox Box10
-new MagicBox Box11
+new std:MagicBox Box11
+
+new std:GetVectorIntElement Box12
+ set Box12.I "2"
+
+new std:GetVectorIntElement Box13
+ set Box13.I "1"
+
+new std:GetVectorIntElement Box14
+ set Box14.I "0"
+
+new std:MagicBox Box15
connect Box02.Out convol1.In
connect Box11.Out convol1.On
connect Box11.Out Box03.On
connect Box11.Out Box05.On
+connect Box15.Out Box14.In
+connect Box15.Out Box13.In
+connect Box15.Out Box12.In
+connect Box14.Out Box06.Slice
+connect Box13.Out Box04.Slice
+connect Box12.Out Box02.Slice
# Complex input ports
input In Box08.In " "
input BoxExecute Box09.In " "
input ConvolutionFactor Box10.In " "
input ConvolutionOnOff Box11.In " "
-input SliceY Box04.Slice " "
-input SliceX Box06.Slice " "
-input SliceZ Box02.Slice " "
+input Point Box15.In " "
# Complex output ports
output Out Box07.Out " "
+message
endefine