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

Explicit RGB(A) band-composite raster renderer. More...

Include dependency graph for multibandcolorrenderer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Render::MultiBandColorRenderer
 RGB(A) composite from three (or four) raster bands. More...
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

Explicit RGB(A) band-composite 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
    Replaces GISRasterLayer's former "three or more bands ⇒ RGB"
    hard-wire with a renderer the user can see and switch away from:
    it names which bands feed the red / green / blue (/ alpha)
    channels, and installing any other IRasterRenderer on a
    multi-band raster puts the layer back on the single-band colour
    path for the chosen render band.

    No per-pixel colour mapping happens here — the warp reads the
    bands as bytes and composites them directly — so colorForValue()
    is unused (returns transparent). No contrast stretch (deferred).