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
xsectshapegeom.h File Reference
#include <QString>
#include <openswmm/engine/openswmm_links.h>
Include dependency graph for xsectshapegeom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmmvis::XsectShapeRow
 

Namespaces

namespace  openswmmvis
 

Functions

const XsectShapeRowopenswmmvis::findXsectShapeRow (int engineId)
 
QString openswmmvis::xsectShapeName (int engineId)
 
QString openswmmvis::xsectGeomLabel (int shapeId, int ordinal)
 
bool openswmmvis::xsectGeomApplies (int shapeId, int ordinal)
 
bool openswmmvis::xsectGeomIsPickerIndex (int shapeId, int ordinal)
 

Variables

constexpr int openswmmvis::kXsectIrregularId = SWMM_XSECT_IRREGULAR
 
constexpr int openswmmvis::kXsectStreetId = SWMM_XSECT_STREET
 
constexpr int openswmmvis::kXsectCustomId = SWMM_XSECT_CUSTOM
 
constexpr XsectShapeRow openswmmvis::kXsectShapes []
 

Detailed Description

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

Shared cross-section shape / geometry metadata — the single source of truth for which of geom1..geom4 a SWMM_XSectShape actually uses and what each one means. Consumed by the complex editor (LinkCompoundEditDialog), the per-object Property Browser (SWMMLinkPropertyAdapter) and the Attribute Table (SWMMAttributeTableModel) so the three surfaces stay in lock-step.

Header-only (inline) so every translation unit shares one definition without a separate .cpp; the table is tiny.