]> Creatis software - creaRigidRegistration.git/commitdiff
2020 Feature Comparing Images in XY XZ YZ planes
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Wed, 5 Jun 2013 14:36:23 +0000 (16:36 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Wed, 5 Jun 2013 14:36:23 +0000 (16:36 +0200)
22 files changed:
PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_2Dt.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_2Dt.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget3D.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget3D.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_A.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_A.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_B.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_B.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget_base_interface_3Dp.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImagesWidget_base_interface_3Dp.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs [new file with mode: 0644]
PackRecalage/bbs/boxes/Recalage3D1PointWidget.bbg [new file with mode: 0644]
PackRecalage/bbs/boxes/Recalage3D1PointWidget.bbs [new file with mode: 0644]

diff --git a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbg b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbg
new file mode 100644 (file)
index 0000000..0508a21
--- /dev/null
@@ -0,0 +1,131 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:example
+DESCRIPTION:creatisRecalage
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesSwitcherWidget
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Widget
+-82.943006:83.715697:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:2
+COMPLEX_PORT
+Image1
+-104.441217:381.121351:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image2
+18.836202:375.841039:-900.000000
+FIN_COMPLEX_PORT
+BOXES:7
+BOX
+PackRecalage:ImageSwitcherBox:switch
+ISEXEC:FALSE
+-96.069540:238.613192:-900.000000
+-50.494540:228.613192:-900.000000
+FIN_BOX
+BOX
+wx:CheckBox:checkS
+ISEXEC:FALSE
+-82.146015:296.605172:-900.000000
+-36.571015:286.605172:-900.000000
+PORT
+In:"false"
+PORT
+Title:"On"
+FIN_BOX
+BOX
+wx:Slider:sdrT
+ISEXEC:FALSE
+-137.063679:292.235608:-900.000000
+-94.381544:282.235608:-900.000000
+PORT
+In:"500"
+PORT
+Max:"1000"
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"True"
+FIN_BOX
+BOX
+wx:LayoutSplit:switchWindow
+ISEXEC:FALSE
+-89.365862:136.311788:-900.000000
+-43.790862:126.311788:-900.000000
+PORT
+Proportion:"80"
+FIN_BOX
+BOX
+wx:LayoutLine:Box47
+ISEXEC:FALSE
+-54.200307:206.056856:-900.000000
+3.359693:196.056856:-900.000000
+PORT
+Orientation:H
+FIN_BOX
+BOX
+wx:LayoutLine:Box48
+ISEXEC:FALSE
+-84.838862:170.670039:-900.000000
+-39.263862:160.670039:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box49
+ISEXEC:FALSE
+-158.632980:170.265535:-900.000000
+-91.453735:160.265535:-900.000000
+PORT
+nTypeView:0
+FIN_BOX
+CONNECTIONS:14
+CONNECTION
+checkS:Out:switch:On
+NumberOfControlPoints:0
+CONNECTION
+sdrT:Out:switch:Time
+NumberOfControlPoints:0
+CONNECTION
+sdrT:BoxChange:switch:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+checkS:Widget:Box47:Widget2
+NumberOfControlPoints:0
+CONNECTION
+switch:Widget:Box47:Widget1
+NumberOfControlPoints:0
+CONNECTION
+sdrT:Widget:Box48:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box47:Widget:Box48:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box48:Widget:switchWindow:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box49:Widget:switchWindow:Widget1
+NumberOfControlPoints:0
+CONNECTION
+switch:Out:Box49:In
+NumberOfControlPoints:0
+CONNECTION
+switch:BoxChange:Box49:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+switchWindow:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+Image1:Image1:switch:In1
+NumberOfControlPoints:0
+CONNECTION
+Image2:Image2:switch:In2
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbs b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbs
new file mode 100644 (file)
index 0000000..8d33522
--- /dev/null
@@ -0,0 +1,63 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include PackRecalage
+include wx
+include creaMaracasVisu
+
+define CompareImagesSwitcherWidget PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "creatisRecalage"
+
+category "example"
+
+new ImageSwitcherBox switch
+
+new CheckBox checkS
+  set checkS.In "false"
+  set checkS.Title "On"
+
+new Slider sdrT
+  set sdrT.In "500"
+  set sdrT.Max "1000"
+  set sdrT.Min "0"
+  set sdrT.ReactiveOnTrack "True"
+
+new LayoutSplit switchWindow
+  set switchWindow.Proportion "80"
+
+new LayoutLine Box47
+  set Box47.Orientation H
+
+new LayoutLine Box48
+
+new ViewerNV Box49
+  set Box49.nTypeView 0
+
+
+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 Box49.Widget switchWindow.Widget1
+connect switch.Out Box49.In
+connect switch.BoxChange Box49.BoxExecute
+
+# Complex input ports
+input Image1 switch.In1 " "
+input Image2 switch.In2 " "
+
+# Complex output ports
+output Widget switchWindow.Widget " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg
new file mode 100644 (file)
index 0000000..bb06526
--- /dev/null
@@ -0,0 +1,229 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:example
+DESCRIPTION:creatisRecalage
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesSwitcherWidget_3Dp
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Widget
+-86.440137:59.235778:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:2
+COMPLEX_PORT
+Image1
+-225.286533:374.127088:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image2
+-82.580607:376.618179:-900.000000
+FIN_COMPLEX_PORT
+BOXES:15
+BOX
+PackRecalage:ImageSwitcherBox:switch
+ISEXEC:FALSE
+-236.731933:238.613192:-900.000000
+-191.156933:228.613192:-900.000000
+FIN_BOX
+BOX
+wx:CheckBox:checkS
+ISEXEC:FALSE
+-4.431985:290.776620:-900.000000
+41.143015:280.776620:-900.000000
+PORT
+In:"false"
+PORT
+Title:"On"
+FIN_BOX
+BOX
+wx:Slider:sdrT
+ISEXEC:FALSE
+-87.326700:289.904187:-900.000000
+-35.926700:279.904187:-900.000000
+PORT
+In:"500"
+PORT
+Max:"1000"
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"True"
+FIN_BOX
+BOX
+wx:LayoutSplit:switchWindow
+ISEXEC:FALSE
+-93.977323:83.421289:-900.000000
+-48.402323:73.421289:-900.000000
+PORT
+Proportion:"80"
+FIN_BOX
+BOX
+wx:LayoutLine:Box47
+ISEXEC:FALSE
+-16.666358:193.622611:-900.000000
+28.908642:183.622611:-900.000000
+PORT
+Orientation:H
+FIN_BOX
+BOX
+wx:LayoutLine:Box48
+ISEXEC:FALSE
+-40.843730:167.779848:-900.000000
+4.731270:157.779848:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box49
+ISEXEC:FALSE
+-252.108185:165.936671:-900.000000
+-119.708302:155.936671:-900.000000
+PORT
+nTypeView:0
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box09
+ISEXEC:FALSE
+-186.372516:167.327051:-900.000000
+-99.869989:157.327051:-900.000000
+PORT
+nTypeView:0
+FIN_BOX
+BOX
+wx:LayoutSplit:Box10
+ISEXEC:FALSE
+-153.529071:113.780677:-900.000000
+-107.954071:103.780677:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box11
+ISEXEC:FALSE
+-139.251650:134.728017:-900.000000
+-93.676650:124.728017:-900.000000
+FIN_BOX
+BOX
+wx:LayoutSplit:Box12
+ISEXEC:FALSE
+-206.320142:135.318900:-900.000000
+-127.441599:125.318900:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box13
+ISEXEC:FALSE
+-108.472352:167.805415:-900.000000
+-62.897352:157.805415:-900.000000
+PORT
+nTypeView:0
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box14
+ISEXEC:FALSE
+-130.383336:189.578066:-900.000000
+-83.037481:179.578066:-900.000000
+PORT
+nTypeView:0
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box16
+ISEXEC:FALSE
+-227.442499:337.483080:-900.000000
+-156.267499:327.483080:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box17
+ISEXEC:FALSE
+-116.128515:339.220283:-900.000000
+-44.953515:329.220283:-900.000000
+FIN_BOX
+CONNECTIONS:28
+CONNECTION
+checkS:Out:switch:On
+NumberOfControlPoints:0
+CONNECTION
+sdrT:Out:switch:Time
+NumberOfControlPoints:0
+CONNECTION
+sdrT:BoxChange:switch:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+checkS:Widget:Box47:Widget2
+NumberOfControlPoints:0
+CONNECTION
+switch:Widget:Box47:Widget1
+NumberOfControlPoints:0
+CONNECTION
+sdrT:Widget:Box48:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box47:Widget:Box48:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box48:Widget:switchWindow:Widget2
+NumberOfControlPoints:0
+CONNECTION
+switch:Out:Box49:In
+NumberOfControlPoints:0
+CONNECTION
+switch:BoxChange:Box49:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+switchWindow:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box12:Widget:Box10:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box11:Widget:Box10:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box10:Widget:switchWindow:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box49:Widget:Box12:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box09:Widget:Box12:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box13:Widget:Box11:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box14:Widget:Box11:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Image1:Image1:Box16:In
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:switch:In1
+NumberOfControlPoints:0
+CONNECTION
+Image2:Image2:Box17:In
+NumberOfControlPoints:0
+CONNECTION
+Box17:Out:switch:In2
+NumberOfControlPoints:0
+CONNECTION
+switch:Out:Box09:In
+NumberOfControlPoints:0
+CONNECTION
+switch:Out:Box14:In
+NumberOfControlPoints:0
+CONNECTION
+switch:Out:Box13:In
+NumberOfControlPoints:0
+CONNECTION
+switch:BoxChange:Box14:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+switch:BoxChange:Box09:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+switch:BoxChange:Box13:BoxExecute
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
new file mode 100644 (file)
index 0000000..62e49a2
--- /dev/null
@@ -0,0 +1,98 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include PackRecalage
+include wx
+include creaMaracasVisu
+include vtk
+
+define CompareImagesSwitcherWidget_3Dp PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "creatisRecalage"
+
+category "example"
+
+new ImageSwitcherBox switch
+
+new CheckBox checkS
+  set checkS.In "false"
+  set checkS.Title "On"
+
+new Slider sdrT
+  set sdrT.In "500"
+  set sdrT.Max "1000"
+  set sdrT.Min "0"
+  set sdrT.ReactiveOnTrack "True"
+
+new LayoutSplit switchWindow
+  set switchWindow.Proportion "80"
+
+new LayoutLine Box47
+  set Box47.Orientation H
+
+new LayoutLine Box48
+
+new ViewerNV Box49
+  set Box49.nTypeView 0
+
+new ViewerNV Box09
+  set Box09.nTypeView 0
+
+new LayoutSplit Box10
+  set Box10.Orientation "H"
+
+new LayoutSplit Box11
+
+new LayoutSplit Box12
+
+new ViewerNV Box13
+  set Box13.nTypeView 0
+
+new ViewerNV Box14
+  set Box14.nTypeView 0
+
+new vtkImageDataPointerRelay Box16
+
+new vtkImageDataPointerRelay Box17
+
+
+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 switch.Out Box49.In
+connect switch.BoxChange Box49.BoxExecute
+connect Box12.Widget Box10.Widget1
+connect Box11.Widget Box10.Widget2
+connect Box10.Widget switchWindow.Widget1
+connect Box49.Widget Box12.Widget1
+connect Box09.Widget Box12.Widget2
+connect Box13.Widget Box11.Widget1
+connect Box14.Widget Box11.Widget2
+connect Box16.Out switch.In1
+connect Box17.Out switch.In2
+connect switch.Out Box09.In
+connect switch.Out Box14.In
+connect switch.Out Box13.In
+connect switch.BoxChange Box14.BoxExecute
+connect switch.BoxChange Box09.BoxExecute
+connect switch.BoxChange Box13.BoxExecute
+
+# Complex input ports
+input Image1 Box16.In " "
+input Image2 Box17.In " "
+
+# Complex output ports
+output Widget switchWindow.Widget " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_2Dt.bbg b/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_2Dt.bbg
new file mode 100644 (file)
index 0000000..2df9886
--- /dev/null
@@ -0,0 +1,111 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_2Dt.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesTransparencyWidget_2Dt
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Widget
+66.449347:-188.928471:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:3
+COMPLEX_PORT
+BoxExecute
+45.970307:2.936722:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image1
+1.701001:3.603846:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image2
+24.764143:4.187723:-900.000000
+FIN_COMPLEX_PORT
+BOXES:5
+BOX
+PackRecalage:TransparencyBox:Box00
+ISEXEC:FALSE
+36.208349:-105.931407:-900.000000
+81.783349:-115.931407:-900.000000
+FIN_BOX
+BOX
+wx:Slider:Box01
+ISEXEC:FALSE
+112.914794:-32.329220:-900.000000
+164.314794:-42.329220:-900.000000
+PORT
+In:"50"
+PORT
+Max:"100"
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"true"
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box02
+ISEXEC:FALSE
+22.055478:-132.695799:-900.000000
+67.630478:-142.695799:-900.000000
+PORT
+nTypeView:"0"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box03
+ISEXEC:FALSE
+62.882239:-169.094533:-900.000000
+108.457239:-179.094533:-900.000000
+PORT
+Proportion:"80"
+PORT
+WinTitle:"Transparency"
+FIN_BOX
+BOX
+std:MultipleInputs:Box04
+ISEXEC:FALSE
+47.387575:-63.353269:-900.000000
+92.962575:-73.353269:-900.000000
+FIN_BOX
+CONNECTIONS:11
+CONNECTION
+Box01:Out:Box00:Percent
+NumberOfControlPoints:0
+CONNECTION
+Box02:Widget:Box03:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box01:Widget:Box03:Widget2
+NumberOfControlPoints:1
+113.513451:-80.766380:-900.000000
+CONNECTION
+Box01:BoxChange:Box04:In2
+NumberOfControlPoints:0
+CONNECTION
+Box04:BoxChange:Box00:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box00:BoxChange:Box02:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:Box02:In
+NumberOfControlPoints:0
+CONNECTION
+Box03:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+BoxExecute:BoxExecute:Box04:In1
+NumberOfControlPoints:0
+CONNECTION
+Image1:Image1:Box00:In1
+NumberOfControlPoints:0
+CONNECTION
+Image2:Image2:Box00:In2
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_2Dt.bbs b/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_2Dt.bbs
new file mode 100644 (file)
index 0000000..af9f2f5
--- /dev/null
@@ -0,0 +1,55 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_2Dt.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include PackRecalage
+include wx
+include creaMaracasVisu
+include std
+
+define CompareImagesTransparencyWidget_2Dt PackRecalage
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new TransparencyBox Box00
+
+new Slider Box01
+  set Box01.In "50"
+  set Box01.Max "100"
+  set Box01.Min "0"
+  set Box01.ReactiveOnTrack "true"
+
+new ViewerNV Box02
+  set Box02.nTypeView "0"
+
+new LayoutSplit Box03
+  set Box03.Proportion "80"
+  set Box03.WinTitle "Transparency"
+
+new MultipleInputs Box04
+
+
+connect Box01.Out Box00.Percent
+connect Box02.Widget Box03.Widget1
+connect Box01.Widget Box03.Widget2
+connect Box01.BoxChange Box04.In2
+connect Box04.BoxChange Box00.BoxExecute
+connect Box00.BoxChange Box02.BoxExecute
+connect Box00.Out Box02.In
+
+# Complex input ports
+input BoxExecute Box04.In1 " "
+input Image1 Box00.In1 " "
+input Image2 Box00.In2 " "
+
+# Complex output ports
+output Widget Box03.Widget " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg b/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg
new file mode 100644 (file)
index 0000000..aeb44db
--- /dev/null
@@ -0,0 +1,242 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesTransparencyWidget_3Dp
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Widget
+96.125740:-267.341705:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:3
+COMPLEX_PORT
+BoxExecute
+236.574784:11.139953:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image1
+-55.480342:33.038968:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image2
+31.278473:33.864116:-900.000000
+FIN_COMPLEX_PORT
+BOXES:17
+BOX
+PackRecalage:TransparencyBox:Box00
+ISEXEC:FALSE
+-41.217866:-103.299354:-900.000000
+4.357134:-113.299354:-900.000000
+FIN_BOX
+BOX
+wx:Slider:Box01
+ISEXEC:FALSE
+115.086237:-3.617913:-900.000000
+166.486237:-13.617913:-900.000000
+PORT
+In:"50"
+PORT
+Max:"100"
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"true"
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box02
+ISEXEC:FALSE
+-46.926234:-134.604037:-900.000000
+13.713766:-144.604037:-900.000000
+PORT
+nTypeView:"0"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box03
+ISEXEC:FALSE
+90.869732:-239.304537:-900.000000
+136.444732:-249.304537:-900.000000
+PORT
+Proportion:"80"
+PORT
+WinTitle:"Transparency"
+FIN_BOX
+BOX
+std:MultipleInputs:Box04
+ISEXEC:FALSE
+217.001433:-39.467391:-900.000000
+262.576433:-49.467391:-900.000000
+FIN_BOX
+BOX
+PackRecalage:TransparencyBox:Box05
+ISEXEC:FALSE
+30.326498:-101.723723:-900.000000
+75.901498:-111.723723:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box06
+ISEXEC:FALSE
+25.824487:-134.476034:-900.000000
+86.464487:-144.476034:-900.000000
+PORT
+nTypeView:"0"
+FIN_BOX
+BOX
+PackRecalage:TransparencyBox:Box07
+ISEXEC:FALSE
+105.160928:-100.806104:-900.000000
+150.735928:-110.806104:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box08
+ISEXEC:FALSE
+99.935102:-133.317144:-900.000000
+160.575102:-143.317144:-900.000000
+PORT
+nTypeView:"0"
+FIN_BOX
+BOX
+PackRecalage:TransparencyBox:Box09
+ISEXEC:FALSE
+171.660524:-102.959214:-900.000000
+217.235524:-112.959214:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box10
+ISEXEC:FALSE
+168.606142:-134.022625:-900.000000
+229.246142:-144.022625:-900.000000
+PORT
+nTypeView:"0"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box11
+ISEXEC:FALSE
+41.483966:-169.568358:-900.000000
+87.058966:-179.568358:-900.000000
+FIN_BOX
+BOX
+wx:LayoutSplit:Box12
+ISEXEC:FALSE
+134.170876:-175.913835:-900.000000
+179.745876:-185.913835:-900.000000
+FIN_BOX
+BOX
+wx:LayoutSplit:Box13
+ISEXEC:FALSE
+90.944253:-204.471300:-900.000000
+136.519253:-214.471300:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box14
+ISEXEC:FALSE
+-61.259031:-5.334892:-900.000000
+9.915969:-15.334892:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box15
+ISEXEC:FALSE
+22.462176:-7.265063:-900.000000
+93.637176:-17.265063:-900.000000
+FIN_BOX
+BOX
+vtk:LoadHola:Box16
+ISEXEC:FALSE
+136.229599:24.533575:-900.000000
+181.804599:14.533575:-900.000000
+FIN_BOX
+CONNECTIONS:28
+CONNECTION
+Box01:Out:Box00:Percent
+NumberOfControlPoints:0
+CONNECTION
+Box01:Widget:Box03:Widget2
+NumberOfControlPoints:1
+264.457489:-136.827850:-900.000000
+CONNECTION
+Box01:BoxChange:Box04:In2
+NumberOfControlPoints:0
+CONNECTION
+Box04:BoxChange:Box00:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box00:BoxChange:Box02:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:Box02:In
+NumberOfControlPoints:0
+CONNECTION
+Box03:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+BoxExecute:BoxExecute:Box04:In1
+NumberOfControlPoints:0
+CONNECTION
+Box02:Widget:Box11:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box06:Widget:Box11:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box08:Widget:Box12:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box10:Widget:Box12:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box12:Widget:Box13:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box11:Widget:Box13:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box04:BoxChange:Box05:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box04:BoxChange:Box07:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box04:BoxChange:Box09:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box01:Out:Box05:Percent
+NumberOfControlPoints:0
+CONNECTION
+Box01:Out:Box07:Percent
+NumberOfControlPoints:0
+CONNECTION
+Box01:Out:Box09:Percent
+NumberOfControlPoints:0
+CONNECTION
+Box14:Out:Box00:In1
+NumberOfControlPoints:0
+CONNECTION
+Image1:Image1:Box14:In
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box00:In2
+NumberOfControlPoints:0
+CONNECTION
+Image2:Image2:Box15:In
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box06:In
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box08:In
+NumberOfControlPoints:0
+CONNECTION
+Box16:Out:Box10:In
+NumberOfControlPoints:0
+CONNECTION
+Box02:Widget:Box03:Widget1
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs b/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs
new file mode 100644 (file)
index 0000000..c5027a8
--- /dev/null
@@ -0,0 +1,101 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include PackRecalage
+include wx
+include creaMaracasVisu
+include std
+include vtk
+
+define CompareImagesTransparencyWidget_3Dp PackRecalage
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new TransparencyBox Box00
+
+new Slider Box01
+  set Box01.In "50"
+  set Box01.Max "100"
+  set Box01.Min "0"
+  set Box01.ReactiveOnTrack "true"
+
+new ViewerNV Box02
+  set Box02.nTypeView "0"
+
+new LayoutSplit Box03
+  set Box03.Proportion "80"
+  set Box03.WinTitle "Transparency"
+
+new MultipleInputs Box04
+
+new TransparencyBox Box05
+
+new ViewerNV Box06
+  set Box06.nTypeView "0"
+
+new TransparencyBox Box07
+
+new ViewerNV Box08
+  set Box08.nTypeView "0"
+
+new TransparencyBox Box09
+
+new ViewerNV Box10
+  set Box10.nTypeView "0"
+
+new LayoutSplit Box11
+
+new LayoutSplit Box12
+
+new LayoutSplit Box13
+  set Box13.Orientation "H"
+
+new vtkImageDataPointerRelay Box14
+
+new vtkImageDataPointerRelay Box15
+
+new LoadHola Box16
+
+
+connect Box01.Out Box00.Percent
+connect Box01.Widget Box03.Widget2
+connect Box01.BoxChange Box04.In2
+connect Box04.BoxChange Box00.BoxExecute
+connect Box00.BoxChange Box02.BoxExecute
+connect Box00.Out Box02.In
+connect Box02.Widget Box11.Widget1
+connect Box06.Widget Box11.Widget2
+connect Box08.Widget Box12.Widget1
+connect Box10.Widget Box12.Widget2
+connect Box12.Widget Box13.Widget2
+connect Box11.Widget Box13.Widget1
+connect Box04.BoxChange Box05.BoxExecute
+connect Box04.BoxChange Box07.BoxExecute
+connect Box04.BoxChange Box09.BoxExecute
+connect Box01.Out Box05.Percent
+connect Box01.Out Box07.Percent
+connect Box01.Out Box09.Percent
+connect Box14.Out Box00.In1
+connect Box15.Out Box00.In2
+connect Box16.Out Box06.In
+connect Box16.Out Box08.In
+connect Box16.Out Box10.In
+connect Box02.Widget Box03.Widget1
+
+# Complex input ports
+input BoxExecute Box04.In1 " "
+input Image1 Box14.In " "
+input Image2 Box15.In " "
+
+# Complex output ports
+output Widget Box03.Widget " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget3D.bbg b/PackRecalage/bbs/boxes/CompareImagesWidget3D.bbg
new file mode 100644 (file)
index 0000000..29d3c43
--- /dev/null
@@ -0,0 +1,214 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget3D.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:example
+DESCRIPTION:Recalage3D 1-point
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesWidget3D
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Widget
+-180.607881:-224.549013:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:3
+COMPLEX_PORT
+BoxExecute
+0.251103:33.549725:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image1
+-67.031081:33.468659:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image2
+27.974017:35.166416:-900.000000
+FIN_COMPLEX_PORT
+BOXES:13
+BOX
+creaMaracasVisu:ViewerNV:viewerResult
+ISEXEC:FALSE
+44.718350:-27.392895:-900.000000
+105.358350:-37.392895:-900.000000
+PORT
+nTypeView:"5"
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box23
+ISEXEC:FALSE
+-75.501867:-0.885850:-900.000000
+-4.326867:-10.885850:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box26
+ISEXEC:FALSE
+-184.936248:-192.642174:-900.000000
+-127.376248:-202.642174:-900.000000
+PORT
+WinTitle:"2D-Compare"
+FIN_BOX
+BOX
+PackRecalage:CompareImagesWidget:Box27
+ISEXEC:FALSE
+-283.502923:-95.491651:-900.000000
+-212.327923:-105.491651:-900.000000
+PORT
+WinTitle:"2Dt-Comparing"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box28
+ISEXEC:FALSE
+-46.147657:-153.281784:-900.000000
+-0.572657:-163.281784:-900.000000
+PORT
+Orientation:"H"
+PORT
+Proportion:"50"
+PORT
+WinTitle:"3D-Comparing"
+FIN_BOX
+BOX
+wx:LayoutLine:Box29
+ISEXEC:FALSE
+-36.447166:-116.254418:-900.000000
+21.112834:-126.254418:-900.000000
+FIN_BOX
+BOX
+wxvtk:IsoSurfaceWidget:Box30
+ISEXEC:FALSE
+-38.448207:-51.312470:-900.000000
+7.126793:-61.312470:-900.000000
+PORT
+Title:"Reference image"
+FIN_BOX
+BOX
+wxvtk:IsoSurfaceWidget:Box31
+ISEXEC:FALSE
+26.051809:-48.434932:-900.000000
+71.626809:-58.434932:-900.000000
+PORT
+Title:"Registration image"
+FIN_BOX
+BOX
+wx:LayoutTab:Box38
+ISEXEC:FALSE
+-13.417754:-99.991659:-900.000000
+44.142246:-109.991659:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box39
+ISEXEC:FALSE
+-74.673912:-90.664048:-900.000000
+-17.113912:-100.664048:-900.000000
+FIN_BOX
+BOX
+std:MultipleInputs:Box19
+ISEXEC:FALSE
+6.171590:-68.304284:-900.000000
+51.746590:-78.304284:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box20
+ISEXEC:FALSE
+23.468025:0.813061:-900.000000
+94.643025:-9.186939:-900.000000
+FIN_BOX
+BOX
+PackRecalage:CompareImages_3DwithPlanes_Widget:Box12
+ISEXEC:FALSE
+-189.475586:-94.574628:-900.000000
+-118.300586:-104.574628:-900.000000
+PORT
+WinTitle:"3D planes Comparing"
+FIN_BOX
+CONNECTIONS:25
+CONNECTION
+Box27:Widget:Box26:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box27:In1
+NumberOfControlPoints:0
+CONNECTION
+viewerResult:Widget:Box28:Widget2
+NumberOfControlPoints:3
+70.604240:-82.351540:-900.000000
+51.890862:-124.768517:-900.000000
+-6.576315:-143.627396:-900.000000
+CONNECTION
+Box28:Widget:Box26:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box29:Widget:Box28:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box31:Widget:Box38:Widget2
+NumberOfControlPoints:2
+62.806999:-77.049416:-900.000000
+7.914438:-93.267677:-900.000000
+CONNECTION
+Box38:Widget:Box29:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box39:Widget:Box29:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box30:Widget:Box39:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box30:In
+NumberOfControlPoints:0
+CONNECTION
+viewerResult:Renderer1:Box30:vtkRenderer
+NumberOfControlPoints:0
+CONNECTION
+viewerResult:Renderer1:Box31:vtkRenderer
+NumberOfControlPoints:0
+CONNECTION
+Box30:BoxChange:Box19:In1
+NumberOfControlPoints:0
+CONNECTION
+Box31:BoxChange:Box19:In2
+NumberOfControlPoints:0
+CONNECTION
+Box19:BoxChange:viewerResult:BoxExecute
+NumberOfControlPoints:4
+35.427074:-93.265160:-900.000000
+84.845840:-86.013496:-900.000000
+118.418365:-30.148804:-900.000000
+71.851799:-14.983394:-900.000000
+CONNECTION
+Box20:Out:viewerResult:In
+NumberOfControlPoints:0
+CONNECTION
+BoxExecute:BoxExecute:Box19:In3
+NumberOfControlPoints:0
+CONNECTION
+Box20:Out:Box27:In2
+NumberOfControlPoints:1
+-65.108238:-53.813183:-900.000000
+CONNECTION
+Box20:Out:Box31:In
+NumberOfControlPoints:0
+CONNECTION
+Box26:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+Image1:Image1:Box23:In
+NumberOfControlPoints:0
+CONNECTION
+Image2:Image2:Box20:In
+NumberOfControlPoints:0
+CONNECTION
+Box23:Out:Box12:In1
+NumberOfControlPoints:0
+CONNECTION
+Box20:Out:Box12:In2
+NumberOfControlPoints:0
+CONNECTION
+Box12:Widget:Box26:Widget3
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget3D.bbs b/PackRecalage/bbs/boxes/CompareImagesWidget3D.bbs
new file mode 100644 (file)
index 0000000..9db4c98
--- /dev/null
@@ -0,0 +1,89 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget3D.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include vtk
+include wx
+include PackRecalage
+include wxvtk
+include std
+
+define CompareImagesWidget3D PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "Recalage3D 1-point"
+
+category "example"
+
+new ViewerNV viewerResult
+  set viewerResult.nTypeView "5"
+
+new vtkImageDataPointerRelay Box23
+
+new LayoutTab Box26
+  set Box26.WinTitle "2D-Compare"
+
+new CompareImagesWidget Box27
+  set Box27.WinTitle "2Dt-Comparing"
+
+new LayoutSplit Box28
+  set Box28.Orientation "H"
+  set Box28.Proportion "50"
+  set Box28.WinTitle "3D-Comparing"
+
+new LayoutLine Box29
+
+new IsoSurfaceWidget Box30
+  set Box30.Title "Reference image"
+
+new IsoSurfaceWidget Box31
+  set Box31.Title "Registration image"
+
+new LayoutTab Box38
+
+new LayoutTab Box39
+
+new MultipleInputs Box19
+
+new vtkImageDataPointerRelay Box20
+
+new CompareImages_3DwithPlanes_Widget Box12
+  set Box12.WinTitle "3D planes Comparing"
+
+
+connect Box27.Widget Box26.Widget2
+connect Box23.Out Box27.In1
+connect viewerResult.Widget Box28.Widget2
+connect Box28.Widget Box26.Widget1
+connect Box29.Widget Box28.Widget1
+connect Box31.Widget Box38.Widget2
+connect Box38.Widget Box29.Widget2
+connect Box39.Widget Box29.Widget1
+connect Box30.Widget Box39.Widget1
+connect Box23.Out Box30.In
+connect viewerResult.Renderer1 Box30.vtkRenderer
+connect viewerResult.Renderer1 Box31.vtkRenderer
+connect Box30.BoxChange Box19.In1
+connect Box31.BoxChange Box19.In2
+connect Box19.BoxChange viewerResult.BoxExecute
+connect Box20.Out viewerResult.In
+connect Box20.Out Box27.In2
+connect Box20.Out Box31.In
+connect Box23.Out Box12.In1
+connect Box20.Out Box12.In2
+connect Box12.Widget Box26.Widget3
+
+# Complex input ports
+input BoxExecute Box19.In3 " "
+input Image1 Box23.In " "
+input Image2 Box20.In " "
+
+# Complex output ports
+output Widget Box26.Widget " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_A.bbg b/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_A.bbg
new file mode 100644 (file)
index 0000000..34a2464
--- /dev/null
@@ -0,0 +1,373 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_A.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:example
+DESCRIPTION:creatisRecalage
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesWidget_base_2Dt_A
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:3
+COMPLEX_PORT
+Out
+346.623263:-558.149939:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Widget
+105.767956:-564.144172:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxChange
+221.364492:-560.917384:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:5
+COMPLEX_PORT
+SliceZ
+-39.148218:37.248188:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxExecute
+-14.501434:37.900183:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ConvolutionFactor
+19.967458:39.752787:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ConvolutionOnOff
+42.185044:40.751011:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+In
+-59.295234:35.790677:-900.000000
+FIN_COMPLEX_PORT
+BOXES:21
+BOX
+vtk:SliceImage:imgslice2
+ISEXEC:FALSE
+137.938935:-104.441177:-900.000000
+183.513935:-114.441177:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:buttonsLayout
+ISEXEC:FALSE
+-178.547970:-356.648825:-900.000000
+-132.067427:-366.648825:-900.000000
+PORT
+Orientation:"V"
+PORT
+WinTitle:"Image transformation"
+FIN_BOX
+BOX
+wx:Slider:slider
+ISEXEC:FALSE
+-254.365136:-237.011859:-900.000000
+-153.381670:-247.011859:-900.000000
+PORT
+In:"0"
+PORT
+Max:"180"
+PORT
+Min:"-180"
+PORT
+ReactiveOnTrack:"1"
+PORT
+Title:"Angle"
+FIN_BOX
+BOX
+wx:Slider:sliderX
+ISEXEC:FALSE
+-194.158260:-233.747439:-900.000000
+-142.758260:-243.747439:-900.000000
+PORT
+In:"100"
+PORT
+Max:"500"
+PORT
+Min:"10"
+PORT
+ReactiveOnTrack:"1"
+PORT
+Title:"% Scale in X"
+FIN_BOX
+BOX
+wx:Slider:sliderY
+ISEXEC:FALSE
+-143.924585:-235.800900:-900.000000
+-111.149585:-245.800900:-900.000000
+PORT
+In:"100"
+PORT
+Max:"500"
+PORT
+Min:"10"
+PORT
+ReactiveOnTrack:"1"
+PORT
+Title:"% Scale in Y"
+FIN_BOX
+BOX
+PackRecalage:Transform2DBox:transform
+ISEXEC:FALSE
+-85.104255:-353.530495:-900.000000
+-39.529255:-363.530495:-900.000000
+FIN_BOX
+BOX
+PackRecalage:ReSlicerBox:reslice1
+ISEXEC:FALSE
+254.210899:-384.696017:-900.000000
+299.785899:-394.696017:-900.000000
+PORT
+Centered:false
+PORT
+Interpolate:true
+PORT
+Origin:"0 0 0"
+FIN_BOX
+BOX
+PackRecalage:ImageConvolution:convol2
+ISEXEC:FALSE
+337.352135:-468.967897:-900.000000
+408.527135:-478.967897:-900.000000
+FIN_BOX
+BOX
+std:MultipleInputs:mult
+ISEXEC:FALSE
+75.412756:-340.821867:-900.000000
+120.987756:-350.821867:-900.000000
+FIN_BOX
+BOX
+vtk:ImageVtkProperties:Box51
+ISEXEC:FALSE
+101.412632:-173.813626:-900.000000
+146.987632:-183.813626:-900.000000
+FIN_BOX
+BOX
+std:VectorRescaleSlope:Box52
+ISEXEC:FALSE
+99.313171:-208.335144:-900.000000
+170.488171:-218.335144:-900.000000
+PORT
+A:0.5
+PORT
+B:0
+PORT
+Type:0
+FIN_BOX
+BOX
+std:ConcatStrings:Box53
+ISEXEC:FALSE
+108.121845:-192.845187:-900.000000
+153.696845:-202.845187:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box54
+ISEXEC:FALSE
+95.146223:-224.102358:-900.000000
+140.721223:-234.102358:-900.000000
+FIN_BOX
+BOX
+wx:Slider:Box55
+ISEXEC:FALSE
+-34.875933:-234.906871:-900.000000
+16.524067:-244.906871:-900.000000
+PORT
+In:0
+PORT
+Label:true
+PORT
+Max:200
+PORT
+Min:-200
+PORT
+ReactiveOnTrack:true
+PORT
+Title:"Translate Y"
+FIN_BOX
+BOX
+wx:Slider:Box57
+ISEXEC:FALSE
+-88.940622:-236.017922:-900.000000
+-56.165622:-246.017922:-900.000000
+PORT
+In:0
+PORT
+Label:true
+PORT
+Max:200
+PORT
+Min:-200
+PORT
+ReactiveOnTrack:true
+PORT
+Title:"translate X"
+FIN_BOX
+BOX
+std:ConcatStrings:Box58
+ISEXEC:FALSE
+82.846552:-303.297449:-900.000000
+128.421552:-313.297449:-900.000000
+PORT
+In2:" "
+PORT
+In4:" 0"
+FIN_BOX
+BOX
+std:GetVectorIntElement:Box60
+ISEXEC:FALSE
+38.773625:-242.635260:-900.000000
+109.948625:-252.635260:-900.000000
+PORT
+I:0
+FIN_BOX
+BOX
+std:Add:Box62
+ISEXEC:FALSE
+51.344485:-274.358300:-900.000000
+84.119485:-284.358300:-900.000000
+FIN_BOX
+BOX
+std:Add:Box63
+ISEXEC:FALSE
+89.640753:-273.099518:-900.000000
+122.415753:-283.099518:-900.000000
+FIN_BOX
+BOX
+std:GetVectorIntElement:Box64
+ISEXEC:FALSE
+131.453925:-244.842388:-900.000000
+202.628925:-254.842388:-900.000000
+PORT
+I:1
+FIN_BOX
+BOX
+std:MagicBox:Box70
+ISEXEC:FALSE
+-186.153350:-61.625289:-900.000000
+-140.578350:-71.625289:-900.000000
+FIN_BOX
+CONNECTIONS:40
+CONNECTION
+slider:Widget:buttonsLayout:Widget1
+NumberOfControlPoints:0
+CONNECTION
+sliderX:Widget:buttonsLayout:Widget2
+NumberOfControlPoints:0
+CONNECTION
+sliderY:Widget:buttonsLayout:Widget3
+NumberOfControlPoints:0
+CONNECTION
+slider:Out:transform:Angle
+NumberOfControlPoints:0
+CONNECTION
+sliderX:Out:transform:ScaleX
+NumberOfControlPoints:0
+CONNECTION
+sliderY:Out:transform:ScaleY
+NumberOfControlPoints:0
+CONNECTION
+transform:Out:reslice1:Transform
+NumberOfControlPoints:0
+CONNECTION
+imgslice2:Out:reslice1:In
+NumberOfControlPoints:0
+CONNECTION
+slider:BoxChange:mult:In1
+NumberOfControlPoints:0
+CONNECTION
+sliderX:BoxChange:mult:In2
+NumberOfControlPoints:0
+CONNECTION
+sliderY:BoxChange:mult:In3
+NumberOfControlPoints:0
+CONNECTION
+reslice1:Out:convol2:In
+NumberOfControlPoints:0
+CONNECTION
+imgslice2:Out:Box51:In
+NumberOfControlPoints:0
+CONNECTION
+Box51:Size:Box53:In1
+NumberOfControlPoints:0
+CONNECTION
+Box53:Out:Box52:In
+NumberOfControlPoints:0
+CONNECTION
+Box52:Out:Box54:In1
+NumberOfControlPoints:0
+CONNECTION
+Box60:Out:Box62:In1
+NumberOfControlPoints:0
+CONNECTION
+Box57:Out:Box62:In2
+NumberOfControlPoints:0
+CONNECTION
+Box62:Out:Box58:In1
+NumberOfControlPoints:0
+CONNECTION
+Box64:Out:Box63:In1
+NumberOfControlPoints:0
+CONNECTION
+Box55:Out:Box63:In2
+NumberOfControlPoints:0
+CONNECTION
+Box63:Out:Box58:In3
+NumberOfControlPoints:0
+CONNECTION
+Box57:Widget:buttonsLayout:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box55:Widget:buttonsLayout:Widget5
+NumberOfControlPoints:0
+CONNECTION
+Box57:BoxChange:mult:In4
+NumberOfControlPoints:0
+CONNECTION
+Box55:BoxChange:mult:In5
+NumberOfControlPoints:0
+CONNECTION
+Box58:Out:transform:CenterPoint
+NumberOfControlPoints:0
+CONNECTION
+Box54:Out:reslice1:Origin
+NumberOfControlPoints:0
+CONNECTION
+Box54:Out:Box64:In
+NumberOfControlPoints:0
+CONNECTION
+Box54:Out:Box60:In
+NumberOfControlPoints:0
+CONNECTION
+convol2:Out:Out:Out
+NumberOfControlPoints:0
+CONNECTION
+buttonsLayout:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+mult:BoxChange:BoxChange:BoxChange
+NumberOfControlPoints:0
+CONNECTION
+SliceZ:SliceZ:imgslice2:Z
+NumberOfControlPoints:0
+CONNECTION
+ConvolutionFactor:ConvolutionFactor:convol2:Factor
+NumberOfControlPoints:0
+CONNECTION
+ConvolutionOnOff:ConvolutionOnOff:convol2:On
+NumberOfControlPoints:0
+CONNECTION
+BoxExecute:BoxExecute:Box70:In
+NumberOfControlPoints:0
+CONNECTION
+In:In:imgslice2:In
+NumberOfControlPoints:0
+CONNECTION
+Box70:BoxChange:imgslice2:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box70:BoxChange:convol2:BoxExecute
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_A.bbs b/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_A.bbs
new file mode 100644 (file)
index 0000000..3e1003a
--- /dev/null
@@ -0,0 +1,148 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_A.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include vtk
+include wx
+include PackRecalage
+include std
+
+define CompareImagesWidget_base_2Dt_A PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "creatisRecalage"
+
+category "example"
+
+new SliceImage imgslice2
+
+new LayoutLine buttonsLayout
+  set buttonsLayout.Orientation "V"
+  set buttonsLayout.WinTitle "Image transformation"
+
+new Slider slider
+  set slider.In "0"
+  set slider.Max "180"
+  set slider.Min "-180"
+  set slider.ReactiveOnTrack "1"
+  set slider.Title "Angle"
+
+new Slider sliderX
+  set sliderX.In "100"
+  set sliderX.Max "500"
+  set sliderX.Min "10"
+  set sliderX.ReactiveOnTrack "1"
+  set sliderX.Title "% Scale in X"
+
+new Slider sliderY
+  set sliderY.In "100"
+  set sliderY.Max "500"
+  set sliderY.Min "10"
+  set sliderY.ReactiveOnTrack "1"
+  set sliderY.Title "% Scale in Y"
+
+new Transform2DBox transform
+
+new ReSlicerBox reslice1
+  set reslice1.Centered false
+  set reslice1.Interpolate true
+  set reslice1.Origin "0 0 0"
+
+new ImageConvolution convol2
+
+new MultipleInputs mult
+
+new ImageVtkProperties Box51
+
+new VectorRescaleSlope Box52
+  set Box52.A 0.5
+  set Box52.B 0
+  set Box52.Type 0
+
+new ConcatStrings Box53
+
+new ConcatStrings Box54
+
+new Slider Box55
+  set Box55.In 0
+  set Box55.Label true
+  set Box55.Max 200
+  set Box55.Min -200
+  set Box55.ReactiveOnTrack true
+  set Box55.Title "Translate Y"
+
+new Slider Box57
+  set Box57.In 0
+  set Box57.Label true
+  set Box57.Max 200
+  set Box57.Min -200
+  set Box57.ReactiveOnTrack true
+  set Box57.Title "translate X"
+
+new ConcatStrings Box58
+  set Box58.In2 " "
+  set Box58.In4 " 0"
+
+new GetVectorIntElement Box60
+  set Box60.I 0
+
+new Add Box62
+
+new Add Box63
+
+new GetVectorIntElement Box64
+  set Box64.I 1
+
+new MagicBox Box70
+
+
+connect slider.Widget buttonsLayout.Widget1
+connect sliderX.Widget buttonsLayout.Widget2
+connect sliderY.Widget buttonsLayout.Widget3
+connect slider.Out transform.Angle
+connect sliderX.Out transform.ScaleX
+connect sliderY.Out transform.ScaleY
+connect transform.Out reslice1.Transform
+connect imgslice2.Out reslice1.In
+connect slider.BoxChange mult.In1
+connect sliderX.BoxChange mult.In2
+connect sliderY.BoxChange mult.In3
+connect reslice1.Out convol2.In
+connect imgslice2.Out Box51.In
+connect Box51.Size Box53.In1
+connect Box53.Out Box52.In
+connect Box52.Out Box54.In1
+connect Box60.Out Box62.In1
+connect Box57.Out Box62.In2
+connect Box62.Out Box58.In1
+connect Box64.Out Box63.In1
+connect Box55.Out Box63.In2
+connect Box63.Out Box58.In3
+connect Box57.Widget buttonsLayout.Widget4
+connect Box55.Widget buttonsLayout.Widget5
+connect Box57.BoxChange mult.In4
+connect Box55.BoxChange mult.In5
+connect Box58.Out transform.CenterPoint
+connect Box54.Out reslice1.Origin
+connect Box54.Out Box64.In
+connect Box54.Out Box60.In
+connect Box70.BoxChange imgslice2.BoxExecute
+connect Box70.BoxChange convol2.BoxExecute
+
+# Complex input ports
+input SliceZ imgslice2.Z " "
+input ConvolutionFactor convol2.Factor " "
+input ConvolutionOnOff convol2.On " "
+input BoxExecute Box70.In " "
+input In imgslice2.In " "
+
+# Complex output ports
+output Out convol2.Out " "
+output Widget buttonsLayout.Widget " "
+output BoxChange mult.BoxChange " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_B.bbg b/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_B.bbg
new file mode 100644 (file)
index 0000000..a69d329
--- /dev/null
@@ -0,0 +1,74 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_B.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:example
+DESCRIPTION:creatisRecalage
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesWidget_base_2Dt_B
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Out
+-337.715913:-303.921781:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:5
+COMPLEX_PORT
+SliceZ
+-319.498823:204.633310:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxExecute
+-396.389512:203.237945:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ConvolutionFactor
+-365.379250:201.941952:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ConvolutionOnOff
+-235.808531:201.387474:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+In
+-337.831050:201.681709:-900.000000
+FIN_COMPLEX_PORT
+BOXES:2
+BOX
+vtk:SliceImage:imgslice1
+ISEXEC:FALSE
+-342.315734:101.785328:-900.000000
+-296.740734:91.785328:-900.000000
+FIN_BOX
+BOX
+PackRecalage:ImageConvolution:convol1
+ISEXEC:FALSE
+-346.736688:-26.263667:-900.000000
+-275.561688:-36.263667:-900.000000
+FIN_BOX
+CONNECTIONS:7
+CONNECTION
+imgslice1:Out:convol1:In
+NumberOfControlPoints:0
+CONNECTION
+convol1:Out:Out:Out
+NumberOfControlPoints:0
+CONNECTION
+SliceZ:SliceZ:imgslice1:Z
+NumberOfControlPoints:0
+CONNECTION
+ConvolutionFactor:ConvolutionFactor:convol1:Factor
+NumberOfControlPoints:0
+CONNECTION
+ConvolutionOnOff:ConvolutionOnOff:convol1:On
+NumberOfControlPoints:0
+CONNECTION
+In:In:imgslice1:In
+NumberOfControlPoints:0
+CONNECTION
+BoxExecute:BoxExecute:convol1:BoxExecute
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_B.bbs b/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_B.bbs
new file mode 100644 (file)
index 0000000..ad7386a
--- /dev/null
@@ -0,0 +1,36 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_2Dt_B.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include vtk
+include PackRecalage
+
+define CompareImagesWidget_base_2Dt_B PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "creatisRecalage"
+
+category "example"
+
+new SliceImage imgslice1
+
+new ImageConvolution convol1
+
+
+connect imgslice1.Out convol1.In
+
+# Complex input ports
+input SliceZ imgslice1.Z " "
+input ConvolutionFactor convol1.Factor " "
+input ConvolutionOnOff convol1.On " "
+input In imgslice1.In " "
+input BoxExecute convol1.BoxExecute " "
+
+# Complex output ports
+output Out convol1.Out " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg b/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg
new file mode 100644 (file)
index 0000000..f5f0403
--- /dev/null
@@ -0,0 +1,74 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:example
+DESCRIPTION:creatisRecalage
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesWidget_base_3Dp_B
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Out
+-337.715913:-303.921781:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:5
+COMPLEX_PORT
+SliceZ
+-319.498823:204.633310:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxExecute
+-396.389512:203.237945:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ConvolutionFactor
+-365.379250:201.941952:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ConvolutionOnOff
+-235.808531:201.387474:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+In
+-337.831050:201.681709:-900.000000
+FIN_COMPLEX_PORT
+BOXES:2
+BOX
+vtk:SliceImage:imgslice1
+ISEXEC:FALSE
+-342.315734:101.785328:-900.000000
+-296.740734:91.785328:-900.000000
+FIN_BOX
+BOX
+PackRecalage:ImageConvolution:convol1
+ISEXEC:FALSE
+-346.736688:-26.263667:-900.000000
+-275.561688:-36.263667:-900.000000
+FIN_BOX
+CONNECTIONS:7
+CONNECTION
+imgslice1:Out:convol1:In
+NumberOfControlPoints:0
+CONNECTION
+convol1:Out:Out:Out
+NumberOfControlPoints:0
+CONNECTION
+SliceZ:SliceZ:imgslice1:Z
+NumberOfControlPoints:0
+CONNECTION
+ConvolutionFactor:ConvolutionFactor:convol1:Factor
+NumberOfControlPoints:0
+CONNECTION
+ConvolutionOnOff:ConvolutionOnOff:convol1:On
+NumberOfControlPoints:0
+CONNECTION
+In:In:imgslice1:In
+NumberOfControlPoints:0
+CONNECTION
+BoxExecute:BoxExecute:convol1:BoxExecute
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs b/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs
new file mode 100644 (file)
index 0000000..8f74b49
--- /dev/null
@@ -0,0 +1,36 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include vtk
+include PackRecalage
+
+define CompareImagesWidget_base_3Dp_B PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "creatisRecalage"
+
+category "example"
+
+new SliceImage imgslice1
+
+new ImageConvolution convol1
+
+
+connect imgslice1.Out convol1.In
+
+# Complex input ports
+input SliceZ imgslice1.Z " "
+input ConvolutionFactor convol1.Factor " "
+input ConvolutionOnOff convol1.On " "
+input In imgslice1.In " "
+input BoxExecute convol1.BoxExecute " "
+
+# Complex output ports
+output Out convol1.Out " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_interface_3Dp.bbg b/PackRecalage/bbs/boxes/CompareImagesWidget_base_interface_3Dp.bbg
new file mode 100644 (file)
index 0000000..2bf6a26
--- /dev/null
@@ -0,0 +1,140 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_interface_3Dp.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImagesWidget_base_interface_3Dp
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:5
+COMPLEX_PORT
+BoxChange
+-501.940096:-65.413696:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Widget
+-727.374600:-65.410778:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ConvolutionFactor
+-623.080251:-66.901331:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+SliceZ
+-757.526410:-64.325786:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+ConvolutionOnOff
+-558.972037:-66.774691:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:1
+COMPLEX_PORT
+Max
+-691.578673:76.608044:-900.000000
+FIN_COMPLEX_PORT
+BOXES:6
+BOX
+wx:Slider:Box00
+ISEXEC:FALSE
+-708.443865:52.724695:-900.000000
+-657.043865:42.724695:-900.000000
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"1"
+PORT
+Title:"Z for slice"
+FIN_BOX
+BOX
+wx:Slider:Box01
+ISEXEC:FALSE
+-629.428817:54.402532:-900.000000
+-578.028817:44.402532:-900.000000
+PORT
+In:"0"
+PORT
+Max:"100"
+PORT
+Min:"0"
+PORT
+ReactiveOnTrack:"1"
+PORT
+Title:"Convolution Factor"
+FIN_BOX
+BOX
+wx:CheckBox:Box02
+ISEXEC:FALSE
+-559.470333:54.584681:-900.000000
+-513.895333:44.584681:-900.000000
+PORT
+In:"True"
+FIN_BOX
+BOX
+std:MultipleInputs:Box03
+ISEXEC:FALSE
+-516.413928:-6.649733:-900.000000
+-470.838928:-16.649733:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box04
+ISEXEC:FALSE
+-720.813034:-40.808029:-900.000000
+-663.253034:-50.808029:-900.000000
+PORT
+WinTitle:"Appearance"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box05
+ISEXEC:FALSE
+-698.793376:-11.395173:-900.000000
+-653.218376:-21.395173:-900.000000
+PORT
+Orientation:"H"
+PORT
+Proportion:"80"
+FIN_BOX
+CONNECTIONS:13
+CONNECTION
+Box02:Widget:Box05:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box05:Widget:Box04:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box01:Widget:Box05:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box00:Widget:Box04:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box02:BoxChange:Box03:In3
+NumberOfControlPoints:0
+CONNECTION
+Box01:BoxChange:Box03:In2
+NumberOfControlPoints:0
+CONNECTION
+Box00:BoxChange:Box03:In1
+NumberOfControlPoints:0
+CONNECTION
+Max:Max:Box00:Max
+NumberOfControlPoints:0
+CONNECTION
+Box03:BoxChange:BoxChange:BoxChange
+NumberOfControlPoints:0
+CONNECTION
+Box04:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box01:Out:ConvolutionFactor:ConvolutionFactor
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:SliceZ:SliceZ
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:ConvolutionOnOff:ConvolutionOnOff
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_interface_3Dp.bbs b/PackRecalage/bbs/boxes/CompareImagesWidget_base_interface_3Dp.bbs
new file mode 100644 (file)
index 0000000..362f114
--- /dev/null
@@ -0,0 +1,62 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_interface_3Dp.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+include std
+
+define CompareImagesWidget_base_interface_3Dp PackRecalage
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new Slider Box00
+  set Box00.Min "0"
+  set Box00.ReactiveOnTrack "1"
+  set Box00.Title "Z for slice"
+
+new Slider Box01
+  set Box01.In "0"
+  set Box01.Max "100"
+  set Box01.Min "0"
+  set Box01.ReactiveOnTrack "1"
+  set Box01.Title "Convolution Factor"
+
+new CheckBox Box02
+  set Box02.In "True"
+
+new MultipleInputs Box03
+
+new LayoutLine Box04
+  set Box04.WinTitle "Appearance"
+
+new LayoutSplit Box05
+  set Box05.Orientation "H"
+  set Box05.Proportion "80"
+
+
+connect Box02.Widget Box05.Widget2
+connect Box05.Widget Box04.Widget4
+connect Box01.Widget Box05.Widget1
+connect Box00.Widget Box04.Widget1
+connect Box02.BoxChange Box03.In3
+connect Box01.BoxChange Box03.In2
+connect Box00.BoxChange Box03.In1
+
+# Complex input ports
+input Max Box00.Max " "
+
+# Complex output ports
+output BoxChange Box03.BoxChange " "
+output Widget Box04.Widget " "
+output ConvolutionFactor Box01.Out " "
+output SliceZ Box00.Out " "
+output ConvolutionOnOff Box02.Out " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg b/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg
new file mode 100644 (file)
index 0000000..5c4fbab
--- /dev/null
@@ -0,0 +1,183 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:example
+DESCRIPTION:creatisRecalage
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:CompareImages_3DwithPlanes_Widget
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:1
+COMPLEX_PORT
+Widget
+8.553144:-237.783189:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:3
+COMPLEX_PORT
+In2
+26.287266:82.718028:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+In1
+-108.452895:80.075047:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+WinTitle
+127.660823:81.277727:-900.000000
+FIN_COMPLEX_PORT
+BOXES:11
+BOX
+PackRecalage:ImageRecalageProperties:properties
+ISEXEC:FALSE
+-81.258594:35.032507:-900.000000
+-10.083594:25.032507:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:tabs
+ISEXEC:FALSE
+-88.321409:-187.998536:-900.000000
+-30.761409:-197.998536:-900.000000
+PORT
+Orientation:V
+FIN_BOX
+BOX
+wx:LayoutSplit:window2
+ISEXEC:FALSE
+1.731870:-215.155455:-900.000000
+47.306870:-225.155455:-900.000000
+PORT
+Orientation:H
+PORT
+Proportion:"25"
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box56
+ISEXEC:FALSE
+-113.184214:59.169083:-900.000000
+-42.009214:49.169083:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box59
+ISEXEC:FALSE
+19.532669:57.346555:-900.000000
+90.707669:47.346555:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box61
+ISEXEC:FALSE
+-6.540113:-112.137700:-900.000000
+51.019887:-122.137700:-900.000000
+FIN_BOX
+BOX
+PackRecalage:CompareImagesWidget_base_2Dt_A:Box70
+ISEXEC:FALSE
+-94.598075:-51.688713:-900.000000
+-23.423075:-61.688713:-900.000000
+FIN_BOX
+BOX
+PackRecalage:CompareImagesWidget_base_2Dt_B:Box72
+ISEXEC:FALSE
+-8.764256:-51.539865:-900.000000
+62.410744:-61.539865:-900.000000
+FIN_BOX
+BOX
+PackRecalage:CompareImagesSwitcherWidget_3Dp:Box36
+ISEXEC:FALSE
+-153.977625:-150.876669:-900.000000
+-82.802625:-160.876669:-900.000000
+FIN_BOX
+BOX
+PackRecalage:CompareImagesTransparencyWidget_3Dp:Box37
+ISEXEC:FALSE
+-71.714979:-150.701122:-900.000000
+-0.539979:-160.701122:-900.000000
+FIN_BOX
+BOX
+PackRecalage:CompareImagesWidget_base_interface_3Dp:Box18
+ISEXEC:FALSE
+-61.656138:2.384024:-900.000000
+9.518862:-7.615976:-900.000000
+FIN_BOX
+CONNECTIONS:26
+CONNECTION
+Box59:Out:properties:In
+NumberOfControlPoints:0
+CONNECTION
+In2:In2:Box59:In
+NumberOfControlPoints:0
+CONNECTION
+In1:In1:Box56:In
+NumberOfControlPoints:0
+CONNECTION
+window2:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box61:Widget:window2:Widget1
+NumberOfControlPoints:0
+CONNECTION
+tabs:Widget:window2:Widget2
+NumberOfControlPoints:0
+CONNECTION
+WinTitle:WinTitle:window2:WinTitle
+NumberOfControlPoints:0
+CONNECTION
+Box56:Out:Box70:In
+NumberOfControlPoints:0
+CONNECTION
+Box70:Widget:Box61:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box59:Out:Box72:In
+NumberOfControlPoints:0
+CONNECTION
+Box70:Out:Box36:Image1
+NumberOfControlPoints:0
+CONNECTION
+Box72:Out:Box36:Image2
+NumberOfControlPoints:0
+CONNECTION
+Box37:Widget:tabs:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box72:Out:Box37:Image2
+NumberOfControlPoints:0
+CONNECTION
+Box70:Out:Box37:Image1
+NumberOfControlPoints:0
+CONNECTION
+Box36:Widget:tabs:Widget1
+NumberOfControlPoints:0
+CONNECTION
+properties:LengthZ:Box18:Max
+NumberOfControlPoints:0
+CONNECTION
+Box18:Widget:Box61:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box18:BoxChange:Box70:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box18:SliceZ:Box70:SliceZ
+NumberOfControlPoints:0
+CONNECTION
+Box18:SliceZ:Box72:SliceZ
+NumberOfControlPoints:0
+CONNECTION
+Box18:ConvolutionFactor:Box70:ConvolutionFactor
+NumberOfControlPoints:0
+CONNECTION
+Box18:ConvolutionFactor:Box72:ConvolutionFactor
+NumberOfControlPoints:0
+CONNECTION
+Box18:ConvolutionOnOff:Box70:ConvolutionOnOff
+NumberOfControlPoints:0
+CONNECTION
+Box18:ConvolutionOnOff:Box72:ConvolutionOnOff
+NumberOfControlPoints:0
+CONNECTION
+Box70:BoxChange:Box37:BoxExecute
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs b/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs
new file mode 100644 (file)
index 0000000..46cedc1
--- /dev/null
@@ -0,0 +1,77 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include PackRecalage
+include wx
+include vtk
+
+define CompareImages_3DwithPlanes_Widget PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "creatisRecalage"
+
+category "example"
+
+new ImageRecalageProperties properties
+
+new LayoutTab tabs
+  set tabs.Orientation V
+
+new LayoutSplit window2
+  set window2.Orientation H
+  set window2.Proportion "25"
+
+new vtkImageDataPointerRelay Box56
+
+new vtkImageDataPointerRelay Box59
+
+new LayoutTab Box61
+
+new CompareImagesWidget_base_2Dt_A Box70
+
+new CompareImagesWidget_base_2Dt_B Box72
+
+new CompareImagesSwitcherWidget_3Dp Box36
+
+new CompareImagesTransparencyWidget_3Dp Box37
+
+new CompareImagesWidget_base_interface_3Dp Box18
+
+
+connect Box59.Out properties.In
+connect Box61.Widget window2.Widget1
+connect tabs.Widget window2.Widget2
+connect Box56.Out Box70.In
+connect Box70.Widget Box61.Widget2
+connect Box59.Out Box72.In
+connect Box70.Out Box36.Image1
+connect Box72.Out Box36.Image2
+connect Box37.Widget tabs.Widget2
+connect Box72.Out Box37.Image2
+connect Box70.Out Box37.Image1
+connect Box36.Widget tabs.Widget1
+connect properties.LengthZ Box18.Max
+connect Box18.Widget Box61.Widget1
+connect Box18.BoxChange Box70.BoxExecute
+connect Box18.SliceZ Box70.SliceZ
+connect Box18.SliceZ Box72.SliceZ
+connect Box18.ConvolutionFactor Box70.ConvolutionFactor
+connect Box18.ConvolutionFactor Box72.ConvolutionFactor
+connect Box18.ConvolutionOnOff Box70.ConvolutionOnOff
+connect Box18.ConvolutionOnOff Box72.ConvolutionOnOff
+connect Box70.BoxChange Box37.BoxExecute
+
+# Complex input ports
+input In2 Box59.In " "
+input In1 Box56.In " "
+input WinTitle window2.WinTitle " "
+
+# Complex output ports
+output Widget window2.Widget " "
+
+
+endefine
diff --git a/PackRecalage/bbs/boxes/Recalage3D1PointWidget.bbg b/PackRecalage/bbs/boxes/Recalage3D1PointWidget.bbg
new file mode 100644 (file)
index 0000000..30a460d
--- /dev/null
@@ -0,0 +1,534 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/Recalage3D1PointWidget.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:widget
+DESCRIPTION:Recalage3D 1-point Widget
+AUTHOR:info-dev@creatis.insa-lyon.fr
+COMPLEXBOX:TRUE
+COMPLEXBOXNAME:Recalage3D1PointWidget
+PACKAGENAME:PackRecalage
+COMPLEXOUTPUTS:3
+COMPLEX_PORT
+Out
+8.933001:-415.415453:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Widget
+-56.153037:-418.185072:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+BoxChange
+101.026776:-409.866011:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:2
+COMPLEX_PORT
+Image1
+93.036335:127.259510:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+Image2
+221.424351:134.619332:-900.000000
+FIN_COMPLEX_PORT
+BOXES:32
+BOX
+wx:Slider:sdrAngleX
+ISEXEC:FALSE
+-174.029489:-27.933749:-900.000000
+-122.629489:-37.933749:-900.000000
+PORT
+In:"0"
+PORT
+Max:"180"
+PORT
+Min:"-180"
+PORT
+Title:"Rotation angle in X Axis"
+FIN_BOX
+BOX
+wx:Slider:sdrAngleY
+ISEXEC:FALSE
+-139.870137:-31.245806:-900.000000
+-88.470137:-41.245806:-900.000000
+PORT
+In:"0"
+PORT
+Max:"180"
+PORT
+Min:"-180"
+PORT
+Title:"Rotation angle in Y Axis"
+FIN_BOX
+BOX
+wx:Slider:sdrAngleZ
+ISEXEC:FALSE
+-107.605091:-41.772127:-900.000000
+-56.205091:-51.772127:-900.000000
+PORT
+In:"0"
+PORT
+Max:"180"
+PORT
+Min:"-180"
+PORT
+Title:"Rotation angle in Z Axis"
+FIN_BOX
+BOX
+wx:Slider:sdrScaleX
+ISEXEC:FALSE
+-400.546966:-11.712447:-900.000000
+-349.146966:-21.712447:-900.000000
+PORT
+In:"100"
+PORT
+Max:"300"
+PORT
+Min:"10"
+PORT
+Title:"Scale in X Axis"
+FIN_BOX
+BOX
+wx:Slider:sdrScaleY
+ISEXEC:FALSE
+-371.771757:-19.287304:-900.000000
+-320.371757:-29.287304:-900.000000
+PORT
+In:"100"
+PORT
+Max:"300"
+PORT
+Min:"10"
+PORT
+Title:"Scale in Y Axis"
+FIN_BOX
+BOX
+wx:Slider:sdrScaleZ
+ISEXEC:FALSE
+-349.265040:-25.694046:-900.000000
+-297.865040:-35.694046:-900.000000
+PORT
+In:"100"
+PORT
+Max:"300"
+PORT
+Min:"10"
+PORT
+Title:"Scale in Z Axis"
+FIN_BOX
+BOX
+PackRecalage:Transform3D1PointBox:transform
+ISEXEC:FALSE
+-82.895553:-211.980656:-900.000000
+-11.720553:-221.980656:-900.000000
+FIN_BOX
+BOX
+PackRecalage:ReSlicerBox:reslicer
+ISEXEC:FALSE
+12.176786:-236.507868:-900.000000
+57.751786:-246.507868:-900.000000
+FIN_BOX
+BOX
+std:MultipleInputs:mult
+ISEXEC:FALSE
+-72.899950:-125.121619:-900.000000
+-27.324950:-135.121619:-900.000000
+FIN_BOX
+BOX
+std:MultipleInputs:mult2
+ISEXEC:FALSE
+-323.747985:-157.879870:-900.000000
+-278.172985:-167.879870:-900.000000
+FIN_BOX
+BOX
+std:MultipleInputs:mult3
+ISEXEC:FALSE
+-7.207547:-159.189958:-900.000000
+38.367453:-169.189958:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:toolsLayout
+ISEXEC:FALSE
+-289.546775:-208.062393:-900.000000
+-231.986775:-218.062393:-900.000000
+PORT
+Orientation:"v"
+PORT
+WinTitle:"Rotation"
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box22
+ISEXEC:FALSE
+84.622612:12.255656:-900.000000
+155.797612:2.255656:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box23
+ISEXEC:FALSE
+198.521946:1.600496:-900.000000
+269.696946:-8.399504:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box32
+ISEXEC:FALSE
+-239.056959:-330.032399:-900.000000
+-181.496959:-340.032399:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box33
+ISEXEC:FALSE
+-161.565171:-209.675183:-900.000000
+-104.005171:-219.675183:-900.000000
+PORT
+WinTitle:"Scale"
+FIN_BOX
+BOX
+wx:Slider:TranslateZ
+ISEXEC:FALSE
+-216.240041:-6.618584:-900.000000
+-164.840041:-16.618584:-900.000000
+PORT
+Max:"1000"
+PORT
+Min:"-1000"
+PORT
+ReactiveOnTrack:"true"
+FIN_BOX
+BOX
+wx:Slider:TranslateY
+ISEXEC:FALSE
+-229.193202:16.372069:-900.000000
+-177.793202:6.372069:-900.000000
+PORT
+Max:"1000"
+PORT
+Min:"-1000"
+PORT
+ReactiveOnTrack:"true"
+FIN_BOX
+BOX
+wx:Slider:TranslateX
+ISEXEC:FALSE
+-251.469571:35.608778:-900.000000
+-200.069571:25.608778:-900.000000
+PORT
+Max:"1000"
+PORT
+Min:"-1000"
+PORT
+ReactiveOnTrack:"true"
+FIN_BOX
+BOX
+wx:LayoutLine:Box37
+ISEXEC:FALSE
+-224.356055:-207.063451:-900.000000
+-166.796055:-217.063451:-900.000000
+PORT
+WinTitle:"Translate"
+FIN_BOX
+BOX
+wx:LayoutLine:Box40
+ISEXEC:FALSE
+-137.533440:-309.785057:-900.000000
+-79.973440:-319.785057:-900.000000
+PORT
+WinTitle:"Options"
+FIN_BOX
+BOX
+toolsbbtk:SaveMHD-Button:Box41
+ISEXEC:FALSE
+-142.015270:-262.292236:-900.000000
+-96.440270:-272.292236:-900.000000
+FIN_BOX
+BOX
+wx:CommandButton:Box42
+ISEXEC:FALSE
+-109.815764:-277.432262:-900.000000
+-64.240764:-287.432262:-900.000000
+PORT
+Label:"Same Matrix"
+PORT
+WinTitle:"Same Matrix"
+FIN_BOX
+BOX
+std:ConcatStrings:Box43
+ISEXEC:FALSE
+-247.066934:-38.696583:-900.000000
+-201.491934:-48.696583:-900.000000
+PORT
+In2:" "
+PORT
+In4:" "
+FIN_BOX
+BOX
+wx:CheckBox:Box44
+ISEXEC:FALSE
+-326.495871:109.063758:-900.000000
+-280.920871:99.063758:-900.000000
+PORT
+In:"true"
+PORT
+ReactiveOnKeystroke:"true"
+PORT
+Title:"Reactive"
+FIN_BOX
+BOX
+std:ConcatStrings:Box45
+ISEXEC:FALSE
+36.108734:-34.969140:-900.000000
+81.683734:-44.969140:-900.000000
+FIN_BOX
+BOX
+std:ConcatStrings:Box46
+ISEXEC:FALSE
+34.423620:-80.795697:-900.000000
+79.998620:-90.795697:-900.000000
+FIN_BOX
+BOX
+std:VectorRescaleSlope:Box47
+ISEXEC:FALSE
+28.384437:-60.750196:-900.000000
+99.559437:-70.750196:-900.000000
+PORT
+A:"0.5"
+FIN_BOX
+BOX
+vtk:ImageVtkProperties:Box48
+ISEXEC:FALSE
+39.287720:-17.419439:-900.000000
+84.862720:-27.419439:-900.000000
+FIN_BOX
+BOX
+std:GetVectorDoubleElement:Box49
+ISEXEC:FALSE
+35.650859:-107.818723:-900.000000
+106.825859:-117.818723:-900.000000
+PORT
+I:"0"
+PORT
+In:"0"
+FIN_BOX
+BOX
+std:GetVectorDoubleElement:Box50
+ISEXEC:FALSE
+52.013698:-122.977938:-900.000000
+123.188698:-132.977938:-900.000000
+PORT
+I:"1"
+PORT
+In:"0"
+FIN_BOX
+BOX
+std:GetVectorDoubleElement:Box51
+ISEXEC:FALSE
+64.055017:-139.238406:-900.000000
+135.230017:-149.238406:-900.000000
+PORT
+I:"2"
+PORT
+In:"0"
+FIN_BOX
+CONNECTIONS:67
+CONNECTION
+sdrAngleX:Out:transform:AngleX
+NumberOfControlPoints:0
+CONNECTION
+sdrAngleY:Out:transform:AngleY
+NumberOfControlPoints:0
+CONNECTION
+sdrAngleZ:Out:transform:AngleZ
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleX:Out:transform:ScaleX
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleY:Out:transform:ScaleY
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleZ:Out:transform:ScaleZ
+NumberOfControlPoints:0
+CONNECTION
+transform:Out:reslicer:Transform
+NumberOfControlPoints:0
+CONNECTION
+sdrAngleX:BoxChange:mult:In3
+NumberOfControlPoints:0
+CONNECTION
+sdrAngleY:BoxChange:mult:In4
+NumberOfControlPoints:0
+CONNECTION
+sdrAngleZ:BoxChange:mult:In5
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleX:BoxChange:mult2:In1
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleY:BoxChange:mult2:In2
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleZ:BoxChange:mult2:In3
+NumberOfControlPoints:0
+CONNECTION
+mult:BoxChange:mult3:In1
+NumberOfControlPoints:0
+CONNECTION
+mult2:BoxChange:mult3:In2
+NumberOfControlPoints:0
+CONNECTION
+mult3:BoxChange:transform:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+mult3:BoxChange:reslicer:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+sdrAngleX:Widget:toolsLayout:Widget1
+NumberOfControlPoints:0
+CONNECTION
+sdrAngleY:Widget:toolsLayout:Widget2
+NumberOfControlPoints:0
+CONNECTION
+sdrAngleZ:Widget:toolsLayout:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box22:Out:reslicer:In
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleX:Widget:Box33:Widget1
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleY:Widget:Box33:Widget2
+NumberOfControlPoints:0
+CONNECTION
+sdrScaleZ:Widget:Box33:Widget3
+NumberOfControlPoints:0
+CONNECTION
+toolsLayout:Widget:Box32:Widget1
+NumberOfControlPoints:0
+CONNECTION
+TranslateX:Widget:Box37:Widget1
+NumberOfControlPoints:0
+CONNECTION
+TranslateY:Widget:Box37:Widget2
+NumberOfControlPoints:0
+CONNECTION
+TranslateZ:Widget:Box37:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box40:Widget:Box32:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box41:Widget:Box40:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box42:Widget:Box40:Widget2
+NumberOfControlPoints:0
+CONNECTION
+reslicer:Out:Box41:In
+NumberOfControlPoints:0
+CONNECTION
+Box37:Widget:Box32:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box33:Widget:Box32:Widget3
+NumberOfControlPoints:0
+CONNECTION
+TranslateX:Out:Box43:In1
+NumberOfControlPoints:0
+CONNECTION
+TranslateY:Out:Box43:In3
+NumberOfControlPoints:0
+CONNECTION
+TranslateZ:Out:Box43:In5
+NumberOfControlPoints:0
+CONNECTION
+Box43:Out:transform:CenterPoint
+NumberOfControlPoints:0
+CONNECTION
+TranslateX:BoxChange:mult2:In4
+NumberOfControlPoints:0
+CONNECTION
+TranslateY:BoxChange:mult2:In5
+NumberOfControlPoints:0
+CONNECTION
+TranslateZ:BoxChange:mult2:In6
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:TranslateX:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:TranslateY:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:TranslateZ:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:sdrScaleX:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:sdrScaleY:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:sdrScaleZ:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:sdrAngleX:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:sdrAngleY:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Out:sdrAngleZ:ReactiveOnTrack
+NumberOfControlPoints:0
+CONNECTION
+Box44:Widget:Box40:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box47:Out:Box46:In1
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:reslicer:Origin
+NumberOfControlPoints:0
+CONNECTION
+Box48:Size:Box45:In1
+NumberOfControlPoints:0
+CONNECTION
+Box45:Out:Box47:In
+NumberOfControlPoints:0
+CONNECTION
+Box47:Out:Box49:In
+NumberOfControlPoints:0
+CONNECTION
+Box49:Out:TranslateX:In
+NumberOfControlPoints:0
+CONNECTION
+Box47:Out:Box50:In
+NumberOfControlPoints:0
+CONNECTION
+Box47:Out:Box51:In
+NumberOfControlPoints:0
+CONNECTION
+Box50:Out:TranslateY:In
+NumberOfControlPoints:0
+CONNECTION
+Box51:Out:TranslateZ:In
+NumberOfControlPoints:0
+CONNECTION
+Box22:Out:Box48:In
+NumberOfControlPoints:0
+CONNECTION
+Image1:Image1:Box22:In
+NumberOfControlPoints:0
+CONNECTION
+Image2:Image2:Box23:In
+NumberOfControlPoints:0
+CONNECTION
+reslicer:Out:Out:Out
+NumberOfControlPoints:0
+CONNECTION
+Box32:Widget:Widget:Widget
+NumberOfControlPoints:0
+CONNECTION
+mult3:BoxChange:BoxChange:BoxChange
+NumberOfControlPoints:0
+APP_END
diff --git a/PackRecalage/bbs/boxes/Recalage3D1PointWidget.bbs b/PackRecalage/bbs/boxes/Recalage3D1PointWidget.bbs
new file mode 100644 (file)
index 0000000..bf2059a
--- /dev/null
@@ -0,0 +1,211 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/Recalage3D1PointWidget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+include PackRecalage
+include std
+include vtk
+include toolsbbtk
+
+define Recalage3D1PointWidget PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "Recalage3D 1-point Widget"
+
+category "widget"
+
+new Slider sdrAngleX
+  set sdrAngleX.In "0"
+  set sdrAngleX.Max "180"
+  set sdrAngleX.Min "-180"
+  set sdrAngleX.Title "Rotation angle in X Axis"
+
+new Slider sdrAngleY
+  set sdrAngleY.In "0"
+  set sdrAngleY.Max "180"
+  set sdrAngleY.Min "-180"
+  set sdrAngleY.Title "Rotation angle in Y Axis"
+
+new Slider sdrAngleZ
+  set sdrAngleZ.In "0"
+  set sdrAngleZ.Max "180"
+  set sdrAngleZ.Min "-180"
+  set sdrAngleZ.Title "Rotation angle in Z Axis"
+
+new Slider sdrScaleX
+  set sdrScaleX.In "100"
+  set sdrScaleX.Max "300"
+  set sdrScaleX.Min "10"
+  set sdrScaleX.Title "Scale in X Axis"
+
+new Slider sdrScaleY
+  set sdrScaleY.In "100"
+  set sdrScaleY.Max "300"
+  set sdrScaleY.Min "10"
+  set sdrScaleY.Title "Scale in Y Axis"
+
+new Slider sdrScaleZ
+  set sdrScaleZ.In "100"
+  set sdrScaleZ.Max "300"
+  set sdrScaleZ.Min "10"
+  set sdrScaleZ.Title "Scale in Z Axis"
+
+new Transform3D1PointBox transform
+
+new ReSlicerBox reslicer
+
+new MultipleInputs mult
+
+new MultipleInputs mult2
+
+new MultipleInputs mult3
+
+new LayoutLine toolsLayout
+  set toolsLayout.Orientation "v"
+  set toolsLayout.WinTitle "Rotation"
+
+new vtkImageDataPointerRelay Box22
+
+new vtkImageDataPointerRelay Box23
+
+new LayoutTab Box32
+
+new LayoutLine Box33
+  set Box33.WinTitle "Scale"
+
+new Slider TranslateZ
+  set TranslateZ.Max "1000"
+  set TranslateZ.Min "-1000"
+  set TranslateZ.ReactiveOnTrack "true"
+
+new Slider TranslateY
+  set TranslateY.Max "1000"
+  set TranslateY.Min "-1000"
+  set TranslateY.ReactiveOnTrack "true"
+
+new Slider TranslateX
+  set TranslateX.Max "1000"
+  set TranslateX.Min "-1000"
+  set TranslateX.ReactiveOnTrack "true"
+
+new LayoutLine Box37
+  set Box37.WinTitle "Translate"
+
+new LayoutLine Box40
+  set Box40.WinTitle "Options"
+
+new SaveMHD-Button Box41
+
+new CommandButton Box42
+  set Box42.Label "Same Matrix"
+  set Box42.WinTitle "Same Matrix"
+
+new ConcatStrings Box43
+  set Box43.In2 " "
+  set Box43.In4 " "
+
+new CheckBox Box44
+  set Box44.In "true"
+  set Box44.ReactiveOnKeystroke "true"
+  set Box44.Title "Reactive"
+
+new ConcatStrings Box45
+
+new ConcatStrings Box46
+
+new VectorRescaleSlope Box47
+  set Box47.A "0.5"
+
+new ImageVtkProperties Box48
+
+new GetVectorDoubleElement Box49
+  set Box49.I "0"
+  set Box49.In "0"
+
+new GetVectorDoubleElement Box50
+  set Box50.I "1"
+  set Box50.In "0"
+
+new GetVectorDoubleElement Box51
+  set Box51.I "2"
+  set Box51.In "0"
+
+
+connect sdrAngleX.Out transform.AngleX
+connect sdrAngleY.Out transform.AngleY
+connect sdrAngleZ.Out transform.AngleZ
+connect sdrScaleX.Out transform.ScaleX
+connect sdrScaleY.Out transform.ScaleY
+connect sdrScaleZ.Out transform.ScaleZ
+connect transform.Out reslicer.Transform
+connect sdrAngleX.BoxChange mult.In3
+connect sdrAngleY.BoxChange mult.In4
+connect sdrAngleZ.BoxChange mult.In5
+connect sdrScaleX.BoxChange mult2.In1
+connect sdrScaleY.BoxChange mult2.In2
+connect sdrScaleZ.BoxChange mult2.In3
+connect mult.BoxChange mult3.In1
+connect mult2.BoxChange mult3.In2
+connect mult3.BoxChange transform.BoxExecute
+connect mult3.BoxChange reslicer.BoxExecute
+connect sdrAngleX.Widget toolsLayout.Widget1
+connect sdrAngleY.Widget toolsLayout.Widget2
+connect sdrAngleZ.Widget toolsLayout.Widget3
+connect Box22.Out reslicer.In
+connect sdrScaleX.Widget Box33.Widget1
+connect sdrScaleY.Widget Box33.Widget2
+connect sdrScaleZ.Widget Box33.Widget3
+connect toolsLayout.Widget Box32.Widget1
+connect TranslateX.Widget Box37.Widget1
+connect TranslateY.Widget Box37.Widget2
+connect TranslateZ.Widget Box37.Widget3
+connect Box40.Widget Box32.Widget4
+connect Box41.Widget Box40.Widget1
+connect Box42.Widget Box40.Widget2
+connect reslicer.Out Box41.In
+connect Box37.Widget Box32.Widget2
+connect Box33.Widget Box32.Widget3
+connect TranslateX.Out Box43.In1
+connect TranslateY.Out Box43.In3
+connect TranslateZ.Out Box43.In5
+connect Box43.Out transform.CenterPoint
+connect TranslateX.BoxChange mult2.In4
+connect TranslateY.BoxChange mult2.In5
+connect TranslateZ.BoxChange mult2.In6
+connect Box44.Out TranslateX.ReactiveOnTrack
+connect Box44.Out TranslateY.ReactiveOnTrack
+connect Box44.Out TranslateZ.ReactiveOnTrack
+connect Box44.Out sdrScaleX.ReactiveOnTrack
+connect Box44.Out sdrScaleY.ReactiveOnTrack
+connect Box44.Out sdrScaleZ.ReactiveOnTrack
+connect Box44.Out sdrAngleX.ReactiveOnTrack
+connect Box44.Out sdrAngleY.ReactiveOnTrack
+connect Box44.Out sdrAngleZ.ReactiveOnTrack
+connect Box44.Widget Box40.Widget3
+connect Box47.Out Box46.In1
+connect Box46.Out reslicer.Origin
+connect Box48.Size Box45.In1
+connect Box45.Out Box47.In
+connect Box47.Out Box49.In
+connect Box49.Out TranslateX.In
+connect Box47.Out Box50.In
+connect Box47.Out Box51.In
+connect Box50.Out TranslateY.In
+connect Box51.Out TranslateZ.In
+connect Box22.Out Box48.In
+
+# Complex input ports
+input Image1 Box22.In " "
+input Image2 Box23.In " "
+
+# Complex output ports
+output Out reslicer.Out " "
+output Widget Box32.Widget " "
+output BoxChange mult3.BoxChange " "
+
+
+endefine