]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/appli/exampleSlab-Widget-01.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleSlab-Widget-01.bbs
diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleSlab-Widget-01.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleSlab-Widget-01.bbs
new file mode 100644 (file)
index 0000000..dcaf1d4
--- /dev/null
@@ -0,0 +1,78 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleSlab-Widget-01.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaVtk
+include std
+include creaMaracasVisu
+include wx
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new creaVtk:Slab-Widget-01 Box01
+
+new std:FilesFromDirectory Box02
+
+new std:Configuration Box03
+
+new std:ConcatStrings Box04
+  set Box04.In10 "/gdcmvtk/dicom01"
+
+new creaMaracasVisu:ViewerNV Box05
+
+new wx:LayoutSplit Box06
+  set Box06.Orientation "H"
+
+new wx:LayoutTab Box07
+
+new creaMaracasVisu:ViewerNV Box08
+
+new wx:Slider Box09
+  set Box09.Max "100"
+  set Box09.ReactiveOnTrack "true"
+
+new wx:LayoutLine Box10
+
+
+connect Box03.DataPath Box04.In1
+
+connect Box04.Out Box02.In
+
+connect Box02.Out Box01.LstFileNames
+
+connect Box01.ImageSlab2D Box05.In
+
+connect Box05.Widget Box07.Widget1
+
+connect Box08.Widget Box07.Widget2
+
+connect Box01.Image3D Box08.In
+
+connect Box07.Widget Box06.Widget2
+
+connect Box01.boxChange Box05.BoxExecute
+
+connect Box01.boxChange Box08.BoxExecute
+
+connect Box09.Out Box01.Slice_In
+
+connect Box09.BoxChange Box01.boxExecute
+
+connect Box01.widget Box10.Widget2
+
+connect Box09.Widget Box10.Widget1
+
+connect Box10.Widget Box06.Widget1
+
+
+
+# Complex input ports
+exec Box06