]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/appli/exampleSetPosition.bbs
3151 creaMaracasVisu Feature New Normal - SetPosition box for the viewer NV
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleSetPosition.bbs
diff --git a/bbtk/bbs/appli/exampleSetPosition.bbs b/bbtk/bbs/appli/exampleSetPosition.bbs
new file mode 100644 (file)
index 0000000..1bf56a8
--- /dev/null
@@ -0,0 +1,80 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleSetPosition.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include wx
+include vtk
+include std
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new creaMaracasVisu:SetPosition Box00
+
+new creaMaracasVisu:ViewerNV Box01
+
+new wx:LayoutSplit Box02
+  set Box02.Orientation "H"
+
+new wx:LayoutLine Box03
+
+new wx:Slider Box04
+  set Box04.ReactiveOnTrack "true"
+
+new wx:Slider Box05
+  set Box05.ReactiveOnTrack "true"
+
+new wx:Slider Box06
+  set Box06.ReactiveOnTrack "true"
+
+new vtk:LoadHola Box07
+
+new std:ConcatStrings Box08
+  set Box08.In2 " "
+  set Box08.In4 " "
+
+new std:MultipleInputs Box09
+
+
+connect Box01.wxVtkBaseView1 Box00.wxVtkBaseView
+
+connect Box01.Widget Box02.Widget2
+
+connect Box04.Widget Box03.Widget1
+
+connect Box05.Widget Box03.Widget2
+
+connect Box06.Widget Box03.Widget3
+
+connect Box03.Widget Box02.Widget1
+
+connect Box07.Out Box01.In
+
+connect Box04.Out Box08.In1
+
+connect Box05.Out Box08.In3
+
+connect Box06.Out Box08.In5
+
+connect Box08.Out Box00.Point
+
+connect Box04.BoxChange Box09.In1
+
+connect Box05.BoxChange Box09.In2
+
+connect Box06.BoxChange Box09.In3
+
+connect Box09.BoxChange Box00.BoxExecute
+
+
+
+# Complex input ports
+exec Box02