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

Host dialog for a DEM-raster longitudinal profile. The terrain peer of MeshProfilePlotDialog: builds a ProfileSection::Section from a traced polyline via RasterProfileSampler and hosts the SAME MeshProfilePlotWidget chart + MeshProfileOverlay map line. More...

#include "plot/profilesection.h"
#include <QDialog>
#include <QPointer>
#include <QPointF>
#include <QVector>
Include dependency graph for rasterprofileplotdialog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RasterProfilePlotDialog
 

Detailed Description

Host dialog for a DEM-raster longitudinal profile. The terrain peer of MeshProfilePlotDialog: builds a ProfileSection::Section from a traced polyline via RasterProfileSampler and hosts the SAME MeshProfilePlotWidget chart + MeshProfileOverlay map line.

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

Simpler than the mesh dialog in exactly one way — a DEM has no water, so there is no results layer, no AnimationController subscription and no per-frame depth column; the section is static once traced. It is rebuilt when the terrain's vertical factor changes (the toolbar's unit / factor controls), so the ground line always reads in the project's model vertical units.

Lifetime mirrors MeshProfilePlotDialog: a top-level window parented to its project window, WA_DeleteOnClose, that severs external connections on the project's aboutToClose so a multi-window teardown can't deliver into a half-destroyed dialog.