28#ifndef SWMMLAYERQSGRENDERER_H
29#define SWMMLAYERQSGRENDERER_H
76 {
return m_contentRev; }
80 UpdatePaintNodeData *)
override;
85 void noteContentChanged() { ++m_contentRev; update(); }
87 QPointer<SWMMModelLayer> m_layer;
88 quint64 m_contentRev = 0;
99 double m_anchorX = 0.0;
100 double m_anchorY = 0.0;
105 bool m_contentDirty =
true;
112 bool m_selDirty =
false;
113 bool m_selectionPending =
false;
118 struct CatchTriCache {
119 quint64 revision = std::numeric_limits<quint64>::max();
120 QVector<QVector<int>> tris;
122 CatchTriCache m_catchTriCache;
An axis-aligned bounding box in the coordinate space of a given CRS.
Definition mapextent.h:26
Definition swmmlayerqsgrenderer.h:42
void forceRebuild()
Definition swmmlayerqsgrenderer.cpp:742
QSGNode * updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *) override
Definition swmmlayerqsgrenderer.cpp:781
void setLayer(SWMMModelLayer *layer)
Definition swmmlayerqsgrenderer.cpp:683
quint64 contentRevision() const noexcept
Definition swmmlayerqsgrenderer.h:75
~SWMMLayerQSGRenderer() override
void setMapExtent(const MapExtent &extent)
Definition swmmlayerqsgrenderer.cpp:751
Renders the SWMM network elements (nodes, links, subcatchments, rain gages) for one OpenSWMMEngine mo...
Definition swmmmodellayer.h:133
Axis-aligned bounding box in a map coordinate system, used by MapCanvas and all layer types to define...
QVector< int > parent
union-find
Definition pslgminsize.cpp:176