SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
plotattribute.cpp File Reference
Include dependency graph for plotattribute.cpp:

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::plot
 

Functions

const QVector< PlotAttribute > & openswmmvis::plot::nodePlotAttributes ()
 The 6 per-node attributes, presentation order.
 
const QVector< PlotAttribute > & openswmmvis::plot::linkPlotAttributes ()
 The 5 per-link attributes, presentation order.
 
const QVector< PlotAttribute > & openswmmvis::plot::subcatchPlotAttributes ()
 The 5 per-subcatchment attributes, presentation order.
 
const QVector< PlotAttribute > & openswmmvis::plot::systemPlotAttributes ()
 The 14 system-wide attributes, presentation order (matches the long-standing system picker menu: Rainfall first, Temperature last).
 
const QVector< PlotAttribute > & openswmmvis::plot::mesh2DCellPlotAttributes ()
 The 7 per-2D-cell attributes, presentation order.
 
const QVector< PlotAttribute > & openswmmvis::plot::mesh2DEdgePlotAttributes ()
 The 2 per-2D-edge attributes (flow, unit-width flux).
 
const QVector< PlotAttribute > & openswmmvis::plot::mesh2DVertexPlotAttributes ()
 The 2 per-2D-vertex attributes (depth, HGL — interpolated).
 
QString openswmmvis::plot::labelFor (PlotAttribute a)
 Short human label, e.g. "Depth", "Flow", "Velocity |V|".
 
QString openswmmvis::plot::unitsFor (PlotAttribute a, UnitSystem u)
 Unit string for the given attribute + unit system, e.g. "m", "ft³/s".
 
QString openswmmvis::plot::labelWithUnits (PlotAttribute a, UnitSystem u)
 Concatenation of labelFor(a) + "(" + unitsFor(a,u) + ")".
 
UnitSystem openswmmvis::plot::unitSystemFromFlowUnits (int flowUnits)
 Map an engine swmm_output_get_flow_units return value to UnitSystem.
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later