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

Inspection and editing of surface water ownership assignments. More...

#include <openswmm/engine/openswmm_surface_ownership.h>
#include <QVector>
#include <QString>
#include <functional>
Include dependency graph for surfaceownership.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmmvis::assignment::SurfaceOwnershipReview
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::assignment
 

Functions

bool openswmmvis::assignment::readSurfaceOwners (SWMM_Engine engine, QVector< int > *rows, QString *error)
 Read authored surface-owner records while the engine permits editing.
 
SurfaceOwnershipReview openswmmvis::assignment::previewSurfaceOwners (SWMM_Engine engine, const QVector< int > &rows, const std::function< bool(int, int)> &progress={})
 Ask the engine to validate proposed ownership and compute object-area shares.
 
bool openswmmvis::assignment::replaceSurfaceOwners (SWMM_Engine engine, const QVector< int > &rows, const QString &token, QString *error)
 Replace ownership records using the engine-issued preview token.
 
bool openswmmvis::assignment::surfaceOwnershipMeshMatches (SWMM_Engine engine, const SWMM2DMeshLayer *layer, QString *error)
 Check that the GUI mesh and engine mesh describe the same cells before ownership review.
 

Detailed Description

Inspection and editing of surface water ownership assignments.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
GPL-3.0-or-later