![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Per-shape meaning of a storage unit's three raw dimensions. More...
#include <QCoreApplication>#include <QString>Go to the source code of this file.
Classes | |
| struct | openswmmvis::StorageShapeRow |
Namespaces | |
| namespace | openswmmvis |
Functions | |
| const StorageShapeRow * | openswmmvis::findStorageShapeRow (int engineId) |
| bool | openswmmvis::storageShapeIsGeometric (int shapeId) |
| QString | openswmmvis::storageGeomLabel (int shapeId, int ordinal) |
| bool | openswmmvis::storageGeomApplies (int shapeId, int ordinal) |
Variables | |
| constexpr int | openswmmvis::kStorageTabularId = 0 |
| Engine ids, spelled out so call sites don't hard-code magic numbers. | |
| constexpr int | openswmmvis::kStorageFunctionalId = 1 |
| constexpr int | openswmmvis::kStorageCylindricalId = 2 |
| constexpr int | openswmmvis::kStorageConicalId = 3 |
| constexpr int | openswmmvis::kStorageParaboloidId = 4 |
| constexpr int | openswmmvis::kStoragePyramidalId = 5 |
| constexpr StorageShapeRow | openswmmvis::kStorageShapes [] |
Per-shape meaning of a storage unit's three raw dimensions.
A storage node's Param 1/2/3 rows carry different quantities depending
on the shape — "Major Axis Length" for a cone, "Base Length" for a
pyramid, nothing at all for a tabular curve. QPropertyModel reflects
its rows from `metaObject()` and can neither rename nor hide them at
runtime, so (exactly as `xsectshapegeom.h` does for link geom1..geom4)
the rows stay generic and this table supplies the shape-specific label
and applicability that PropertiesPanel / the attribute table use to
label, tooltip and grey them.
Ordinals match `SWMMNodePropertyAdapter::StorageShape` and the engine's
`SWMM_StorageShape`.