]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs
2020 Feature Comparing Images in XY XZ YZ planes
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / CompareImagesSwitcherWidget_3Dp.bbs
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