#include <rainfallseriesmodel.h>
◆ Basis
Display basis for chart series built from a gage.
| Enumerator |
|---|
| Intensity | As resolved: units/hr, step function.
|
| DepthPerInterval | Depth accrued over each entry's interval.
|
| CumulativeDepth | Running total depth.
|
◆ RainfallSeriesModel()
| openswmmvis::plot::RainfallSeriesModel::RainfallSeriesModel |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ buildCumulativeSeries()
| QVector< QPointF > openswmmvis::plot::RainfallSeriesModel::buildCumulativeSeries |
( |
const RainGageRainfall & |
g | ) |
|
|
static |
Cumulative-depth polyline (X msecsSinceEpoch, Y total depth).
◆ buildStepSeries()
| QVector< QPointF > openswmmvis::plot::RainfallSeriesModel::buildStepSeries |
( |
const RainGageRainfall & |
g, |
|
|
Basis |
b |
|
) |
| |
|
static |
Step-function chart points for the engine's application contract: per entry (t_i, v_i) (t_end, v_i) with t_end = min(t_i + interval, t_{i+1}), plus explicit zero segments across gaps. X is msecsSinceEpoch (QDateTimeAxis convention).
◆ computeStats()
◆ engine()
| void * openswmmvis::plot::RainfallSeriesModel::engine |
( |
| ) |
const |
|
inlinenoexcept |
◆ entryDurationSecs()
◆ gages()
| const QVector< RainGageRainfall > & openswmmvis::plot::RainfallSeriesModel::gages |
( |
| ) |
const |
|
inlinenoexcept |
◆ reload()
| int openswmmvis::plot::RainfallSeriesModel::reload |
( |
bool |
reloadRainFiles | ) |
|
Re-assemble every gage's series from the engine.
- Parameters
-
| reloadRainFiles | Also re-read FILE-gage data from disk first (skipped silently unless the engine is in an editable state). |
- Returns
- Number of gages assembled (0 when no engine is bound).
◆ reloaded
| void openswmmvis::plot::RainfallSeriesModel::reloaded |
( |
| ) |
|
|
signal |
reload() finished; consumers rebuild charts/tables.
◆ setEngine()
| void openswmmvis::plot::RainfallSeriesModel::setEngine |
( |
void * |
engineHandle | ) |
|
|
inline |
Bind the engine handle (void* keeps the header MOC-clean; registry precedent). Does not load — call reload().
The documentation for this class was generated from the following files: