![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Raster renderer that maps a single-band value to a colour ramp. More...
#include "render/irasterrenderer.h"#include "render/colorramp.h"#include <QColor>#include <QList>#include <QPair>Go to the source code of this file.
Classes | |
| class | OpenSWMM::Render::SingleBandPseudoColorRenderer |
| Continuous colour ramp for single-band raster data. More... | |
Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Render |
Raster renderer that maps a single-band value to a colour ramp.
SingleBandPseudoColorRenderer is the IRasterRenderer counterpart
to GraduatedRenderer on the feature side. It carries:
- minValue / maxValue — the value range covered by the ramp
- stops — sorted list of (pos [0..1], QColor)
- clampMin / clampMax — when true, out-of-range values are
rendered transparent (matches the
existing RasterColorRamp policy on
GISRasterLayer)
v1 uses linear interpolation between adjacent stops only. A
later slice can introduce log / discrete interpolation modes;
the public colorForValue / legendSymbolItems contract does not
change at that swap.
Cross-slice: Slice BI Phase 8.13.6 (see GUI_IMPLEMENTATION_PLAN.md
§J.2). Sub-phase 8.13.6.7 — concrete raster renderer class.