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

Continuous-color renderer — no bins (Slice Z.9). More...

#include "render/colorramp.h"
#include "render/ifeaturerenderer.h"
#include <QColor>
#include <QString>
Include dependency graph for unclassedcolorsrenderer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Render::UnclassedColorsRenderer
 Maps a continuous numeric attribute to a continuous colour ramp, no bin discretisation. More...
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

Continuous-color renderer — no bins (Slice Z.9).

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
    UnclassedColorsRenderer is the per-feature sibling of
    GraduatedRenderer that skips the IntervalBinner entirely:
    instead of bucketing the attribute value into N classes, it
    normalises the value linearly into [0, 1] over the ramp's
    (minValue, maxValue) and samples the ramp directly.

    Use case: 2D depth fields, continuous flow rates, anywhere the
    user wants smooth colour transitions instead of stepped bins.
    Equivalent to QGIS / ArcGIS Pro's "Unclassed Colors" /
    "Continuous" symbology.

    Below-min values use \ref belowRangeColor (default = the ramp's
    start color); above-max values use \ref aboveRangeColor
    (default = the ramp's end color). NaN / invalid attribute
    values fall back to \ref noDataColor.

    Cross-slice: RENDERING_RULE_MODEL_PLAN.md §5 Renderer roster
    (Unclassed Colors entry) + §16 Slice Z.9.