|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Terminal builder for filled waveform encoding (TRIANGLE_STRIP). More...
#include <SeriesBuilder.hpp>
Collaboration diagram for MayaFlux::Portal::Forma::Plot::FilledWaveformBuilder:Public Member Functions | |
| FilledWaveformBuilder & | baseline (float y) |
| Override the baseline Y value in data coordinates. | |
| SeriesSpec | done () const |
| FilledWaveformBuilder (Series state) | |
Private Attributes | |
| float | m_baseline { 0.F } |
| Series | m_state |
Terminal builder for filled waveform encoding (TRIANGLE_STRIP).
For each Y-series, produces a TRIANGLE_STRIP quad strip between the signal value and a baseline Y (default: y_range.to_ndc(0), clamped to bounds). Each sample pair contributes two vertices: one at the signal, one at the baseline. The strip is continuous within a series; separate series are separated by degenerate vertices.
Shares all Y-axis, X-axis, palette, and auto-scale machinery with WaveformBuilder. Use when the filled area under the signal carries meaning: envelope display, energy readout, spectral band fill.
.done() produces a SeriesSpec with TRIANGLE_STRIP topology.
Definition at line 625 of file SeriesBuilder.hpp.