![]() |
VISR
0.11.8
Versatile Interactive Scene Renderer
|
#include <sparse_gain_routing.hpp>
Public Types | |
using | IndexType = std::size_t |
using | GainType = float |
Public Member Functions | |
SparseGainRouting () | |
SparseGainRouting (IndexType pEntry, IndexType pRow, IndexType pColumn, GainType pGain=static_cast< GainType >(1.0)) | |
Public Attributes | |
IndexType | entryIndex |
IndexType | rowIndex |
IndexType | columnIndex |
GainType | gain |
Static Public Attributes | |
static const IndexType | cInvalidIndex = UINT_MAX |
Class for defining a routing entry for a multichannel filter engine. A routing entry consists of a input channel index, an output channel index, an index for the used filter coefficient, and a gain value.
using visr::rbbl::SparseGainRouting::GainType = float |
using visr::rbbl::SparseGainRouting::IndexType = std::size_t |
|
inline |
Default constructor to create an object with invalid entry, input, and output indices.
|
inline |
Constructor with arguments.
pEntry | Unique index of the entry (zero-offset) |
pRow | Row index of the routing point (zero-offset) |
pColumn | Column index of the routing point (zero-offset) |
pGain | Initial gain value, linear scale. Default: 1.0 |
|
static |
Special value to denote invalid indices
IndexType visr::rbbl::SparseGainRouting::columnIndex |
The column index of the entry (zero-offset)
IndexType visr::rbbl::SparseGainRouting::entryIndex |
The index of the entry (zero-offset)
GainType visr::rbbl::SparseGainRouting::gain |
The gain value for the routing point (linear scale)
IndexType visr::rbbl::SparseGainRouting::rowIndex |
The row index of the entry(zero-offset)