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
mesh::MeshHoverProbe Class Reference

#include <meshhoverprobe.h>

Inheritance diagram for mesh::MeshHoverProbe:
Collaboration diagram for mesh::MeshHoverProbe:

Signals

void elevationChanged (double z, bool finite)
 Emitted on every (throttled) cursor update. When the cursor is outside every triangle, finite is false and z is NaN.
 

Public Member Functions

 MeshHoverProbe (QObject *parent=nullptr)
 
 ~MeshHoverProbe () override
 
void setCanvas (MapCanvas *canvas)
 
void setActiveMesh (SWMM2DMeshLayer *layer)
 
double lastZ () const
 
bool lastValid () const
 

Constructor & Destructor Documentation

◆ MeshHoverProbe()

mesh::MeshHoverProbe::MeshHoverProbe ( QObject *  parent = nullptr)
explicit

◆ ~MeshHoverProbe()

mesh::MeshHoverProbe::~MeshHoverProbe ( )
overridedefault

Member Function Documentation

◆ elevationChanged

void mesh::MeshHoverProbe::elevationChanged ( double  z,
bool  finite 
)
signal

Emitted on every (throttled) cursor update. When the cursor is outside every triangle, finite is false and z is NaN.

Here is the caller graph for this function:

◆ lastValid()

bool mesh::MeshHoverProbe::lastValid ( ) const
inline

◆ lastZ()

double mesh::MeshHoverProbe::lastZ ( ) const
inline

◆ setActiveMesh()

void mesh::MeshHoverProbe::setActiveMesh ( SWMM2DMeshLayer layer)
Here is the call graph for this function:

◆ setCanvas()

void mesh::MeshHoverProbe::setCanvas ( MapCanvas canvas)
Here is the call graph for this function:
Here is the caller graph for this function:

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