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
swmmmodellayer.h File Reference

Map layer that renders an OpenSWMMEngine network (nodes, links, subcatchments, rain gages) and provides geometry-editing and spatial-query APIs. More...

#include "layers/openswmmvislayer.h"
#include "layers/swmm_category.h"
#include "core/preferencesmanager.h"
#include "render/labelconfig.h"
#include "render/iattributeprovider.h"
#include "render/markershape.h"
#include "render/legendsymbolitem.h"
#include <cstdint>
#include <memory>
#include <optional>
#include <vector>
#include <QColor>
#include <QDateTime>
#include <openswmm/engine/openswmm_callbacks.h>
#include <openswmm/engine/openswmm_infrastructure.h>
#include <QFont>
#include <QMap>
#include <QPen>
#include <QBrush>
#include <QPointer>
#include <QPolygonF>
#include <QSet>
#include <QVariantMap>
Include dependency graph for swmmmodellayer.h:

Go to the source code of this file.

Classes

struct  SWMMElementSymbol
 Rendering style for a class of SWMM network elements. More...
 
class  SWMMModelLayer
 Renders the SWMM network elements (nodes, links, subcatchments, rain gages) for one OpenSWMMEngine model. More...
 
struct  SWMMModelLayer::NewProjectSpec
 Everything a blank untitled project needs — the in-memory replacement for the synthetic temp .inp File → New used to write. More...
 
struct  SWMMModelLayer::SelectedElement
 One selected element: its name plus a bitmask of the kinds (kKind*) the selection applies to. SWMM names are per-type namespaces — a rain gage and a subcatchment may legally share a name — so selection must carry the kind or a click on one lights up both. Order is preserved (the profile tool seeds its start/end nodes from shift-click order). More...
 
struct  SWMMModelLayer::PickResult
 Tool-facing click-pick result. valid is false when no feature was hit within tolerance of the canvas-CRS click point. cat and soaIndex give the typed SoA position so tools can reach the underlying geometry without a second name → index lookup. name is the SWMM object id (matches selection-bus SWMMObjectRef::name). More...
 
struct  SWMMModelLayer::InletConnector
 
class  SWMMModelLayer::BulkEdit
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 
namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

Map layer that renders an OpenSWMMEngine network (nodes, links, subcatchments, rain gages) and provides geometry-editing and spatial-query APIs.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later