These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.
optris::RadiationParameters
Holds the radiation parameters for a frame or a measurement field.
Public attributes
emissivity
float emissivity = 1.F
Emissivity. Its value will be limited to [0.01, 1.1].
transmissivity
float transmissivity = 1.F
Transmissivity. Its value will be limited to [0.01, 1.1].
ambientTemperature
float ambientTemperature = INVALID_TEMPERATURE
Ambient temperature in °C. For an automated estimation of this temperature see estimateAmbientTemperature.
See also: estimateAmbientTemperature
estimateAmbientTemperature
bool estimateAmbientTemperature = true
Estimate the ambient temperature.
Attention: This flag will have no effect if a source other than the SDK is used to determine the ambient temperature value (for example a process interface). If set to true - the ambient temperature will be estimated from internal temperature probe readings - the ambient temperature estimate will be updated, if the probe readings change significantly. - the value of ambientTemperature will be ignored. If set to false - the value of ambientTemperature will be applied. - the value of ambientTemperature will not be updated.
Public static functions
validate
static OTC_SDK_API void validate(RadiationParameters &radiation) noexcept
Validates the radiation parameters. Clamps emissivity and transmissivity values to [0.01, 1.1]. If ambientTemperature is less than or equal to INVALID_TEMPERATURE, estimateAmbientTemperature will be set to true.
Parameters
| Name | Description |
|---|---|
radiation |
parameters to validate. |
validate
static OTC_SDK_API void validate(float ¶meter) noexcept
Validates emissivity and transmissivity parameter values. Clamps the parameter value to [0.01, 1.1].
Parameters
| Name | Description |
|---|---|
parameter |
to validate. |