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
traceanalysislayer.cpp File Reference

Map rendering and styling of saved flow analysis results. More...

#include "layers/traceanalysislayer.h"
#include "layers/swmmresultslayer.h"
#include "map/spatialreferencesystem.h"
#include "ui/dialogs/ilayerstylesubject.h"
#include <QGraphicsItem>
#include <QGraphicsScene>
#include <QGraphicsSceneMouseEvent>
#include <QJsonArray>
#include <QPainterPathStroker>
#include <algorithm>
#include <cmath>
#include <limits>
#include <ogr_spatialref.h>
Include dependency graph for traceanalysislayer.cpp:

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::trace
 

Functions

QPainterPath openswmmvis::trace::taperedPath (const QVector< QPointF > &input, double startWidth, double endWidth)
 Build a filled pixel-space ribbon with segment quads and round join disks.
 
QString openswmmvis::trace::fieldLabel (const QString &f, bool node=false)
 

Detailed Description

Map rendering and styling of saved flow analysis results.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
GPL-3.0-or-later

Variable Documentation

◆ bounds

QRectF bounds

◆ layer

TraceAnalysisLayer* layer

◆ links

QVector<QVector<QPointF> > links

◆ nodes

QVector<QPointF> nodes