public final class RadiativeProperty extends Object implements IPartProperty, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ABSORPTION_COEFFICIENT
Parameter name for absorption coefficient.
|
static String |
DIFFUSION_COEFFICIENT
Parameter name for diffusion coefficient.
|
static String |
SPECULAR_COEFFICIENT
Parameter name for reflection coefficient.
|
Constructor and Description |
---|
RadiativeProperty(double ka,
double ks,
double kd)
Constructor of this property.
|
RadiativeProperty(Parameter ka,
Parameter ks,
Parameter kd)
Constructor of this property using
Parameter . |
Modifier and Type | Method and Description |
---|---|
Parameter |
getAbsorptionRatio()
Get the parameter representing the ratio of light absorbed: Ka = α.
|
Parameter |
getDiffuseReflectionRatio()
Get the parameter representing the ratio of light subjected to diffuse reflectance : Kd = (1
- α) (1 - τ).
|
Parameter |
getSpecularReflectionRatio()
Get the parameter representing the ratio of light subjected to specular reflectance : Ks = (1
- α) τ.
|
PropertyType |
getType()
Get the type of the property.
|
public static final String ABSORPTION_COEFFICIENT
public static final String SPECULAR_COEFFICIENT
public static final String DIFFUSION_COEFFICIENT
public RadiativeProperty(double ka, double ks, double kd)
ka
- The ratio ka of light absorbed of the part (between 0 and 1).ks
- The ratio ks of light undergoing specular reflectance (between 0 and 1).kd
- The ratio kd of light undergoing diffuse reflectance (between 0 and 1).public RadiativeProperty(Parameter ka, Parameter ks, Parameter kd)
Parameter
.ka
- The parameter representing the ratio ka of light absorbed of the part (between 0
and 1).ks
- The parameter representing the ratio ks of light undergoing specular reflectance
(between 0 and 1).kd
- The parameter representing the ratio kd of light undergoing diffuse reflectance
(between 0 and 1).public Parameter getAbsorptionRatio()
public Parameter getSpecularReflectionRatio()
public Parameter getDiffuseReflectionRatio()
public PropertyType getType()
getType
in interface IPartProperty
Copyright © 2021 CNES. All rights reserved.