|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Per-channel double spans produced by numeric extraction, together with the storage behind them. More...
#include <OperationHelper.hpp>
Public Types | |
| using | Spans = std::vector<std::span<double>> |
Public Member Functions | |
| NumericChannels ()=default | |
| NumericChannels (Spans spans) | |
| NumericChannels (Spans spans, std::shared_ptr< void > owner) | |
Private Attributes | |
| std::shared_ptr< void > | m_owner |
Per-channel double spans produced by numeric extraction, together with the storage behind them.
Numeric extraction converts a source into double precision for operations that expect numeric input. When the source already holds doubles the spans view that storage and the owner is empty. When data was converted or built for the call, the owner keeps it alive for as long as this object, or a copy of it, exists. Copying the base vector drops the owner, so keep the NumericChannels itself in scope while its spans are used.
Definition at line 43 of file OperationHelper.hpp.