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
ProfileBuilder::SourceSeries Struct Reference

Pre-fetched per-source time-series. One instance per SWMMResultsLayer that the user wants to overlay on the plot. More...

#include <profilebuilder.h>

Collaboration diagram for ProfileBuilder::SourceSeries:

Public Attributes

QString sourceId
 
QDateTime startTime
 
int reportStepSec = 0
 
int periodCount = 0
 
QVector< QVector< float > > nodeHead
 
QVector< QVector< float > > nodeDepth
 
QVector< QVector< float > > linkVelocity
 

Detailed Description

Pre-fetched per-source time-series. One instance per SWMMResultsLayer that the user wants to overlay on the plot.

nodeHead, nodeDepth, and linkVelocity are addressed by path index (i.e. position along the path), not by engine index, so ProfileBuilder is agnostic to how the caller resolves names. Series with fewer periods than the longest source are accepted — envelope computation operates on each source's own length.

Member Data Documentation

◆ linkVelocity

QVector<QVector<float> > ProfileBuilder::SourceSeries::linkVelocity

[pathLinkIdx][period] velocity magnitude (already abs-valued by caller or by compute() internally — sign is direction, EGL uses kinetic energy which is direction-agnostic).

◆ nodeDepth

QVector<QVector<float> > ProfileBuilder::SourceSeries::nodeDepth

[pathNodeIdx][period] depth (kept for convenience; not currently consumed by the builder but exposed for callers / future cache use).

◆ nodeHead

QVector<QVector<float> > ProfileBuilder::SourceSeries::nodeHead

[pathNodeIdx][period] hydraulic head (ft or m).

◆ periodCount

int ProfileBuilder::SourceSeries::periodCount = 0

◆ reportStepSec

int ProfileBuilder::SourceSeries::reportStepSec = 0

◆ sourceId

QString ProfileBuilder::SourceSeries::sourceId

Opaque stable identifier (e.g. SWMMResultsLayer pointer or path). Used only for diagnostics; carries no semantic meaning.

◆ startTime

QDateTime ProfileBuilder::SourceSeries::startTime

The documentation for this struct was generated from the following file: