|
AcousticTracer 0.1.0
An acoustic raytracing library.
|
Files | |
| file | at.h |
| The libraries public types and functions. | |
| file | at_simulation.h |
| AT_Simulation and related functions. | |
Data Structures | |
| struct | AT_Material |
| Holds the material absorption and scattering coefficients. More... | |
| struct | AT_Settings |
| The simulation's settings. More... | |
| struct | AT_Simulation |
| Groups the necessary simulation data. More... | |
Functions | |
| AT_Result | AT_simulation_create (AT_Simulation **out_simulation, const AT_Scene *scene, const AT_Settings *settings) |
| AT_Simulation constructor using defined AT_Settings. | |
| void | AT_simulation_destroy (AT_Simulation *simulation) |
| Destroys an allocated AT_Simulation. | |
| AT_Result | AT_simulation_run (AT_Simulation *simulation) |
| Starts the simulation. | |
| AT_Result | AT_simulation_create (AT_Simulation **out_simulation, const AT_Scene *scene, const AT_Settings *settings) |
| AT_Simulation constructor using defined AT_Settings. | |
| void | AT_simulation_destroy (AT_Simulation *simulation) |
| Destroys an allocated AT_Simulation. | |
| AT_Result | AT_simulation_run (AT_Simulation *simulation) |
| Starts the simulation. | |
|
AT_Simulation constructor using defined AT_Settings.
| out_simulation | Pointer to an empty initialised AT_Simulation. |
| Scene | Pointer to the simulation's scene data. |
| settings | Pointer to the simulation settings. |
| AT_Result | Saves the simulation at the pointer, returning a result enum value. |
| AT_Result AT_simulation_create | ( | AT_Simulation ** | out_simulation, |
| const AT_Scene * | scene, | ||
| const AT_Settings * | settings ) |
AT_Simulation constructor using defined AT_Settings.
| out_simulation | Pointer to an empty initialised AT_Simulation. |
| Scene | Pointer to the simulation's scene data. |
| settings | Pointer to the simulation settings. |
| AT_Result | Saves the simulation at the pointer, returning a result enum value. |
|
Destroys an allocated AT_Simulation.
| simulation | Pointer to the simulation data. |
| void AT_simulation_destroy | ( | AT_Simulation * | simulation | ) |
Destroys an allocated AT_Simulation.
| simulation | Pointer to the simulation data. |
|
Starts the simulation.
| simulation | Pointer to the simulation. |
| AT_Result | A result enum value which must be checked for errors. |
| AT_Result AT_simulation_run | ( | AT_Simulation * | simulation | ) |
Starts the simulation.
| simulation | Pointer to the simulation. |
| AT_Result | A result enum value which must be checked for errors. |