JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::SceneInterface Class Reference

A very experimental scene interface for specular ray tracing. More...

#include <JPLSpatial/PathTracing/SceneInterface.h>

Static Public Member Functions

template<class SceneType , class Vec3 >
static std::optional< Vec3 > ReflectPoint (const SceneType &scene, const Vec3 &point, int surfaceId)
 
template<class Vec3 , class SceneType >
static bool ValidatePath (const SceneType &scene, std::span< const int > triCache, std::span< const Vec3 > imageSources, const Vec3 &receiver)
 
template<class Vec3 , class SceneType >
static bool ValidatePath (const SceneType &scene, const SpecularPathData< Vec3 > &path)
 
template<class SceneType >
static void AccumulateMaterialAbsorption (const SceneType &scene, std::span< const int > surfaces, EnergyBands &outEnergyLoss)
 
template<class SceneType , class OnISsReadyCallback >
static void ReconstructImageSources (const SceneType &scene, std::span< const int > pathNodes, const OnISsReadyCallback &callback)
 

Static Public Attributes

static constexpr std::size_t cMaxOrder = 16
 

Detailed Description

A very experimental scene interface for specular ray tracing.

Member Function Documentation

◆ AccumulateMaterialAbsorption()

template<class SceneType >
void JPL::SceneInterface::AccumulateMaterialAbsorption ( const SceneType scene,
std::span< const int surfaces,
EnergyBands outEnergyLoss 
)
inlinestatic

◆ ReconstructImageSources()

void JPL::SceneInterface::ReconstructImageSources ( const SceneType scene,
std::span< const int pathNodes,
const OnISsReadyCallback callback 
)
inlinestatic

◆ ReflectPoint()

template<class SceneType , class Vec3 >
std::optional< Vec3 > JPL::SceneInterface::ReflectPoint ( const SceneType scene,
const Vec3 &  point,
int  surfaceId 
)
inlinestatic

◆ ValidatePath() [1/2]

template<class Vec3 , class SceneType >
bool JPL::SceneInterface::ValidatePath ( const SceneType scene,
const SpecularPathData< Vec3 > &  path 
)
inlinestatic

◆ ValidatePath() [2/2]

template<class Vec3 , class SceneType >
bool JPL::SceneInterface::ValidatePath ( const SceneType scene,
std::span< const int triCache,
std::span< const Vec3 >  imageSources,
const Vec3 &  receiver 
)
inlinestatic

Member Data Documentation

◆ cMaxOrder

constexpr std::size_t JPL::SceneInterface::cMaxOrder = 16
staticconstexpr

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