25#ifndef OPENSWMMVIS_MESH_MESHCELLPARAMS_H
26#define OPENSWMMVIS_MESH_MESHCELLPARAMS_H
79 const QString &depthUnitLabel);
93 const QByteArray &
key);
const char * key
Definition meshcellparams.cpp:24
Per-cell 2D infiltration: value types, tag/override resolution and method↔parameter masks.
Definition meshcommands.h:302
QString cellParamLabel(const QByteArray &key, const QString &depthUnitLabel)
Full label for key including the unit suffix when the parameter is a length. depthUnitLabel comes fro...
Definition meshcellparams.cpp:178
const QVector< CellParamSpec > & cellParamSpecs()
The registry, in display order. Stable for the process lifetime.
Definition meshcellparams.cpp:91
const CellParamSpec * cellParamSpec(const QByteArray &key)
Look up one spec by key; returns nullptr when unknown.
Definition meshcellparams.cpp:171
double cellParamValue(const MeshResult &mesh, int tri, const QByteArray &key)
Current value of key on triangle tri.
Definition meshcellparams.cpp:186
Describes one editable per-cell parameter: how to label it, how to configure a numeric editor for it,...
Definition meshcellparams.h:41
Kind kind
Definition meshcellparams.h:63
bool lengthUnit
true → append the project depth unit
Definition meshcellparams.h:52
double defaultValue
Definition meshcellparams.h:56
bool enabled
false → engine support pending
Definition meshcellparams.h:58
QStringList enumLabels
Definition meshcellparams.h:67
double step
Definition meshcellparams.h:55
QString label
combo / property label, already translated
Definition meshcellparams.h:50
int decimals
Definition meshcellparams.h:57
QString tooltip
Definition meshcellparams.h:59
Kind
Definition meshcellparams.h:47
double max
Definition meshcellparams.h:54
double min
Definition meshcellparams.h:53
QByteArray key
stable id, e.g. "mannings", "initDepth"
Definition meshcellparams.h:49
QString prefix
spin-box prefix, e.g. "n=" ({} for none)
Definition meshcellparams.h:51
Result of MeshGenerator::generate.
Definition meshresult.h:116