Wayverb
wayverb::combined::engine Class Referencefinal

Classes

class  impl
 

Public Types

using engine_state_changed = util::event< state, double >
 Args: Current engine state, progress within state.
 
using waveguide_node_pressures_changed = util::event< util::aligned::vector< float >, double >
 Args: Current node pressures, total distanced travelled by sound wave.
 
using raytracer_reflections_generated = util::event< util::aligned::vector< util::aligned::vector< raytracer::reflection >>, glm::vec3 >
 Args: Current reflections, source position.
 

Public Member Functions

 engine (const core::compute_context &compute_context, const core::gpu_scene_data &scene_data, const glm::vec3 &source, const glm::vec3 &receiver, const core::environment &environment, const raytracer::simulation_parameters &raytracer, std::unique_ptr< waveguide_base > waveguide)
 
std::unique_ptr< intermediaterun (const std::atomic_bool &keep_going) const
 
engine_state_changed::connection connect_engine_state_changed (engine_state_changed::callback_type callback)
 
waveguide_node_pressures_changed::connection connect_waveguide_node_pressures_changed (waveguide_node_pressures_changed::callback_type callback)
 
raytracer_reflections_generated::connection connect_raytracer_reflections_generated (raytracer_reflections_generated::callback_type callback)
 
const waveguide::voxels_and_meshget_voxels_and_mesh () const
 

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