Models a simple volume reverberation layer with constant depth and thickness.
volume_flat | ( | double | depth = 0.0 , |
|
double | thickness = 0.0 , |
|||
double | amplitude = -300.0 | |||
) | [inline] |
Initialize depth and reflection loss components for a boundary.
depth | Depth of layer relative to mean sea level. | |
thickness | Height of the layer from the bottom to the top. | |
amplitude | Reverberation scattering strength ratio. |
volume_flat | ( | double | depth, | |
double | thickness, | |||
scattering_model * | scattering | |||
) | [inline] |
Initialize depth and reflection loss components for a boundary.
depth | Depth of layer relative to mean sea level. | |
thickness | Height of the layer from the bottom to the top. | |
scattering | Reverberation scattering strength model. |
virtual void depth | ( | const wposition1 & | location, | |
double * | rho, | |||
double * | thickness = NULL | |||
) | [inline, virtual] |
Compute the depth of the layer and it's thickness at a single location.
Often used to process the reverberation for individual collisions with volume scattering layer.
location | Location at which to compute boundary. | |
rho | Depth of layer center in spherical earth coords (output). | |
thickness | Layer thickness (output). |
Implements volume_model.
virtual void depth | ( | const wposition & | location, | |
matrix< double > * | rho, | |||
matrix< double > * | thickness = NULL | |||
) | [inline, virtual] |
Compute the depth of the layer and it's thickness at a series of locations.
Often used to detect collisions between ray paths and the volume scattering layer.
location | Location at which to compute boundary. | |
rho | Depth of layer center in spherical earth coords (output). | |
thickness | Layer thickness (output). |
Implements volume_model.
const double _rho [private] |
Depth of layer relative to center of earth.
(m)
const double _thickness [private] |
Height of the layer from the bottom to the top.
(m)