![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Boundary-condition indicator sublayer for the 2D mesh. More...
#include "render/isublayer.h"#include "render/sublayerstyle.h"#include <QColor>#include <QJsonObject>#include <QSet>#include <QString>Go to the source code of this file.
Classes | |
| class | OpenSWMM::Render::MeshBcStyle |
| class | OpenSWMM::Render::MeshBcSublayer |
Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Render |
Boundary-condition indicator sublayer for the 2D mesh.
Static — isDynamic() == false. The BC ring depends on the mesh
topology and the authored [2D_BOUNDARY_CONDITIONS] rows, not on
the animation period.
Carved out of MeshEdgeStyle (which used to carry colorByBC + the
per-type colours/widths) so BC indicators are a first-class
sublayer: their own layer-tree row with visibility/opacity, their
own styling tab, and — new — per-BC-type visibility. The
sublayer's own isVisible() replaces the old colorByBC master
toggle; legacy styles migrate in
SWMM2DMeshLayer::onSublayersJsonLoaded.
Seven explicit per-type properties rather than a
ClassificationScheme: the scheme's modes are numeric, and forcing
a 7-value enum through manual breaks would put fake numeric edges
in legend labels. The enum is frozen at seven
(mesh::MeshBCTypes::Type), so there is no open-ended growth.