JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::SpeakerTriangulation Namespace Reference

Typedefs

using Vec3i = std::array<uint8, 3>
 

Functions

template<auto GetSpeakerVectorFunction, class Vec3ContainerType >
bool GetSpeakerVectors (ChannelMap channelMap, Vec3ContainerType &outVectors)
 
template<auto GetSpeakerVectorFunction, class Vec3ContainerType , class IndexContainerType >
bool GetSpeakerVectors (ChannelMap channelMap, Vec3ContainerType &outVectors, IndexContainerType &outMapIndices)
 
template<CVec3 Vec3Type, class Vec3iContainerType >
bool TriangulateSpeakerLayout (std::span< const Vec3Type > speakerVectors, Vec3iContainerType &outIndices)
 
template<auto GetSpeakerVectorFunction, CVec3 Vec3Type, class Vec3ContainerType , class Vec3iContainerType >
bool TriangulateSpeakerLayout (ChannelMap channelMap, Vec3ContainerType &outVertices, Vec3iContainerType &outIndices)
 

Typedef Documentation

◆ Vec3i

using JPL::SpeakerTriangulation::Vec3i = std::array<uint8, 3>

Function Documentation

◆ GetSpeakerVectors() [1/2]

template<auto GetSpeakerVectorFunction, class Vec3ContainerType >
bool JPL::SpeakerTriangulation::GetSpeakerVectors ( ChannelMap channelMap,
Vec3ContainerType & outVectors )
inline

◆ GetSpeakerVectors() [2/2]

template<auto GetSpeakerVectorFunction, class Vec3ContainerType , class IndexContainerType >
bool JPL::SpeakerTriangulation::GetSpeakerVectors ( ChannelMap channelMap,
Vec3ContainerType & outVectors,
IndexContainerType & outMapIndices )
inline

◆ TriangulateSpeakerLayout() [1/2]

template<auto GetSpeakerVectorFunction, CVec3 Vec3Type, class Vec3ContainerType , class Vec3iContainerType >
bool JPL::SpeakerTriangulation::TriangulateSpeakerLayout ( ChannelMap channelMap,
Vec3ContainerType & outVertices,
Vec3iContainerType & outIndices )
inline

◆ TriangulateSpeakerLayout() [2/2]

template<CVec3 Vec3Type, class Vec3iContainerType >
bool JPL::SpeakerTriangulation::TriangulateSpeakerLayout ( std::span< const Vec3Type > speakerVectors,
Vec3iContainerType & outIndices )
inline