![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Go to the source code of this file.
Classes | |
| class | MeshTrianglePropertyAdapter |
Q_PROPERTY-backed view of one 2D mesh triangle (cell). Mirrors MeshVertexPropertyAdapter / MeshEdgePropertyAdapter: every READ calls into the layer's mesh(); every WRITE calls an applyMeshTriangle* helper, which emits attributeChanged so all views stay in sync. Exposes the editable per-triangle attributes — Manning's roughness, the initial water depth (INIT_DEPTH, mesh length units, default 0 = dry), and the descriptive tag — all round-tripped through [2D_TRIANGLES].
Numeric writes route through mesh::pushCellParamEdit when a canvas is set, so a panel edit lands on the same undo stack as a toolbar or Cell Data edit.