Wayverb
fast_pressure_calculator.h File Reference
#include "raytracer/cl/structs.h"
#include "core/conversions.h"
#include "core/scene_data.h"
#include "core/surfaces.h"
#include "core/unit_constructor.h"
#include "utilities/aligned/vector.h"
#include "utilities/map_to_vector.h"

Go to the source code of this file.

Classes

struct  wayverb::raytracer::image_source::reflection_metadata
 
class  wayverb::raytracer::image_source::fast_pressure_calculator< multichannel_type >
 

Functions

template<typename Channels , typename It >
auto wayverb::raytracer::image_source::compute_fast_pressure (const glm::vec3 &receiver, const util::aligned::vector< Channels > &impedance, const util::aligned::vector< Channels > &scattering, bool flip_phase, const glm::vec3 &image_source, It begin, It end)
 
template<typename It >
constexpr auto wayverb::raytracer::image_source::make_fast_pressure_calculator (It b_surfaces, It e_surfaces, const glm::vec3 &receiver, bool flip_phase)
 

Detailed Description

The image source finder is designed just to ascertain whether or not each 'possible' image-source path is an actual image-source path. Once it's worked this out, it delegates to one of these secondary functions to actually compute the pressure or intensity contributed by that particular path.