![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Classes | |
| class | AnalysisStore |
| struct | Channel |
| struct | Dataset |
| struct | JobReply |
| struct | Link |
| struct | Node |
| struct | Result |
| struct | Snapshot |
| class | TraceAnalysisDialog |
| class | TraceAnalysisLayer |
| class | TraceController |
| struct | TraceLabels |
| class | TraceStyle |
| class | TraceSublayer |
Functions | |
| QPainterPath | taperedPath (const QVector< QPointF > &input, double startWidth, double endWidth) |
| Build a filled pixel-space ribbon with segment quads and round join disks. | |
| QString | fieldLabel (const QString &f, bool node=false) |
| QString | statusText (int flags) |
| Format trace availability/approximation flags for display and persisted diagnostics. | |
| QJsonObject | infoJson (const SWMM_TraceInfo &i) |
| Encode trace source/algorithm coverage metadata. | |
| SWMM_TraceInfo | infoFromJson (const QJsonObject &j) |
| Decode trace coverage metadata without schema validation. | |
| QJsonObject | optionsJson (const SWMM_TraceOptions &o) |
| Encode trace numerical thresholds for package provenance. | |
| SWMM_TraceOptions | optionsFromJson (const QJsonObject &j) |
| Overlay saved numerical options onto native defaults. | |
| QJsonObject | summaryJson (const SWMM_TraceSummary &s) |
| Encode terminal fractions and SI trace-budget diagnostics. | |
| SWMM_TraceSummary | summaryFromJson (const QJsonObject &j) |
| Decode persisted trace-budget diagnostics. | |
| SWMM_Trace | createHandle (const Snapshot &s, const SWMM_TraceOptions &o, QString *error) |
| Create native trace topology/options on the calling thread. | |
| SWMM_Trace openswmmvis::trace::createHandle | ( | const Snapshot & | s, |
| const SWMM_TraceOptions & | o, | ||
| QString * | error | ||
| ) |
Create native trace topology/options on the calling thread.
| [in] | s | Valid owning topology snapshot; coordinates are not passed to the hydraulic estimator. |
| [in] | o | Native trace solver options. |
| [out] | error | Optional topology/native-create diagnostic, unchanged on success. |
| QString openswmmvis::trace::fieldLabel | ( | const QString & | f, |
| bool | node = false |
||
| ) |
| [in] | f | Exact lowercase field key ratio/flow/gross/time/local/coverage/volume, other strings treated as uniform. |
| [in] | node | Whether node-specific flow/gross wording is needed. |
| SWMM_TraceInfo openswmmvis::trace::infoFromJson | ( | const QJsonObject & | j | ) |
Decode trace coverage metadata without schema validation.
| [in] | j | Serialized native info fields. |
| QJsonObject openswmmvis::trace::infoJson | ( | const SWMM_TraceInfo & | i | ) |
Encode trace source/algorithm coverage metadata.
| [in] | i | Native trace info with SWMM report dates and duration in seconds. |
| SWMM_TraceOptions openswmmvis::trace::optionsFromJson | ( | const QJsonObject & | j | ) |
Overlay saved numerical options onto native defaults.
| [in] | j | Optional threshold/iteration fields; absent or nonnumeric values retain defaults. |
| QJsonObject openswmmvis::trace::optionsJson | ( | const SWMM_TraceOptions & | o | ) |
Encode trace numerical thresholds for package provenance.
| [in] | o | Native options: flow epsilon m3/s, velocity epsilon m/s, dimensionless dominance/tolerance, and iteration count. |
| QString openswmmvis::trace::statusText | ( | int | flags | ) |
Format trace availability/approximation flags for display and persisted diagnostics.
| [in] | flags | SWMM_TRACE_* bitmask. |
| SWMM_TraceSummary openswmmvis::trace::summaryFromJson | ( | const QJsonObject & | j | ) |
Decode persisted trace-budget diagnostics.
| [in] | j | Saved summary object. |
| QJsonObject openswmmvis::trace::summaryJson | ( | const SWMM_TraceSummary & | s | ) |
Encode terminal fractions and SI trace-budget diagnostics.
| [in] | s | Native summary with cubic-metre budgets, dimensionless accounting/solver residuals, and reach counts. |
| QPainterPath openswmmvis::trace::taperedPath | ( | const QVector< QPointF > & | input, |
| double | startWidth, | ||
| double | endWidth | ||
| ) |
Build a filled pixel-space ribbon with segment quads and round join disks.
| [in] | input | Logical-pixel polyline; nonfinite/consecutive near-duplicate points (distance<=1e-8) are discarded. |
| [in] | startWidth | Finite nonnegative total width at the first retained point in the same pixel unit. |
| [in] | endWidth | Finite nonnegative total width at the last retained point, linearly interpolated by cumulative arc length. |