![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Go to the source code of this file.
Classes | |
| struct | SelectionOps::TraceResult |
| Result of an upstream / downstream network trace. More... | |
Namespaces | |
| namespace | SelectionOps |
Functions | |
| QSet< SWMMObjectRef > | SelectionOps::invert (SWMMModelLayer *model, const QSet< SWMMObjectRef > ¤t) |
| Invert the selection, scoped to a single category when the current selection is homogeneous. | |
| TraceResult | SelectionOps::trace (SWMMModelLayer *model, const QSet< SWMMObjectRef > &seeds, bool upstream) |
All objects connected upstream (or downstream) of seeds. | |
Pure selection algebra over a loaded SWMMModelLayer — the logic behind the toolbar's Invert Selection / Select Upstream / Select Downstream actions.
The functions here take the current selection set and return the next one; they never touch a SelectionManager themselves. That keeps the math headless-testable (see tests/gui/test_selectionops.cpp) and lets SWMMVis's slots stay thin: build → apply → log.