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

Stable identifier passed to IFeatureRenderer::symbolFor(). More...

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

Go to the source code of this file.

Classes

struct  OpenSWMM::Render::FeatureRef
 Identifies one feature in one layer for the renderer pipeline. More...
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

Stable identifier passed to IFeatureRenderer::symbolFor().

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
    A FeatureRef is the minimum information a renderer needs to
    identify which feature in the layer it is being asked to paint:
    the owning layer's id and the feature's index within that layer.
    An optional category hint disambiguates layers that hold multiple
    element kinds (e.g. SWMMModelLayer's nodes vs. links).

    Renderers should treat FeatureRef as opaque — the actual attribute
    data is supplied via the parallel QVariantMap argument so the
    renderer doesn't have to know about the layer's storage layout.

    Cross-slice: Slice BI Phase 8.13.6 (see GUI_IMPLEMENTATION_PLAN.md
    §J.2). Sub-phase 8.13.6.1 — interface + types only.