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
meshobjectref.h File Reference
#include "selection/selectionmanager.h"
#include <QString>
Include dependency graph for meshobjectref.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mesh::MeshObjectRef
 

Namespaces

namespace  mesh
 

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

Slice §V.VA — helpers to build / parse SWMMObjectRef names for 2D mesh elements (vertices and edges).

The encoded form is: mesh::<layerKey>v<vertexIdx> mesh::<layerKey>e<triIdx>:<edgeLocal> mesh::<layerKey>#c<triIdx>

Where <layerKey> is derived from the mesh layer's source-file basename (so two meshes loaded from different files don't collide in a single project's selection bus). Callers pass the layer's source path; this keeps MeshObjectRef decoupled from the heavy SWMM2DMeshLayer class so it can be unit-tested without widget deps.