OptrisOptrisDocumentation

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

optris::sdk::Orientation

Rotation plus mirror, applied to the thermal data at the end of the radiometric pipeline.

imager->SetOrientation({.rotation_deg = 90.0F});
// 640x480 now reports 480x640, and every region, statistic and
// recorded frame follows.

Public attributes

rotation_deg

float rotation_deg = 0.0F

Degrees clockwise. Must be 0, 90, 180 or 270, see the note on arbitrary angles at the top of this file. Negative and over-wound values are folded, so -90 and 450 are accepted spellings of 270 and 90.

mirror

Mirror mirror = Mirror::kNone

resampling

Resampling resampling = Resampling::kNearest

Friends

operator==

auto operator==(const Orientation &a, const Orientation &b) -> bool

operator!=

auto operator!=(const Orientation &a, const Orientation &b) -> bool