X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Ftemplate_creaPatientsSystem%2Fscripts%2F00300_Filter.bbs;fp=appli%2Ftemplate_creaPatientsSystem%2Fscripts%2F00300_Filter.bbs;h=d698dd8d06f2e9fa31fd0352b3dbc764f531d7cb;hb=380ac24f1bd5ac018b069d25147f2a626739e494;hp=0000000000000000000000000000000000000000;hpb=e22166cdf8719072962316960de1bf9f4565e62d;p=creaMiniTools.git diff --git a/appli/template_creaPatientsSystem/scripts/00300_Filter.bbs b/appli/template_creaPatientsSystem/scripts/00300_Filter.bbs new file mode 100644 index 0000000..d698dd8 --- /dev/null +++ b/appli/template_creaPatientsSystem/scripts/00300_Filter.bbs @@ -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 "" + +new std:ConcatStrings Box01 + +new std:ConcatStrings Box02 + +new wx:LayoutLine Box04 + +new creaVtk:OutputWindow Box05 + +new std:ConcatStrings Box06 + set Box06.In1 "/davila/00100_OriginalImages/Test_01//Condition_01" + +new wx:OutputText Box07 + set Box07.Title "Patient " + +new std:ReplaceCleanString Box08 + set Box08.Search "" + +new std:ConcatStrings Box09 + set Box09.In2 "/results/" + +new std:ConcatStrings Box10 + +new std:ReplaceCleanString Box11 + set Box11.Search "" + +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