]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/appli/crop.bbs
no message
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / crop.bbs
diff --git a/bbtk_package_creaMiniTools/bbs/appli/crop.bbs b/bbtk_package_creaMiniTools/bbs/appli/crop.bbs
new file mode 100644 (file)
index 0000000..65114bd
--- /dev/null
@@ -0,0 +1,106 @@
+# ----------------------------------
+# - BBTKGEditor v 1.2 BBS BlackBox Script
+# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/crop.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include wx
+include creaImageIO
+include vtk
+include std
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new ViewerNV Box03
+  set Box03.nTypeView "6 1 2 -1"
+
+new ContourVOI Box05
+
+new LayoutSplit Box06
+  set Box06.Proportion 15
+
+new LayoutLine Box07
+
+new CommandButton Box08
+  set Box08.Label "Run Crop"
+
+new ViewerNV Box09
+
+new ImageChangeInformation Box10
+
+new LayoutSplit Box11
+  set Box11.Proportion 15
+
+new ImagesChooserDialogBox Box13
+
+new OutputText Box14
+  set Box14.Title "Index"
+
+new OutputText Box15
+  set Box15.Title "Size"
+
+new LayoutLine Box16
+
+new CommandButton Box17
+  set Box17.Label "Save Image (*.mhd)"
+
+new MetaImageWriter Box18
+
+new FileSelector Box19
+  set Box19.OpenSave Save
+
+new StringWriter Box20
+
+new ConcatStrings Box21
+  set Box21.In1 "Index "
+
+new ConcatStrings Box22
+  set Box22.In2 "_infoCrop"
+
+new ConcatStrings Box23
+  set Box23.In1 "Size "
+
+new ConcatStrings Box24
+  set Box24.In1 "FileName "
+
+
+connect Box03.Widget Box06.Widget2
+connect Box05.Widget Box07.Widget1
+connect Box08.Widget Box07.Widget2
+connect Box07.Widget Box06.Widget1
+connect Box08.BoxChange Box05.BoxExecute
+connect Box05.VOI Box10.In
+connect Box10.Out Box09.In
+connect Box09.Widget Box11.Widget2
+connect Box08.BoxChange Box11.BoxExecute
+connect Box13.Out Box05.In
+connect Box13.Out Box03.In
+connect Box03.wxVtkBaseView4 Box05.wxVtkBaseView
+connect Box05.Index Box14.In
+connect Box05.Size Box15.In
+connect Box14.Widget Box16.Widget1
+connect Box15.Widget Box16.Widget2
+connect Box16.Widget Box11.Widget1
+connect Box17.Widget Box16.Widget3
+connect Box17.BoxChange Box18.BoxExecute
+connect Box10.Out Box18.In
+connect Box21.Out Box20.In0
+connect Box22.Out Box20.FileName
+connect Box17.BoxChange Box20.BoxExecute
+connect Box17.BoxChange Box19.BoxExecute
+connect Box05.Index Box21.In2
+connect Box05.Size Box23.In2
+connect Box23.Out Box20.In1
+connect Box19.Out Box22.In1
+connect Box22.Out Box24.In2
+connect Box24.Out Box20.In2
+connect Box19.Out Box18.Filename
+
+exec Box06