![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Renderer that assigns a distinct symbol per unique value of an attribute. More...
Go to the source code of this file.
Classes | |
| class | OpenSWMM::Render::CategorizedRenderer |
| Distinct symbol per unique value of a string / enum attribute. More... | |
| struct | OpenSWMM::Render::CategorizedRenderer::Category |
| One named category and its symbol. More... | |
Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Render |
Renderer that assigns a distinct symbol per unique value of an attribute.
Sub-phase 8.13.6.2 STUB: this v1 stores the categories + per-category
symbols + a fallback symbol, JSON-round-trips them faithfully, and
returns the matching symbol for a given value (or fallback when
missing). The full Map Symbology Dialog editor for adding /
renaming / colouring categories is deferred to Slice **BI.3**.
The stub is intentionally functional rather than a no-op: existing
tests in the renderer test file can confirm full round-trip + paint
behaviour, so when BI.3 lands its editor it inherits a working
engine instead of having to build one from scratch.
Cross-slice: Slice BI Phase 8.13.6 (see GUI_IMPLEMENTATION_PLAN.md
§J.2). Sub-phase 8.13.6.2 — stub.