JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::VBAP::LUTInterface2D< GetSpeakerVectorFunction, GetSpeakerAngleFunction > Class Template Reference

#include <JPLSpatial/Panning/VBAPLUT2D.h>

Public Types

using Vec3Type = std::remove_cvref_t< decltype(GetSpeakerVectorFunction(EChannel{}))>
 
using LUTType = LUT2D
 
using BuilderType = LUTBuilder2D< GetSpeakerAngleFunction >
 
using QueryType = LUTQuery2D
 

Static Public Member Functions

static JPL_INLINE BuilderType MakeBuilder (ChannelMap channelMap, LUT2D &lut)
 Make LUTBuilder object to build LUT for given 'channelMap' and 'LUTType'.
 
static JPL_INLINE QueryType Query (const LUT2D &LUT)
 Make LUTQuery object to query 'LUT' for speaker gains.
 

Detailed Description

template<auto GetSpeakerVectorFunction, auto GetSpeakerAngleFunction>
class JPL::VBAP::LUTInterface2D< GetSpeakerVectorFunction, GetSpeakerAngleFunction >

Interface to contsruct LUTBuilder and LUTQuery without having to retype long template parameter lists

Member Typedef Documentation

◆ BuilderType

template<auto GetSpeakerVectorFunction, auto GetSpeakerAngleFunction>
using JPL::VBAP::LUTInterface2D< GetSpeakerVectorFunction, GetSpeakerAngleFunction >::BuilderType = LUTBuilder2D<GetSpeakerAngleFunction>

◆ LUTType

template<auto GetSpeakerVectorFunction, auto GetSpeakerAngleFunction>
using JPL::VBAP::LUTInterface2D< GetSpeakerVectorFunction, GetSpeakerAngleFunction >::LUTType = LUT2D

◆ QueryType

template<auto GetSpeakerVectorFunction, auto GetSpeakerAngleFunction>
using JPL::VBAP::LUTInterface2D< GetSpeakerVectorFunction, GetSpeakerAngleFunction >::QueryType = LUTQuery2D

◆ Vec3Type

template<auto GetSpeakerVectorFunction, auto GetSpeakerAngleFunction>
using JPL::VBAP::LUTInterface2D< GetSpeakerVectorFunction, GetSpeakerAngleFunction >::Vec3Type = std::remove_cvref_t<decltype(GetSpeakerVectorFunction(EChannel{}))>

Member Function Documentation

◆ MakeBuilder()

template<auto GetSpeakerVectorFunction, auto GetSpeakerAngleFunction>
static JPL_INLINE BuilderType JPL::VBAP::LUTInterface2D< GetSpeakerVectorFunction, GetSpeakerAngleFunction >::MakeBuilder ( ChannelMap  channelMap,
LUT2D lut 
)
inlinestatic

Make LUTBuilder object to build LUT for given 'channelMap' and 'LUTType'.

◆ Query()

template<auto GetSpeakerVectorFunction, auto GetSpeakerAngleFunction>
static JPL_INLINE QueryType JPL::VBAP::LUTInterface2D< GetSpeakerVectorFunction, GetSpeakerAngleFunction >::Query ( const LUT2D LUT)
inlinestatic

Make LUTQuery object to query 'LUT' for speaker gains.


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