![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Typed config for the Layer Properties โ Temporal tab (Slice Z.13). More...
#include <QDateTime>#include <QJsonObject>#include <QString>Go to the source code of this file.
Classes | |
| struct | OpenSWMM::Render::TemporalSpec |
| Per-layer temporal-animation configuration. More... | |
Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Render |
Enumerations | |
| enum class | OpenSWMM::Render::TemporalMode : int { OpenSWMM::Render::Single = 0 , OpenSWMM::Render::Range = 1 , OpenSWMM::Render::Cumulative = 2 } |
| How the time axis is consumed at paint time. More... | |
Functions | |
| QString | OpenSWMM::Render::temporalModeToString (TemporalMode m) |
| TemporalMode | OpenSWMM::Render::temporalModeFromString (const QString &s) |
Typed config for the Layer Properties โ Temporal tab (Slice Z.13).
Today the animation toolbar drives every result layer through
a single hardcoded controller. RENDERING_RULE_MODEL_PLAN.md
ยง11.2 calls for an explicit per-layer Temporal tab where the
user can pick:
- the time field (for vector layers โ datetime attribute)
- a playback mode (Single instant / Range / Cumulative)
- frame rate (fps)
- loop / ping-pong on reaching the end
- playback range start / end
The status-bar animation widget reads this spec instead of
the hardcoded controller config. Result layers default to
Single mode + the file's full time range; vector layers
default to disabled (no temporal column).
Slice Z.13-data ships the value type + JSON round-trip. The
tab UI widget + LayerStyleDialog integration is Z.13-ui (a
separate slice). Storing TemporalSpec on each OpenSWMMVisLayer
is Z.13-attach.