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
SWMM2DMeshQSGRenderer Class Reference

#include <swmm2dmeshqsgrenderer.h>

Inheritance diagram for SWMM2DMeshQSGRenderer:
Collaboration diagram for SWMM2DMeshQSGRenderer:

Public Member Functions

 SWMM2DMeshQSGRenderer (QQuickItem *parent=nullptr)
 
 ~SWMM2DMeshQSGRenderer () override
 
void setLayer (SWMM2DMeshLayer *layer)
 
void setMapExtent (const MapExtent &extent)
 
quint64 contentRevision () const noexcept
 

Protected Member Functions

QSGNode * updatePaintNode (QSGNode *oldNode, UpdatePaintNodeData *) override
 

Constructor & Destructor Documentation

◆ SWMM2DMeshQSGRenderer()

SWMM2DMeshQSGRenderer::SWMM2DMeshQSGRenderer ( QQuickItem *  parent = nullptr)
explicit

◆ ~SWMM2DMeshQSGRenderer()

SWMM2DMeshQSGRenderer::~SWMM2DMeshQSGRenderer ( )
override

Member Function Documentation

◆ contentRevision()

quint64 SWMM2DMeshQSGRenderer::contentRevision ( ) const
inlinenoexcept

Monotonic counter bumped every time an external change marks this renderer's content dirty. MapCanvas compares it against the value recorded when it last grabbed the QSG framebuffer, so a change that arrives after the canvas cleared its own dirty flag still forces a regrab instead of compositing a stale frame. Extent and layer-pointer changes are keyed separately by the canvas and do not bump this.

◆ setLayer()

void SWMM2DMeshQSGRenderer::setLayer ( SWMM2DMeshLayer layer)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMapExtent()

void SWMM2DMeshQSGRenderer::setMapExtent ( const MapExtent extent)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updatePaintNode()

QSGNode * SWMM2DMeshQSGRenderer::updatePaintNode ( QSGNode *  oldNode,
UpdatePaintNodeData *   
)
overrideprotected
Here is the call graph for this function:

The documentation for this class was generated from the following files: