]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/appli/exampleColorLayer.bbs
Added an example of image superposition.
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleColorLayer.bbs
diff --git a/bbtk/bbs/appli/exampleColorLayer.bbs b/bbtk/bbs/appli/exampleColorLayer.bbs
new file mode 100644 (file)
index 0000000..8e2a190
--- /dev/null
@@ -0,0 +1,39 @@
+# ----------------------------------
+# - BBTKGEditor v 1.3 BBS BlackBox Script
+# - /home/mouton/Creatis/all/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleColorLayer.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include vtk
+include wx
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new ColorLayerImageView Box00
+  set Box00.PlainOrGradientColor "false"
+  set Box00.lstBaseColor "0 1 0 1 1 0 1 0 0"
+  set Box00.lstGreyLevelBoundaries "500 1200 1600 3000"
+
+new LoadHola Box01
+
+new ViewerNV Box02
+  set Box02.nTypeView "0"
+
+new LayoutSplit Box03
+  set Box03.Orientation "H"
+
+
+connect Box02.Widget Box03.Widget1
+connect Box00.Widget Box03.Widget2
+connect Box01.Out Box00.In
+connect Box02.wxVtkBaseView1 Box00.WxVtkBaseView
+connect Box01.Out Box02.In
+
+exec Box03