MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Forma::Plot::WaveformBuilder Class Reference

Terminal builder for LINE_STRIP waveform encoding. More...

#include <SeriesBuilder.hpp>

+ Collaboration diagram for MayaFlux::Portal::Forma::Plot::WaveformBuilder:

Public Member Functions

SeriesSpec done () const
 
WaveformBuilderthickness (float t)
 Line thickness in pixels.
 
 WaveformBuilder (Series state)
 

Private Attributes

Series m_state
 
float m_thickness { 1.5F }
 

Detailed Description

Terminal builder for LINE_STRIP waveform encoding.

Reads all Y-axis mappings as line series. X-axis mappings provide explicit sample positions; when absent, positions are distributed uniformly. Z-axis mappings map to vertex Z when present.

N Y-series in the container = N LINE_STRIP runs, one per series, separated by degenerate vertices, sharing one FormaBuffer. Colors are resolved per series: per-mapping palette first, global palette as fallback, white if both are empty.

Roles not consumed by this encoding remain in the container and are available to any other GeometryFn produced from the same Series.

.done() produces a GeometryFn<shared_ptr<PlotContainer>>.

Definition at line 533 of file SeriesBuilder.hpp.


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