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

Stylable wireframe-edge sublayer for the 2D mesh. More...

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

Go to the source code of this file.

Classes

class  OpenSWMM::Render::MeshEdgeStyle
 
class  OpenSWMM::Render::MeshEdgeSublayer
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

Stylable wireframe-edge sublayer for the 2D mesh.

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
    Static — isDynamic() == false. Edge geometry depends on the mesh
    topology, not on the animation period.

    Replaces the hard-coded edge pass in SWMM2DMeshQSGRenderer with
    a property bag the user can edit through the layer-tree
    "Edit Sublayer Style..." dialog. The slope-driven thin/wide
    split shipped in AU.6 is preserved as an opt-in advanced toggle
    (useSlopeDrivenWidth); the default behaviour is a uniform
    lineWidthPx so the new style maps onto a single intuitive knob.