9#ifndef MAPTOOLADDNODE_H
10#define MAPTOOLADDNODE_H
63 const QString &elementKind,
64 QObject *
parent =
nullptr);
66 [[nodiscard]] QCursor
cursor()
const override;
93 [[nodiscard]]
int nodeType()
const {
return m_nodeType; }
99 const QString &splitLinkName,
100 const QString &newLinkName);
110 [[nodiscard]] QString nextAvailableName(
SWMMModelLayer *layer)
const;
113 [[nodiscard]] QString kindLabel()
const;
115 [[nodiscard]] QColor markerColor(
const SWMMModelLayer *layer)
const;
117 void commitFreePlacement(
SWMMModelLayer *layer,
double mapX,
double mapY);
121 QString m_elementKind;
124 bool m_armed =
false;
127 double m_terrainOffset = 0.0;
128 double m_terrainFactor = 1.0;
A map layer backed by a GDAL raster dataset.
Definition gisrasterlayer.h:61
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
Renders the SWMM network elements (nodes, links, subcatchments, rain gages) for one OpenSWMMEngine mo...
Definition swmmmodellayer.h:133
Represents a coordinate reference system backed by a GDAL OGRSpatialReference.
Definition spatialreferencesystem.h:28
Shared "which conduit is under the cursor, and where along it" hit-test used by every tool that inser...
QString nodeName
Definition importplanning.cpp:95
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
QString message
Definition queryparser.cpp:150
QString name
Definition sectionmodelbuilders.cpp:474
Shared vertex-snapping helper for all drawing map tools.
Definition conduitsplitpick.h:31
Definition snapengine.h:38