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

Shared raster and vector sampling for mesh parameter assignments. More...

#include "mesh/meshinfil.h"
#include "mesh/naturalnbinterpolator.h"
#include <QPointF>
#include <QSet>
#include <QStringList>
#include <QVector>
#include <QPromise>
#include <functional>
Include dependency graph for meshassignmentsampling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmmvis::assignment::MeshAssignmentSampling
 
struct  openswmmvis::assignment::MeshAssignmentSampling::Job
 Everything one sampling pass needs. More...
 
struct  openswmmvis::assignment::MeshAssignmentSampling::SampleResult
 Outcome of one sampling pass over the in-scope cells. More...
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::assignment
 

Functions

MeshAssignmentSampling::SampleResult openswmmvis::assignment::sampleMeshAssignment (const MeshAssignmentSampling::Job &job, std::function< bool()> cancelled={}, std::function< void(int, int)> progress={})
 Run a self-contained raster/vector sampling job on the calling thread.
 
void openswmmvis::assignment::runMeshAssignmentSampling (QPromise< MeshAssignmentSampling::SampleResult > &promise, MeshAssignmentSampling::Job job)
 Adapt synchronous sampling to a Qt concurrent promise.
 

Detailed Description

Shared raster and vector sampling for mesh parameter assignments.

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