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
ProfileAttributeSampler::AttributeProfile Struct Reference

One attribute × one source, sampled along the whole path for the whole simulation. More...

#include <profileattributesampler.h>

Collaboration diagram for ProfileAttributeSampler::AttributeProfile:

Public Attributes

openswmmvis::plot::PlotAttribute attribute
 
bool isNodeAttribute = true
 
int periodCount = 0
 
QVector< QVector< float > > byPath
 [pathIdx][period]
 
QVector< float > minByPath
 [pathIdx], NaN when no data
 
QVector< float > maxByPath
 [pathIdx], NaN when no data
 

Detailed Description

One attribute × one source, sampled along the whole path for the whole simulation.

Node attributes: byPath.size() == path.nodes.size(), one value per node. Link attributes: byPath.size() == path.links.size(), one value per link. Each inner row is [period] — empty when the element is unknown to the output file. minByPath/maxByPath are the per-element envelope over all periods; NaN where the row is empty.

Member Data Documentation

◆ attribute

openswmmvis::plot::PlotAttribute ProfileAttributeSampler::AttributeProfile::attribute

◆ byPath

QVector<QVector<float> > ProfileAttributeSampler::AttributeProfile::byPath

[pathIdx][period]

◆ isNodeAttribute

bool ProfileAttributeSampler::AttributeProfile::isNodeAttribute = true

◆ maxByPath

QVector<float> ProfileAttributeSampler::AttributeProfile::maxByPath

[pathIdx], NaN when no data

◆ minByPath

QVector<float> ProfileAttributeSampler::AttributeProfile::minByPath

[pathIdx], NaN when no data

◆ periodCount

int ProfileAttributeSampler::AttributeProfile::periodCount = 0

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