24#ifndef OPENSWMMVIS_MAP_TOOLS_MAPTOOLMESHSELECTVERTEX_H
25#define OPENSWMMVIS_MAP_TOOLS_MAPTOOLMESHSELECTVERTEX_H
43 QObject *
parent =
nullptr);
53 void paint(QPainter *painter,
64 const QVector<openswmmvis::plot::PlotAttribute> &attrs);
68 QPointF pixelToScene_(
int px,
int py)
const;
70 QPointer<SelectionManager> m_selection;
71 QPointer<SWMM2DMeshLayer> m_target;
73 bool m_dragging =
false;
75 QPoint m_currentPixel;
76 static constexpr int kDragThreshPx = 6;
77 static constexpr double kPickTolPx = 12.0;
The central map display widget — QGIS-style hybrid rendering.
Definition mapcanvas.h:63
An axis-aligned bounding box in the coordinate space of a given CRS.
Definition mapextent.h:26
Definition swmm2dmeshlayer.h:64
Owner of the canonical selection set for one SWMM project.
Definition selectionmanager.h:112
Represents a coordinate reference system backed by a GDAL OGRSpatialReference.
Definition spatialreferencesystem.h:28
Definition meshcommands.h:302
Slice BL — canonical enumeration of plottable result attributes.
QVector< int > parent
union-find
Definition pslgminsize.cpp:176