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
meshhoverprobe.h File Reference
#include <QElapsedTimer>
#include <QObject>
#include <QPointer>
Include dependency graph for meshhoverprobe.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mesh::MeshHoverProbe
 

Namespaces

namespace  mesh
 

Detailed Description

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

Slice §V.VA — watches the active map canvas's cursor signal and emits the barycentric Z under the cursor for the active 2D mesh layer.

Wiring:

  • The probe attaches to one MapCanvas at a time via setCanvas().
  • Active mesh is selected via setActiveMesh(); typically driven by the toolbar's active-mesh combo.
  • On every MapCanvas::cursorPositionChanged(double mapX, double mapY) the probe samples Z (scene-space Y-flip applied), throttled to a minimum 16 ms interval to avoid GUI-thread thrash.