SCATMECH > Classes and Functions >
Surface Scattering Models
> Two_Source_BRDF_Model
class Two_Source_BRDF_Model
The class Two_Source_BRDF_Model provides a
means for adding two different scattering sources. Any
number of sources can be effectively added by daisy
chaining multiple Two_Source_BRDF_Models.
Parameters:
Parameter |
Data
Type |
Description |
Default |
lambda |
double |
Wavelength of the light
in vacuum [µm].
(Inherited from BRDF_Model).
Note: This parameter overrides the same parameter in
each of the two sources. |
0.532 |
type |
int |
Indicates whether the light is incident from above the
substrate or from within the substrate and whether the
scattering is evaluated in reflection or transmission.
The choices are:
0 : Light is incident from the above the substrate, and scattering is evaluated in reflection.
1 : Light is incident from the above the substrate, and scattering is evaluated in transmission.
2 : Light is incident from the within the substrate, and scattering is evaluated in reflection.
3 : Light is incident from the within the substrate, and scattering is evaluated in transmission.
For 1, 2, and 3, the substrate must be non-absorbing.
Two_Source_BRDF_Model supports any types supported by both source1 and source2.
(Inherited from BRDF_Model). |
0 |
substrate |
dielectric_function |
The
optical constants of the substrate, expressed as a
complex number (n,k) or, optionally, as a function of
wavelength.
(Inherited from BRDF_Model).
Note: This parameter overrides the same parameter in
each of the two sources. |
(4.05,0.05) |
factor1 |
double |
The intensity scaling factor for the first scattering model. |
1 |
source1 |
BRDF_Model_Ptr |
The first
scattering model.
Note: The parameters lambda, type, and substrate must match those of source1. |
Microroughness_BRDF_Model |
factor2 |
double |
The intensity scaling factor for the second scattering model. |
1 |
source2 |
BRDF_Model_Ptr |
The second scattering model.
Note: The parameters lambda, type, and substrate must match those of source2. |
Microroughness_BRDF_Model |
correlation |
double |
The
correlation between the two scattering sources. The
correlation can be any value from -1 to 1. If this
value is zero (0), then the sources are added as
intensities, corresponding to incoherent sources. If
this value is one (1), then the sources are added as
fields, corresponding to coherent sources.
Note: A non-zero correlation should not be used with
any models that depolarize light, or that do not have a
well-defined relative phase associated with
them. |
0 |
See also:
SCATMECH Home,
Conventions,
BRDF_Model,
Three_Source_BRDF_Model,
Four_Source_BRDF_Model
Include file:
#include "two_source.h"
Source code:
two_source.cpp
Top of Page
For More Information
SCATMECH Technical Information and Questions
Sensor Science Division Home Page
Sensor Science Division Inquiries
Website Comments
Current SCATMECH version: 7.22 (April 2021)
|