Go to the documentation of this file.
12 #ifndef DYNAMX_PROCESS_HEJNOWICZ_HPP
13 #define DYNAMX_PROCESS_HEJNOWICZ_HPP
36 bool run(
const QStringList &) {
return true; }
39 "Parameters for Hejnowicz Surface (Hejnowicz and Karczewski 1993)"; }
53 QIcon
icon()
const {
return QIcon(
":/images/Parameters.png"); }
71 bool initialize(QStringList &parms, QWidget *parent);
74 bool step(
const QStringList &parms);
77 bool rewind(QStringList &parms, QWidget *parent);
80 QString
description()
const {
return "Growing hejnowicz surface"; }
87 QVector <QString> vec(pNumParms);
90 vec[pDrawSteps] =
"DrawSteps";
91 vec[pCellKill] =
"CellKill";
92 vec[pTissueParmsProc] =
"Tissue Parms Process";
93 vec[pSurfaceParmsProc] =
"Surface Parms Process";
100 QVector <QString> vec(pNumParms);
102 vec[pDt] =
"Growth timestep";
103 vec[pDrawSteps] =
"Steps between drawn frames";
104 vec[pCellKill] =
"Distance from the tip (in NRS coordinates) to kill cell";
105 vec[pTissueParmsProc] =
"Process to hold tissue parameters";
106 vec[pSurfaceParmsProc] =
"Process to hold surface parameters";
113 QVector <QString> vec(pNumParms);
116 vec[pDrawSteps] =
"3";
117 vec[pCellKill] =
"3.0";
118 vec[pTissueParmsProc] =
"TissueParms";
119 vec[pSurfaceParmsProc] =
"SurfaceParms";
131 QIcon
icon()
const {
return QIcon(
":/images/Hejnowicz.png"); }
138 bool processParms(
const QStringList &parms);
152 QString surfaceParmsProc;
153 QStringList surfaceParms;
155 QString tissueParmsProc;
156 QStringList tissueParms;
161 return mesh->
attributes().
attrMap<QString,
double>(
"HejnowiczSurface Time")[
"Time"];
179 bool run(
const QStringList &parms)
181 Mesh *mesh = currentMesh();
186 return run(mesh, parms[0], top, bottom, middle);
188 bool run(
Mesh *mesh,
const QString &growthProc,
192 QString
description()
const {
return "Create initial cell for Hejnowicz model"; }
194 <<
"Hejnowicz Growth Process" <<
"Top uv" <<
"Bottom uv" <<
"Middle uv"; }
196 <<
"Hejnowicz Growth Process"
197 <<
"Local coordinates for top corner (mirrored)"
198 <<
"Local coordinates for bottom corner (mirrored)"
199 <<
"Local coordinates for bottom middle point"; }
201 <<
"HejnowiczSurfaceGrowth" <<
"0.7 0.5" <<
"0.2 0.7" <<
"0.0 0.7"; }
204 QIcon
icon()
const {
return QIcon(
":/images/InitialCell.png"); }
207 QStringList hejnowiczGrowthParms;
HejnowiczSurfaceGrowth(const Process &process)
QStringList parmNames() const
QString description() const
QStringList parmNames() const
QStringList parmNames() const
QString description() const
const Attributes & attributes() const
Get the mesh attributes.
bool fromQString(Vector< dim, T > &p, const QString &s, QString sep=" ")
Convert a QString to a Point.
HejnowiczInitialCell(const Process &process)
HejnowiczSurfaceParms(const Process &process)
static QStringList parmDefaults()
static QStringList parmDescs()
Distributed matrix library.
QStringList parmDefaults() const
ParmChoiceMap parmChoice() const
QStringList parmDescs() const
QStringList parmDefaults() const
AttrMap< KeyT, ValueT > & attrMap(const QString &name, bool saveRequired=true)
Get the attribute, if it does not exist create it and add to the set If it exists,...
static QStringList parmNames()
ParmChoiceMap parmChoice() const
QStringList parmDescs() const
QString description() const
Process long description.
bool run(const QStringList &)
Run is empty, this process is only for parameters.
QStringList parmDefaults() const
HejnowiczSurface hejnowiczSurface
bool run(const QStringList &parms)
Make the initial cell.
Attribute map wraps std::map.
CU_HOST_DEVICE Vector< dim, T > map(const T &(*fct)(const T1 &), const Vector< dim, T1 > &v)
QStringList parmDescs() const