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::io::Mesh2DExportOptions Struct Reference

What to export. Collected by the dialog, consumed by exportMesh2DResults. More...

#include <mesh2dresultsexport.h>

Collaboration diagram for openswmmvis::io::Mesh2DExportOptions:

Public Attributes

QString basePath
 
Mesh2DExportFormat format = Mesh2DExportFormat::GeoTiff
 
unsigned variables = Mesh2DDepth | Mesh2DHead | Mesh2DVmag
 
std::vector< int > timeSteps
 
bool includeMax = true
 
double cellSize = 0.0
 
Mesh2DInterp interp = Mesh2DInterp::NaturalNeighbour
 
int idwNeighbours = 8
 
double idwPower = 2.0
 
bool maskDry = true
 

Detailed Description

What to export. Collected by the dialog, consumed by exportMesh2DResults.

Member Data Documentation

◆ basePath

QString openswmmvis::io::Mesh2DExportOptions::basePath

Output directory + base name, WITHOUT extension. Each variable appends its own suffix (_depth.shp, _depth.tif, …); GeoPackage appends only .gpkg and puts the variables in layers.

◆ cellSize

double openswmmvis::io::Mesh2DExportOptions::cellSize = 0.0

Square pixel size in MODEL units. <= 0 means suggestedRasterCellSize.

◆ format

Mesh2DExportFormat openswmmvis::io::Mesh2DExportOptions::format = Mesh2DExportFormat::GeoTiff

◆ idwNeighbours

int openswmmvis::io::Mesh2DExportOptions::idwNeighbours = 8

Neighbour count for Mesh2DInterp::Idw.

◆ idwPower

double openswmmvis::io::Mesh2DExportOptions::idwPower = 2.0

Shepard exponent for Mesh2DInterp::Idw.

◆ includeMax

bool openswmmvis::io::Mesh2DExportOptions::includeMax = true

Also export the whole-run maxima (depth, head, speed) — the engine's ENVELOPES datasets when the file carries them, else a scan of every frame. Independent of timeSteps.

◆ interp

Mesh2DInterp openswmmvis::io::Mesh2DExportOptions::interp = Mesh2DInterp::NaturalNeighbour

◆ maskDry

bool openswmmvis::io::Mesh2DExportOptions::maskDry = true

Write NoData wherever the interpolated depth is below the dry depth. Off writes the interpolated value everywhere inside the mesh.

◆ timeSteps

std::vector<int> openswmmvis::io::Mesh2DExportOptions::timeSteps

Frame indices to export, ascending. May be empty when includeMax.

◆ variables

unsigned openswmmvis::io::Mesh2DExportOptions::variables = Mesh2DDepth | Mesh2DHead | Mesh2DVmag

Bitwise OR of Mesh2DVariable.


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