![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Continuous-color renderer — no bins (Slice Z.9). More...
#include "render/colorramp.h"#include "render/ifeaturerenderer.h"#include <QColor>#include <QString>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 |
Continuous-color renderer — no bins (Slice Z.9).
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.