Generator for ShowC4d script files

Task to generate a Matlab file named by S4D_<name> for visualisation of markers, connections between them, virtual markers, coordinatesystems and so on.

Attributes

Attribute Description Required
jobconfig
Name of the projects configuration file.
Brauche ich vermutlich nur dann, wenn ich labelset nicht explizit angegeben habe und ich daher aus der jobconfig das markerset nehmen will oder noch besser: falls trialcategory angegeben wurde das outputlabelset der entsprechenden category.
Die derzeitige Implementierung erzeugt allerdings ein JobConfig Objekt, d.h. das Attribut ist leider in jedem Fall zu setzen. Das wird
ausch in der validate()-Methode überprüft.
JobConfig brauche ich auch um dort das CalcModel rauszuolen das ich brauche im die Koordinatensysteme zu visualisieren ...
Yes
trialcategory
name of the trial category as defined in the projects configuration file to use
Yes
template
full path to the template file name. Typically the template file has the suffix ".mt" Yes
targetdir
path to the directory to write the generated matlab script
Yes
labelset
if not set the outputlabelset of the trialcategory is used
Dieses Attribut wird nur gebraucht, wenn nicht alles visualisiert werden soll was auch berechnet und in die out-Files geschrieben wird, sondern nur eine Teilmenge! In der Regel sollte dieses Attribut also nicht verwendet werden und das benötigte Labelset aus
der TrialCategory verwendet werden. Dort kann man dann auch Displaysets definieren ...
No
connectionset
Name of a connection set inside the used labelset. If it is not set, no connections between points are visualized. No
name
If this attribute is not set the markersetname  is used: S4D_<model name>_<trial category name>, else this attribute explicitly defines the name of the generated matlab script following the convention S4D_<name>. No

Notes

Examples

<generateShowC4dScript jobconfig="${basedir}/GaitUpperExAngles_job_config.xml" 
trialcategory="dynamic"
template="${basedir}/templates/PiGMo07.mt"
labelset="${basedir}/GaitUpperExAngles_dynamic_momo_output_labelSet.xml"
targetdir="O:/MFiles/MoMo/R4.03/Models_User/>

This Task generates a Matlab S4d_<model name>" script file with the name of the model defined in the projects configuration file "GaitUpperExAngles_job_config.xml".