]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs
Merge remote-tracking branch 'origin/vtk7itk4' into vtk7itk4wx3
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleReadMHDPlane.bbs
diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs
new file mode 100644 (file)
index 0000000..ad2f2f2
--- /dev/null
@@ -0,0 +1,55 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include wx
+include creaVtk
+include std
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new creaMaracasVisu:ViewerNV Box00
+  set Box00.nTypeView "0"
+
+new wx:LayoutSplit Box01
+  set Box01.Proportion "90"
+
+new wx:Slider Box02
+  set Box02.Max "100"
+  set Box02.ReactiveOnTrack "true"
+
+new creaVtk:ReadMHDPlane Box03
+
+new std:Configuration Box04
+
+new std:ConcatStrings Box05
+  set Box05.In2 "/vtk/hola.mhd"
+
+
+connect Box02.Out Box03.Slice
+
+connect Box04.DataPath Box05.In1
+
+connect Box05.Out Box03.FileName
+
+connect Box03.Out Box00.In
+
+connect Box02.BoxChange Box00.BoxExecute
+
+connect Box02.Widget Box01.Widget2
+
+connect Box00.Widget Box01.Widget1
+
+
+
+# Complex input ports
+exec Box01