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

Per-cell (flat) and per-vertex (Gouraud) scalar-fill sublayers over a 2D mesh. Unlike ContourBandSublayer (which marching-squares the field into discrete band polygons), these fill the existing triangle mesh directly: More...

#include "render/classificationscheme.h"
#include "render/isublayer.h"
#include "render/sublayerstyle.h"
#include <QColor>
#include <QJsonObject>
#include <QString>
Include dependency graph for scalarfillsublayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Render::ScalarFillStyle
 
class  OpenSWMM::Render::CellDepthFillSublayer
 
class  OpenSWMM::Render::SmoothDepthFillSublayer
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

Per-cell (flat) and per-vertex (Gouraud) scalar-fill sublayers over a 2D mesh. Unlike ContourBandSublayer (which marching-squares the field into discrete band polygons), these fill the existing triangle mesh directly:

  • CellDepthFillSublayer — one flat colour per cell (cell-centre value), classified or continuous.
  • SmoothDepthFillSublayer — a colour per mesh vertex, interpolated across each triangle by the GPU (Gouraud). Continuous gives a seam-free gradient; classified bins each vertex. Both reuse the shared ScalarFillStyle (attribute + ClassificationScheme whose ClassMode is the Continuous/Classified toggle).