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

Slice BB-α — classifies a set of numeric samples into N bins. More...

#include <QJsonObject>
#include <QVector>
Include dependency graph for intervalbinner.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Render::IntervalBinner
 Computes break values + maps a value to a bin index. More...
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Enumerations

enum class  OpenSWMM::Render::BinMethod : int {
  OpenSWMM::Render::EqualInterval = 0 ,
  OpenSWMM::Render::Quantile = 1 ,
  OpenSWMM::Render::Manual = 2 ,
  OpenSWMM::Render::NaturalBreaks = 3 ,
  OpenSWMM::Render::StdDev = 4 ,
  OpenSWMM::Render::Logarithmic = 5 ,
  OpenSWMM::Render::Exponential = 6
}
 How break values are computed from a sample set. More...
 

Detailed Description

Slice BB-α — classifies a set of numeric samples into N bins.

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
    Drives GraduatedRenderer's bin assignment. The renderer asks
    the binner to compute break values from a sample set, then per
    feature calls `binFor(value, breaks)` to look up which bin
    that feature falls into.

    Supports EqualInterval, Quantile, Manual, NaturalBreaks (Jenks),
    StdDev, Logarithmic, and Exponential (VS.3). PrettyBreaks is the
    one remaining QGIS method, deferred because it does not yield a
    fixed (binCount-1) break count.

    Cross-slice: GUI_IMPLEMENTATION_PLAN.md §L.BB-α Phase BB-α.4.