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::ui::Mesh2DExportDialogInputs Struct Reference

What the dialog needs to know about the run it is exporting. More...

#include <mesh2dresultsexportdialog.h>

Collaboration diagram for openswmmvis::ui::Mesh2DExportDialogInputs:

Public Attributes

QList< QDateTime > times
 one per frame; invalid entries render as an index
 
int currentIndex = -1
 the frame the animation is on ("Current")
 
double suggestedCellSize = 0.0
 model units; seeds the raster cell size
 
double extentWidth = 0.0
 mesh bounding box, model units
 
double extentHeight = 0.0
 so the dialog can size the raster
 
bool hasVelocity = false
 false disables the velocity variables
 
bool live = false
 the run is still going: "so far" wording
 
QString lengthUnit = QStringLiteral("m")
 spin-box suffix
 
QString defaultDir
 where the file chooser opens
 
QString defaultBaseName
 suggested file stem (the run's name)
 

Detailed Description

What the dialog needs to know about the run it is exporting.

Deliberately plain data rather than the results layer: the dialog then has no dependency on the layer or render stack, and its test can build a 72-step run in three lines.

Member Data Documentation

◆ currentIndex

int openswmmvis::ui::Mesh2DExportDialogInputs::currentIndex = -1

the frame the animation is on ("Current")

◆ defaultBaseName

QString openswmmvis::ui::Mesh2DExportDialogInputs::defaultBaseName

suggested file stem (the run's name)

◆ defaultDir

QString openswmmvis::ui::Mesh2DExportDialogInputs::defaultDir

where the file chooser opens

◆ extentHeight

double openswmmvis::ui::Mesh2DExportDialogInputs::extentHeight = 0.0

so the dialog can size the raster

◆ extentWidth

double openswmmvis::ui::Mesh2DExportDialogInputs::extentWidth = 0.0

mesh bounding box, model units

◆ hasVelocity

bool openswmmvis::ui::Mesh2DExportDialogInputs::hasVelocity = false

false disables the velocity variables

◆ lengthUnit

QString openswmmvis::ui::Mesh2DExportDialogInputs::lengthUnit = QStringLiteral("m")

spin-box suffix

◆ live

bool openswmmvis::ui::Mesh2DExportDialogInputs::live = false

the run is still going: "so far" wording

◆ suggestedCellSize

double openswmmvis::ui::Mesh2DExportDialogInputs::suggestedCellSize = 0.0

model units; seeds the raster cell size

◆ times

QList<QDateTime> openswmmvis::ui::Mesh2DExportDialogInputs::times

one per frame; invalid entries render as an index


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