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
openswmmvis::assignment::MeshAssignmentSampling Struct Reference

#include <meshassignmentsampling.h>

Collaboration diagram for openswmmvis::assignment::MeshAssignmentSampling:

Classes

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

Public Types

enum class  Source {
  Raster ,
  Vector
}
 Which source the dialog opens on. More...
 
enum class  Mode {
  SingleNumeric ,
  MultiNumeric ,
  ClassifiedInfil ,
  SingleCategory
}
 What the assignment writes. More...
 
enum class  Sampling {
  Centroid ,
  OverlayAuto ,
  AreaWeightedMean ,
  Majority ,
  NaturalNeighbour
}
 How one cell's source value is obtained. More...
 
enum class  WriteTarget {
  CellOverrides ,
  RegionDefaults
}
 Where the assignment lands (GUI plan §3.4 "Write as", engine D-I3). More...
 

Member Enumeration Documentation

◆ Mode

What the assignment writes.

Enumerator
SingleNumeric 

One source value → one numeric cell parameter.

MultiNumeric 

N source values → N numeric cell parameters.

ClassifiedInfil 

Key (or key pair) → a whole mesh::InfilRow.

SingleCategory 

One categorical key per cell (e.g. snowpack class).

◆ Sampling

How one cell's source value is obtained.

Enumerator
Centroid 

Point sample at the cell centroid (original).

OverlayAuto 

Majority or area-weighted mean, by source type.

AreaWeightedMean 

Mean over the cell's footprint (continuous).

Majority 

Largest covering share wins (categorical).

NaturalNeighbour 

Sibson / Laplace over scattered points.

◆ Source

Which source the dialog opens on.

Enumerator
Raster 
Vector 

◆ WriteTarget

Where the assignment lands (GUI plan §3.4 "Write as", engine D-I3).

Enumerator
CellOverrides 

Per-cell [2D_INFILTRATION] override rows.

RegionDefaults 

One [2D_INFILTRATION_DEFAULTS] row per region tag.


The documentation for this struct was generated from the following file: