OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C API referencev12.0

optris_sdk_radiation_sources

Which of the radiation parameters in force are the application's own, and which a process-interface input is driving.

optris_sdk_imager_get_radiation() reads the parameters back from the engine rather than echoing what was set, so a value a PIF input supplied comes back from it and is indistinguishable from one the application chose. This is what tells them apart.

Separate from optris_sdk_radiation_config, and deliberately so. That struct is the argument to optris_sdk_imager_set_radiation() as well as the result of the getter, and a source is not a thing a caller can set -- a read-only field inside a settable struct is a field somebody writes, which would leave the setter either ignoring it or refusing it.

Only the two parameters a PIF can drive are here. There is no transmissivity because no PIF channel kind decodes to one; a field hardcoded to OPTRIS_SDK_RADIATION_SOURCE_SDK that could never hold anything else is not information.

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_radiation_sources).

emissivity

optris_sdk_radiation_parameter_source emissivity

Where the emissivity in force came from.

ambient_temp

optris_sdk_radiation_parameter_source ambient_temp

Where the ambient temperature in force came from.

A PIF ambient channel takes effect regardless of optris_sdk_radiation_config::estimate_ambient and clears it as a side effect, so a configuration that asked the camera to estimate the ambient quietly stops doing so once such a channel is configured. This field says the channel is driving it; it does not say what happened to the estimate flag -- read that back with optris_sdk_imager_get_radiation().