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
selectionops.h
Go to the documentation of this file.
1
16#ifndef SELECTIONOPS_H
17#define SELECTIONOPS_H
18
20
21#include <QSet>
22
23class SWMMModelLayer;
24
25namespace SelectionOps {
26
46QSet<SWMMObjectRef> invert(SWMMModelLayer *model,
47 const QSet<SWMMObjectRef> &current);
48
53{
54 QSet<SWMMObjectRef> refs;
55 int nodeCount = 0;
56 int linkCount = 0;
58
61 bool noSeeds = true;
62};
63
87 const QSet<SWMMObjectRef> &seeds,
88 bool upstream);
89
90} // namespace SelectionOps
91
92#endif // SELECTIONOPS_H
Renders the SWMM network elements (nodes, links, subcatchments, rain gages) for one OpenSWMMEngine mo...
Definition swmmmodellayer.h:133
Definition selectionops.h:25
TraceResult trace(SWMMModelLayer *model, const QSet< SWMMObjectRef > &seeds, bool upstream)
All objects connected upstream (or downstream) of seeds.
Definition selectionops.cpp:153
Result of an upstream / downstream network trace.
Definition selectionops.h:53
int nodeCount
Definition selectionops.h:55
int subcatchCount
Definition selectionops.h:57
bool noSeeds
Definition selectionops.h:61
int linkCount
Definition selectionops.h:56
QSet< SWMMObjectRef > refs
nodes + interior links + subcatchments
Definition selectionops.h:54
std::function< bool()> invert
Definition swmm2dresultsstylepanel.cpp:64