]> Creatis software - creaMiniTools.git/blobdiff - appli/template_creaPatientsSystem/scripts/00200_InitialParameters.bbs
3421 template_creaPatientsSystem
[creaMiniTools.git] / appli / template_creaPatientsSystem / scripts / 00200_InitialParameters.bbs
index fa5ba55ae0b8e7e981416e04f3cc448ce850dae8..1a188cca307c56f1c06ae70e32f50777b6004292 100644 (file)
@@ -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