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

VS.6 — categorical (paletted) raster renderer. More...

#include "render/irasterrenderer.h"
#include <QColor>
#include <QHash>
#include <QList>
#include <QString>
Include dependency graph for palettedrasterrenderer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Render::PalettedRasterRenderer
 Discrete value → colour raster renderer (categorical rasters). More...
 
struct  OpenSWMM::Render::PalettedRasterRenderer::Class
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

VS.6 — categorical (paletted) raster renderer.

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
    Maps discrete integer class values (land-use / soil / zone codes)
    to colours, the raster analogue of CategorizedRenderer on the
    feature side. Each class carries a value, a human label, and a
    colour. Classes not explicitly listed fall back to a wrapping
    CategoricalPalette lookup so an unclassified raster still draws.

    Implements IRasterRenderer so GISRasterLayer can swap it in via
    setRasterRenderer().