]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs
#2915 CreaMiniTools Feature New Normal - Plane Viewer (mhd) Application
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / PlaneViewer-MHD.bbs
diff --git a/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs b/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs
new file mode 100644 (file)
index 0000000..5780777
--- /dev/null
@@ -0,0 +1,117 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include wx
+include creaMaracasVisu
+include creaVtk
+include std
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new wx:FileSelector Box00
+  set Box00.Message "mhd file"
+  set Box00.Title "mhd file"
+
+new creaMaracasVisu:ViewerNV Box01
+  set Box01.nTypeView "0"
+
+new creaVtk:ReadMHDPlane Box02
+
+new wx:Slider Box03
+  set Box03.Label "true"
+  set Box03.ReactiveOnTrack "true"
+  set Box03.Title "Slice Z"
+
+new wx:LayoutSplit Box04
+  set Box04.Orientation "H"
+
+new wx:LayoutTab Box05
+
+new std:ConcatStrings Box07
+
+new creaVtk:MHDFileInfo Box08
+
+new std:GetVectorIntElement Box09
+  set Box09.I "2"
+
+new std:MathOperation Box10
+  set Box10.In2 "-1"
+
+new wx:LayoutLine Box16
+  set Box16.WinTitle "Image XY (.mhd)"
+
+new wx:OutputText Box14
+  set Box14.Title "Spacing"
+
+new wx:OutputText Box15
+  set Box15.Title "Dim"
+
+new wx:OutputText Box17
+  set Box17.Title "DimSize"
+
+new wx:OutputText Box18
+  set Box18.Title "FileName"
+
+new wx:OutputText Box19
+  set Box19.Title "Format"
+
+
+connect Box02.Out Box01.In
+
+connect Box01.Widget Box04.Widget2
+
+connect Box05.Widget Box04.Widget1
+
+connect Box07.Out Box02.FileName
+
+connect Box07.Out Box08.FileName
+
+connect Box08.DimSize Box09.In
+
+connect Box09.Out Box10.In1
+
+connect Box10.Out Box03.Max
+
+connect Box03.BoxChange Box01.BoxExecute
+
+connect Box03.Widget Box16.Widget1
+
+connect Box16.Widget Box05.Widget1
+
+connect Box03.Out Box02.Slice
+
+connect Box00.Out Box07.In1
+
+connect Box08.ElementSpacing Box14.In
+
+connect Box08.Dim Box15.In
+
+connect Box08.DimSize Box17.In
+
+connect Box00.Out Box18.In
+
+connect Box08.ElementType Box19.In
+
+connect Box15.Widget Box16.Widget2
+
+connect Box17.Widget Box16.Widget3
+
+connect Box14.Widget Box16.Widget4
+
+connect Box19.Widget Box16.Widget5
+
+connect Box18.Widget Box16.Widget6
+
+
+
+# Complex input ports
+exec Box04