![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Map-canvas overlay for a 2D-mesh longitudinal profile: the traced path drawn persistently on the map plus a position arrow that mirrors the profile chart's cursor (and can be dragged on the map via MapToolProfileMarker). More...
#include <QPointF>#include <QVector>#include <functional>Go to the source code of this file.
Classes | |
| class | MeshProfileOverlay |
Map-canvas overlay for a 2D-mesh longitudinal profile: the traced path drawn persistently on the map plus a position arrow that mirrors the profile chart's cursor (and can be dragged on the map via MapToolProfileMarker).
A lightweight geometry model + widget-space painter (NOT a QGraphicsItem). MapCanvas owns the pointer and paints it via paint() AFTER the QSG mesh frame is composited, so the line and marker always sit on top of the 2D flood-map mesh (a scene item can't — the QSG frame is blitted over the whole QGraphicsScene buffer). Its lifetime is owned by the MeshProfilePlotDialog — created when the profile window opens and detached/destroyed when it closes. The traced polyline is already in scene coords (sx = mapX, sy = -mapY, the MapToolMeshProfile convention).