X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Ftemplate_creaPatientsSystem%2Fscripts%2F00200_InitialParameters.bbs;h=1a188cca307c56f1c06ae70e32f50777b6004292;hb=refs%2Fheads%2Fvtk8itk5wx3-macos;hp=fa5ba55ae0b8e7e981416e04f3cc448ce850dae8;hpb=380ac24f1bd5ac018b069d25147f2a626739e494;p=creaMiniTools.git diff --git a/appli/template_creaPatientsSystem/scripts/00200_InitialParameters.bbs b/appli/template_creaPatientsSystem/scripts/00200_InitialParameters.bbs index fa5ba55..1a188cc 100644 --- a/appli/template_creaPatientsSystem/scripts/00200_InitialParameters.bbs +++ b/appli/template_creaPatientsSystem/scripts/00200_InitialParameters.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - /Users/davila/CreatisWork/tmpCharly/creaBrainGrayMatter/appli/Appli_ceraGM/scripts/00200_InitialParameters.bbs +# - /Users/davila/Creatis/C11/creatools_source/creaMiniTools/appli/template_creaPatientsSystem/scripts/00200_InitialParameters.bbs # ---------------------------------- # BBTK GEditor Script @@ -13,6 +13,7 @@ include wx include creaVtk include vtk include creaMaracasVisu +include creaMiniTools author "Author ??" description "Description ??" @@ -67,14 +68,14 @@ new creaMaracasVisu:ColorLayerImageView Box18 set Box18.TypeControlsInterface "2" new wx:CommandButton Box19 - set Box19.Label "Save & Exit" + set Box19.Label "Save and Close" new std:MultipleInputs Box20 new std:Exit Box22 new std:ConcatStrings Box23 - set Box23.In2 "/InitialValues.txt" + set Box23.In2 "/InitialParameters.txt" new std:StringWriter Box24 @@ -104,6 +105,14 @@ new vtk:ImageVtkProperties Box33 new std:GetVectorDoubleElement Box34 set Box34.I "1" +new creaMiniTools:WriteStatePatientSystem Box35 + set Box35.State "Finish" + +new std:ConcatStrings Box36 + set Box36.In2 "/Step02_InitialParameters.txt" + +new std:MagicBox Box37 + @@ -190,12 +199,21 @@ connect Box33.MinMax Box34.In connect Box34.Out Box16.Max +connect Box35.boxChange Box20.In4 + +connect Box29.Out Box36.In1 + + +connect Box37.Out Box35.User + +connect Box36.Out Box35.Filename + # Complex input ports input BaseDir Box01.In1 " " input PatientID Box02.In1 " " input CoreID Box10.In1 " " +input creaUser Box37.In " " exec Box05 exec Box15 -exec Box18