![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Functions | |
| ProfileBuilder::SourceSeries | fetch (SWMMResultsLayer *resultsLayer, const ProfileBuilder::PathStatic &path, const QString &sourceId) |
Pulls NodeHead / NodeDepth (per path node) and LinkVelocity (per path link) from resultsLayer 's open .out file for the given path. The returned series is sized exactly to the path — nodeHead[i] corresponds to path.nodes[i] and linkVelocity[i] to path.links[i]. | |
| bool | appendTail (SWMMResultsLayer *resultsLayer, const ProfileBuilder::PathStatic &path, ProfileBuilder::SourceSeries &series) |
Live results: extends a series previously returned by fetch for the same path with the periods resultsLayer has gained since ([series.periodCount, totalTimeSteps())), reading only that tail from the .out. Rows the initial fetch left empty (object absent from the output) stay empty. Updates series.periodCount. | |
| bool ProfileSourceFetcher::appendTail | ( | SWMMResultsLayer * | resultsLayer, |
| const ProfileBuilder::PathStatic & | path, | ||
| ProfileBuilder::SourceSeries & | series | ||
| ) |
Live results: extends a series previously returned by fetch for the same path with the periods resultsLayer has gained since ([series.periodCount, totalTimeSteps())), reading only that tail from the .out. Rows the initial fetch left empty (object absent from the output) stay empty. Updates series.periodCount.
series was not fetched for this path; true otherwise (including nothing new). | ProfileBuilder::SourceSeries ProfileSourceFetcher::fetch | ( | SWMMResultsLayer * | resultsLayer, |
| const ProfileBuilder::PathStatic & | path, | ||
| const QString & | sourceId | ||
| ) |
Pulls NodeHead / NodeDepth (per path node) and LinkVelocity (per path link) from resultsLayer 's open .out file for the given path. The returned series is sized exactly to the path — nodeHead[i] corresponds to path.nodes[i] and linkVelocity[i] to path.links[i].
Resolves engine indices via name (path.nodes[i].name / path.links[i].name) into the layer's output-index maps. Nodes or links not present in the output file get zero-filled series.
Returns an empty SourceSeries (with periodCount = 0) if the layer has no open output handle.