]> Creatis software - creaMiniTools.git/blobdiff - appli/template_creaPatientsSystem/scripts/00300_Filter.bbs
#3421 template_creaPatientsSystem
[creaMiniTools.git] / appli / template_creaPatientsSystem / scripts / 00300_Filter.bbs
diff --git a/appli/template_creaPatientsSystem/scripts/00300_Filter.bbs b/appli/template_creaPatientsSystem/scripts/00300_Filter.bbs
new file mode 100644 (file)
index 0000000..d698dd8
--- /dev/null
@@ -0,0 +1,113 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /Users/davila/CreatisWork/tmpCharly/creaBrainGrayMatter/appli/Appli_ceraGM/scripts/00300_Filter.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include std
+include wx
+include creaVtk
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new std:ConcatStrings Box01
+
+new std:ConcatStrings Box02
+
+new wx:LayoutLine Box04
+
+new creaVtk:OutputWindow Box05
+
+new std:ConcatStrings Box06
+  set Box06.In1 "<CORE>/davila/00100_OriginalImages/Test_01/<PATIENT>/Condition_01"
+
+new wx:OutputText Box07
+  set Box07.Title "Patient "
+
+new std:ReplaceCleanString Box08
+  set Box08.Search "<PATIENT>"
+
+new std:ConcatStrings Box09
+  set Box09.In2 "/results/"
+
+new std:ConcatStrings Box10
+
+new std:ReplaceCleanString Box11
+  set Box11.Search "<CORE>"
+
+new std:Exit Box22
+
+new wx:CommandButton Box33
+  set Box33.Label "Run Filter"
+
+new std:MultipleInputs Box34
+
+new wx:LayoutLine Box35
+  set Box35.WinHeight "300"
+  set Box35.WinTitle "00300_Filter.bbs"
+  set Box35.WinWidth "750"
+
+new std:ConcatStrings Box36
+  set Box36.In1 "source 00301_Filter.sh  "
+  set Box36.In3 "  "
+  set Box36.In5 "  "
+  set Box36.In7 "  "
+
+new std:ExecSystemCommand Box37
+
+new wx:LayoutCenter Box18
+
+
+
+
+connect Box06.Out Box08.In
+
+connect Box02.Out Box08.Replace
+
+connect Box01.Out Box09.In1
+
+connect Box09.Out Box07.In
+
+
+connect Box08.Out Box11.In
+
+connect Box10.Out Box11.Replace
+
+connect Box11.Out Box09.In3
+
+connect Box07.Widget Box04.Widget2
+
+connect Box33.BoxChange Box34.BoxExecute
+
+connect Box22.BoxChange Box34.In9
+
+connect Box04.Widget Box35.Widget1
+
+connect Box01.Out Box36.In2
+
+connect Box10.Out Box36.In4
+
+connect Box02.Out Box36.In6
+
+connect Box36.Out Box37.In
+
+connect Box37.BoxChange Box34.In1
+
+connect Box33.Widget Box18.Widget2
+
+connect Box18.Widget Box04.Widget4
+
+
+
+# Complex input ports
+input BaseDir Box01.In1 " "
+input PatientID Box02.In1 " "
+input CoreID Box10.In1 " "
+exec Box05
+exec Box35