![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <meshattributeassigndialog.h>
Classes | |
| struct | Job |
| Everything one sampling pass needs. More... | |
| struct | SampleResult |
| Outcome of one sampling pass over the in-scope cells. More... | |
Public Types | |
| enum class | Source { Raster , Vector } |
| Which source the dialog opens on. More... | |
| enum class | Mode { SingleNumeric , MultiNumeric , ClassifiedInfil } |
| What the assignment writes. More... | |
| enum class | Sampling { Centroid , OverlayAuto , AreaWeightedMean , Majority , NaturalNeighbour } |
| How one cell's source value is obtained. More... | |
| enum class | WriteTarget { CellOverrides , RegionDefaults } |
| Where the assignment lands (GUI plan §3.4 "Write as", engine D-I3). More... | |
Public Slots | |
| void | reject () override |
| Esc / Close / the window button. While a sampling pass is running this cancels it instead of closing, so the dialog never disappears with a worker still writing into its watcher. | |
Public Member Functions | |
| MeshAttributeAssignDialog (SWMM2DMeshLayer *meshLayer, MapCanvas *canvas, SelectionManager *selection, Source initialSource, const QString &depthUnitLabel, QWidget *parent=nullptr) | |
|
strong |
What the assignment writes.
| Enumerator | |
|---|---|
| SingleNumeric | One source value → one numeric cell parameter. |
| MultiNumeric | N source values → N numeric cell parameters. |
| ClassifiedInfil | Key (or key pair) → a whole mesh::InfilRow. |
|
strong |
How one cell's source value is obtained.
|
strong |
|
strong |
| openswmmvis::ui::MeshAttributeAssignDialog::MeshAttributeAssignDialog | ( | SWMM2DMeshLayer * | meshLayer, |
| MapCanvas * | canvas, | ||
| SelectionManager * | selection, | ||
| Source | initialSource, | ||
| const QString & | depthUnitLabel, | ||
| QWidget * | parent = nullptr |
||
| ) |
|
overrideslot |
Esc / Close / the window button. While a sampling pass is running this cancels it instead of closing, so the dialog never disappears with a worker still writing into its watcher.