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

Canvas map tool that drags the 2D-mesh profile position arrow along the traced path. Pairs with MeshProfileOverlay (the persistent line. More...

Include dependency graph for maptoolprofilemarker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MapToolProfileMarker
 

Detailed Description

Canvas map tool that drags the 2D-mesh profile position arrow along the traced path. Pairs with MeshProfileOverlay (the persistent 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
  • arrow) and MeshProfilePlotDialog (which wires this tool's markerChainageChanged to the profile chart's cursor, and the chart's cursorChainageChanged back to the overlay).

Behaviour:

  • Left-press within a few pixels of the profile line begins a drag and snaps the marker to the nearest point on the line.
  • Mouse-move projects the cursor onto the line → chainage, moves the marker, and emits markerChainageChanged so the chart cursor follows.
  • While dragging the arrow is painted live in the tool overlay (immediate) and the scene-overlay arrow is hidden; on release the scene arrow is restored at the final position.