# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /Users/davila/Creatis/C11/creatools_source/creaMiniTools/appli/template_creaPatientsSystem/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 " " set Box36.In9 " " new std:ExecSystemCommand Box37 new wx:LayoutCenter Box18 new std:MagicBox Box19 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 connect Box19.Out Box36.In8 # Complex input ports input BaseDir Box01.In1 " " input PatientID Box02.In1 " " input CoreID Box10.In1 " " input creaUser Box19.In " " exec Box05 exec Box35