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
flowarrowsublayer.h File Reference

Direction-only flow-arrow sublayer for 2D results animation. More...

#include "render/isublayer.h"
#include "render/sublayerstyle.h"
#include "render/colorramp.h"
#include <QColor>
#include <QJsonObject>
#include <QString>
Include dependency graph for flowarrowsublayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Render::FlowArrowStyle
 
class  OpenSWMM::Render::FlowArrowSublayer
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

Direction-only flow-arrow sublayer for 2D results animation.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later
    Sits alongside VelocityVectorSublayer in the 2D results mix.
    The difference is intent: VelocityVectorSublayer encodes
    magnitude as glyph length so the user can see how fast water
    moves; FlowArrowSublayer renders fixed-length arrows on a
    regular sample grid so the user can read flow *direction* at a
    glance regardless of magnitude (cleaner pattern reading at
    scale, particularly for shallow flow with tiny |v|).

    Dynamic — isDynamic() == true. The renderer rebuilds the arrow
    field on every animation tick.