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

MVC model for a single SWMM street cross-section ([STREETS]). More...

#include <QObject>
#include <QString>
Include dependency graph for streetprovider.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::street::StreetProvider
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::street
 

Detailed Description

MVC model for a single SWMM street cross-section ([STREETS]).

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

One StreetProvider per [STREETS] entry in the project. Owned by a project-scoped StreetRegistry. Mirrors TransectProvider in shape, but a street is fully parametric — ten scalar fields (legacy SWMM-GUI Uproject.pas TStreet.Data[0..9]) rather than a station-elevation list, so there is no monotonicity invariant. Every mutator emits a Qt signal so the editor's list pane, the field form, and the section preview refresh in lock-step ([[feedback_mvc_synchronized_uis]]).

Field order + defaults match legacy DefStreet (Uproject.pas:621): crown width 30, curb height 0.5, cross slope 2, n_road 0.016, gutter depression 0, gutter width 0, sides 2, backing width 0, backing slope 0, backing n 0.