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

Slice BC's map tool for picking the two endpoints of a profile path. Routes between them via ProfileRouter, shows candidates via ProfilePathOverlay, and (on multi-path) launches a modal picker dialog. More...

#include "map/tools/maptool.h"
#include "plot/profilerouter.h"
#include <QPointer>
#include <QVector>
Include dependency graph for maptoolselectprofile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMMVisMapToolSelectProfile
 

Detailed Description

Slice BC's map tool for picking the two endpoints of a profile path. Routes between them via ProfileRouter, shows candidates via ProfilePathOverlay, and (on multi-path) launches a modal picker dialog.

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

Input idioms (both accept either a node or a link at each pick; link-clicks snap to the link endpoint nearest the cursor):

A. Click + modifier — first click sets start, Ctrl/+click sets end. B. Modifier + modifier — Ctrl/+click for both clicks (mirrors the QGIS routing-tool idiom).

Shift+Ctrl/⌘-click between start and end captures an intermediate waypoint (router runs kShortestPathsThrough). Escape or right-click cancels and resets state.