OptrisOptrisDocumentation

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

optris::sdk::rec::RaviImportOptions

How ImportRavi() converts.

Public attributes

norm_directory

std::string norm_directory

Where Norm-<n>.prn is. Empty, the default, uses the tables the SDK ships (beside the library in the NuGet package and the wheel, share/otcsdk/norm in a Linux installation, norm in the Windows one). Set it only to use other tables.

allow_short_wave

bool allow_short_wave = false

Convert a file whose verdict is RaviVerdict::kShortWave anyway, on the linear axis. Off by default; see the verdict for what is wrong then. A short-wave recording PIX Connect's split axis is built for converts without it.

clamp_to_range

bool clamp_to_range = false

Clamp temperatures to the camera's range plus 26 K either side, as PIX Connect does when it plays the file.

frame_limit

uint64_t frame_limit = 0

Convert only the first N frames. Zero converts all of them.

scan

bool scan = true

Read the file once before converting it, for the scene's temperature range. Off halves the work; the recording then carries no scene range.

per_frame_extras

bool per_frame_extras = true

Carry each frame's PIX Connect extras (the five-state shutter flag, NMEA position, process interface readings) in the frame records, where rec::Player hands them back.

progress

std::function< void(const RaviImportProgress &)> progress

Called after every frame of every pass, on the calling thread.

cancel

const std::atomic< bool > * cancel = nullptr

Set to true, from any thread, to stop. The import then returns with RaviImportResult::cancelled set and nothing at the destination. Must outlive the call.