21#ifndef OPENSWMMVIS_PLOT_PLOTATTRIBUTE_H
22#define OPENSWMMVIS_PLOT_PLOTATTRIBUTE_H
Per-project flow-units state + label helpers.
Definition unitsystem.h:28
int a
Definition meshquadmatch.cpp:46
Definition chartproperties.h:34
QString labelFor(PlotAttribute a)
Short human label, e.g. "Depth", "Flow", "Velocity |V|".
Definition plotattribute.cpp:101
bool isMesh2DAttribute(PlotAttribute a) noexcept
True iff the attribute is a 2D mesh-cell quantity (CF.3).
Definition plotattribute.h:143
const QVector< PlotAttribute > & mesh2DCellPlotAttributes()
The 7 per-2D-cell attributes, presentation order.
Definition plotattribute.cpp:69
QString labelWithUnits(PlotAttribute a, UnitSystem u)
Concatenation of labelFor(a) + "(" + unitsFor(a,u) + ")".
Definition plotattribute.cpp:219
const QVector< PlotAttribute > & mesh2DVertexPlotAttributes()
The 2 per-2D-vertex attributes (depth, HGL — interpolated).
Definition plotattribute.cpp:92
const QVector< PlotAttribute > & nodePlotAttributes()
The 6 per-node attributes, presentation order.
Definition plotattribute.cpp:11
PlotAttribute
What a series plots. One row per attribute in the Nx2 grid.
Definition plotattribute.h:38
@ Mesh2DHGL
m / ft — depth + z_bed (GUI-computed)
@ SystemFlooding
m³/s / ft³/s — SYS_FLOODING (total)
@ SystemSnowDepth
mm / in — SYS_SNOW_DEPTH (avg)
@ Mesh2DDepth
m / ft — water column over triangle
@ SystemGwInflow
m³/s / ft³/s — SYS_GW_INFLOW (total)
@ NodeDepth
m / ft — above invert
@ SystemEvapTotal
mm/d / in/d — SYS_EVAP_TOTAL (total rate)
@ Mesh2DEdgeFlux
m²/s / ft²/s — unit-width flux q = F_e / edge length
@ Mesh2DRainfall
mm/hr / in/hr — rainfall intensity applied to the cell
@ Mesh2DVelocityX
m/s / ft/s — projected map CRS, +east
@ NodeHead
m / ft — hydraulic head
@ SystemDwInflow
m³/s / ft³/s — SYS_DW_INFLOW (total)
@ Mesh2DRainVolume
m³ / ft³ — cumulative rainfall volume applied to the cell
@ SystemPET
mm/d / in/d — SYS_PET (potential ET)
@ SubcatchRainfall
mm/hr / in/hr
@ SystemStorage
m³ / ft³ — SYS_STORAGE (total volume)
@ SystemInfil
mm/hr / in/hr — SYS_INFIL (avg rate)
@ SubcatchRunoff
m³/s / ft³/s
@ SystemLatInflow
m³/s / ft³/s — SYS_LAT_INFLOW(total)
@ SystemRainfall
mm/hr / in/hr — SYS_RAINFALL (avg over subcatchments)
@ SystemOutflow
m³/s / ft³/s — SYS_OUTFLOW (total)
@ SystemEvap
mm/d / in/d — SYS_EVAP (avg rate)
@ NodeOverflow
m³/s / ft³/s
@ SystemTemperature
°C / °F — SYS_TEMPERATURE
@ Mesh2DEdgeFlow
m³/s / ft³/s — volumetric flow Q across a mesh edge (= F_e)
@ SubcatchEvap
mm/d / in/d
@ NodeLateralInflow
m³/s / ft³/s
@ Mesh2DVelocityY
m/s / ft/s — projected map CRS, +north
@ Mesh2DVelocityMag
m/s / ft/s — sqrt(Vx² + Vy²)
@ SubcatchSnowDepth
mm / in
@ SystemRunoff
m³/s / ft³/s — SYS_RUNOFF (total)
@ NodeTotalInflow
m³/s / ft³/s
@ SubcatchInfil
mm/hr / in/hr
@ LinkCapacity
dimensionless 0..1
const QVector< PlotAttribute > & mesh2DEdgePlotAttributes()
The 2 per-2D-edge attributes (flow, unit-width flux).
Definition plotattribute.cpp:83
UnitSystem unitSystemFromFlowUnits(int flowUnits)
Map an engine swmm_output_get_flow_units return value to UnitSystem.
Definition plotattribute.cpp:227
const QVector< PlotAttribute > & systemPlotAttributes()
The 14 system-wide attributes, presentation order (matches the long-standing system picker menu: Rain...
Definition plotattribute.cpp:48
const QVector< PlotAttribute > & subcatchPlotAttributes()
The 5 per-subcatchment attributes, presentation order.
Definition plotattribute.cpp:36
const QVector< PlotAttribute > & linkPlotAttributes()
The 5 per-link attributes, presentation order.
Definition plotattribute.cpp:24
QString unitsFor(PlotAttribute a, UnitSystem u)
Unit string for the given attribute + unit system, e.g. "m", "ft³/s".
Definition plotattribute.cpp:148
bool isSystemAttribute(PlotAttribute a) noexcept
True iff the attribute is a system-wide quantity (Slice AT.2). System attributes resolve via swmm_out...
Definition plotattribute.h:157