1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /Users/davila/Creatis/C11/creatools_source/creaMiniTools/appli/template_creaPatientsSystem/scripts/00300_Filter.bbs
4 # ----------------------------------
7 # ----------------------
16 description "Description ??"
19 new std:ConcatStrings Box01
21 new std:ConcatStrings Box02
23 new wx:LayoutLine Box04
25 new creaVtk:OutputWindow Box05
27 new std:ConcatStrings Box06
28 set Box06.In1 "<CORE>/davila/00100_OriginalImages/Test_01/<PATIENT>/Condition_01"
30 new wx:OutputText Box07
31 set Box07.Title "Patient "
33 new std:ReplaceCleanString Box08
34 set Box08.Search "<PATIENT>"
36 new std:ConcatStrings Box09
37 set Box09.In2 "/results/"
39 new std:ConcatStrings Box10
41 new std:ReplaceCleanString Box11
42 set Box11.Search "<CORE>"
46 new wx:CommandButton Box33
47 set Box33.Label "Run Filter"
49 new std:MultipleInputs Box34
51 new wx:LayoutLine Box35
52 set Box35.WinHeight "300"
53 set Box35.WinTitle "00300_Filter.bbs"
54 set Box35.WinWidth "750"
56 new std:ConcatStrings Box36
57 set Box36.In1 "source 00301_Filter.sh "
63 new std:ExecSystemCommand Box37
65 new wx:LayoutCenter Box18
67 new std:MagicBox Box19
72 connect Box06.Out Box08.In
74 connect Box02.Out Box08.Replace
76 connect Box01.Out Box09.In1
78 connect Box09.Out Box07.In
81 connect Box08.Out Box11.In
83 connect Box10.Out Box11.Replace
85 connect Box11.Out Box09.In3
87 connect Box07.Widget Box04.Widget2
89 connect Box33.BoxChange Box34.BoxExecute
91 connect Box22.BoxChange Box34.In9
93 connect Box04.Widget Box35.Widget1
95 connect Box01.Out Box36.In2
97 connect Box10.Out Box36.In4
99 connect Box02.Out Box36.In6
101 connect Box36.Out Box37.In
103 connect Box37.BoxChange Box34.In1
105 connect Box33.Widget Box18.Widget2
107 connect Box18.Widget Box04.Widget4
110 connect Box19.Out Box36.In8
114 # Complex input ports
115 input BaseDir Box01.In1 " "
116 input PatientID Box02.In1 " "
117 input CoreID Box10.In1 " "
118 input creaUser Box19.In " "