OptrisOptrisDocumentation

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

optris::sdk::ColorScaleHoldState

What a colour scale with a close hold remembers between frames: how long each end has been waiting to close.

The hold itself is a setting, Imager::SetColorScaleCloseHold() and the same call on Player and StillSource. This is the bookkeeping behind it, kept beside a ColorScaleFilter by whoever owns the filter and handed to the ColorScaleFilter::Apply() overload that takes a hold. Only that call reads or writes it, under the filter's own lock, so one of these belongs to exactly one filter.

It is a separate object rather than state inside ColorScaleFilter or a member of ColorScaleDynamics because both of those are published types whose size an existing program has compiled in, and a 12.0 release adds without changing what is already there.

Public functions

ColorScaleHoldState

ColorScaleHoldState()=default

Nothing waited yet.