]> Creatis software - creaMaracasVisu.git/commitdiff
Added an example of image superposition.
authorClaire Mouton <Claire.Mouton@creatis.insa-lyon.fr>
Thu, 13 Sep 2012 15:05:41 +0000 (15:05 +0000)
committerClaire Mouton <Claire.Mouton@creatis.insa-lyon.fr>
Thu, 13 Sep 2012 15:05:41 +0000 (15:05 +0000)
bbtk/bbs/appli/exampleColorLayer.bbg [new file with mode: 0644]
bbtk/bbs/appli/exampleColorLayer.bbs [new file with mode: 0644]

diff --git a/bbtk/bbs/appli/exampleColorLayer.bbg b/bbtk/bbs/appli/exampleColorLayer.bbg
new file mode 100644 (file)
index 0000000..e180ce0
--- /dev/null
@@ -0,0 +1,62 @@
+# ----------------------------------
+# - BBTKGEditor v 1.3 BBG BlackBox Diagram file
+# - /home/mouton/Creatis/all/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleColorLayer.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:FALSE
+BOXES:4
+BOX
+creaMaracasVisu:ColorLayerImageView:Box00
+ISEXEC:FALSE
+9.331188:14.886552:-900.000000
+80.506188:4.886552:-900.000000
+PORT
+PlainOrGradientColor:"false"
+PORT
+lstBaseColor:"0 1 0 1 1 0 1 0 0"
+PORT
+lstGreyLevelBoundaries:"500 1200 1600 3000"
+FIN_BOX
+BOX
+vtk:LoadHola:Box01
+ISEXEC:FALSE
+-23.247801:74.823885:-900.000000
+22.327199:64.823885:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box02
+ISEXEC:FALSE
+-66.477630:32.155340:-900.000000
+-20.902630:22.155340:-900.000000
+PORT
+nTypeView:"0"
+FIN_BOX
+BOX
+wx:LayoutSplit:Box03
+ISEXEC:TRUE
+-18.080640:-21.963529:-900.000000
+27.494360:-31.963529:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+CONNECTIONS:5
+CONNECTION
+Box02:Widget:Box03:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box00:Widget:Box03:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box01:Out:Box00:In
+NumberOfControlPoints:0
+CONNECTION
+Box02:wxVtkBaseView1:Box00:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box01:Out:Box02:In
+NumberOfControlPoints:0
+APP_END
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