OptrisOptrisDocumentation

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

optris::sdk::rec::SnapshotMetadata

Deprecated

Use SnapshotInfo, which distinguishes an unrecorded value from a recorded zero. This struct's defaults could not: an emissivity of 1.0 here meant both "one" and "never set".

Converts implicitly, so existing three-argument calls keep compiling. The files are a clean break by design: the same call now produces a self-describing, absolute-zero-anchored image instead of a bare T * 10 + 1000 greyscale.

ambient_temp_c is in the SDK's temperature unit, as SnapshotInfo's is. Its default of 23 is a compile-time Celsius number, so a Fahrenheit program sets it.

Public attributes

emissivity

float emissivity = 1.0f

Surface emissivity, 0..1.

transmissivity

float transmissivity = 1.0f

Path transmissivity, 0..1.

ambient_temp_c

float ambient_temp_c = 23.0f

Ambient temperature.

device_model

std::string device_model

e.g. "Xi 400".

device_serial

std::string device_serial

e.g. "24120005".

description

std::string description

Free text.

Public functions

operator SnapshotInfo

operator SnapshotInfo() const

Converts to the type that replaced this one, so a three-argument call keeps compiling.