26#ifndef OPENSWMMVIS_PLOT_PROFILEATTRIBUTESAMPLER_H
27#define OPENSWMMVIS_PLOT_PROFILEATTRIBUTESAMPLER_H
72 case PA::NodeLateralInflow:
73 case PA::NodeTotalInflow:
74 case PA::NodeOverflow:
89 case PA::LinkVelocity:
91 case PA::LinkCapacity:
124 const QString &species,
Overlays time-stepped simulation results on the SWMM network geometry.
Definition swmmresultslayer.h:96
Definition profileattributesampler.h:37
bool isNodeAttribute(openswmmvis::plot::PlotAttribute attr)
True for the six Node* attributes, false for everything else. Inline (header-only) so UI code and tes...
Definition profileattributesampler.h:65
AttributeProfile fetch(SWMMResultsLayer *resultsLayer, const ProfileBuilder::PathStatic &path, openswmmvis::plot::PlotAttribute attr)
Fetches the full-simulation profile of attr along path from resultsLayer's open output file.
bool isTrackableAttribute(openswmmvis::plot::PlotAttribute attr)
True when attr is one of the 11 attributes a track can show.
Definition profileattributesampler.h:82
AttributeProfile fetchSpecies(SWMMResultsLayer *resultsLayer, const ProfileBuilder::PathStatic &path, const QString &species, bool nodeScope)
Species variant (Y2b-2 follow-up, amendment D-Y4): fetches the along-the-path profile of one species ...
Definition profileattributesampler.cpp:100
PlotAttribute
What a series plots. One row per attribute in the Nx2 grid.
Definition plotattribute.h:38
Slice BL — canonical enumeration of plottable result attributes.
Pure-logic data assembly for Slice BC's longitudinal profile plot: chainage, HGL/EGL time-series,...
int path
Definition pslgminsize.cpp:234
One attribute × one source, sampled along the whole path for the whole simulation.
Definition profileattributesampler.h:51
openswmmvis::plot::PlotAttribute attribute
Definition profileattributesampler.h:52
int periodCount
Definition profileattributesampler.h:55
QVector< float > minByPath
[pathIdx], NaN when no data
Definition profileattributesampler.h:58
bool isNodeAttribute
Definition profileattributesampler.h:54
QVector< QVector< float > > byPath
[pathIdx][period]
Definition profileattributesampler.h:57
QVector< float > maxByPath
[pathIdx], NaN when no data
Definition profileattributesampler.h:59
A fully-resolved profile path: ordered nodes, joining links, and cumulative chainage from nodes[0] to...
Definition profilebuilder.h:242