OptrisOptrisDocumentation

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

optris::sdk::StillOpenOptions

How StillSource::Open() and StillSource::OpenFromMemory() open a still. A default-constructed one opens it exactly as the overloads without options do.

Note: Since 12.0.42.

Public attributes

install_regions

bool install_regions = false

Install the measuring areas the still records as regions, measuring, as a replay restores the regions its recording was made with. Alarm rules are not part of the record; add them after opening.

A still saved by this SDK records the regions in force when it was saved (since 12.0.42); one an application wrote records what it put in rec::SnapshotInfo::rois. Each comes back with the id the file gives it, so GetMetadata().rois and Regions() name the same region the same way, and it measures what the region it was saved from measured: the same geometry, aperture, spot search, threshold and emissivity.

A record whose shape this build does not know is skipped, with a warning in the log naming it, and the still opens with the rest: that is the schema's rule for readers. Off by default, so a program that opened a still before this existed sees no regions on it, as before.