![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
LID control layer-stack diagram. More...
Go to the source code of this file.
Classes | |
| struct | openswmmvis::sectionview::LidDiagramInput |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::sectionview |
Functions | |
| QVector< LidLayer > | openswmmvis::sectionview::lidLayersFor (LidType type) |
| bool | openswmmvis::sectionview::lidHasDrain (LidType type) |
| QString | openswmmvis::sectionview::lidLayerName (LidLayer layer) |
| SectionDiagramModel | openswmmvis::sectionview::buildLidLayerDiagram (const LidDiagramInput &in) |
| Build the layer-stack diagram for one LID control. | |
LID control layer-stack diagram.
Slice SP.6 (workplans/SECTION_PREVIEW_WORKPLAN.md).
Takes a plain input struct rather than a LidControlProvider* so the drawing code carries no dependency on lid/ — the dialog fills the struct from the provider. Keeps the test link chain to sectiondiagram.cpp alone.
Which layers exist is a function of the LID type (a rain barrel has no soil, a green roof has a drainmat instead of storage); see lidLayersFor().
The engine exposes LID setters but no getters, so a control loaded from a file has no readable layer values. Layers whose thickness is unknown are drawn hatched with an em-dash label rather than silently shown as zero.