ColorWindows
class optris_sdk.isotherms.ColorWindows
The colour windows on one camera: camera.color_windows.
ColorWindows — properties
supported
Whether this source draws colour windows at all.
False on a source with no colour pipeline behind it. Ask before
offering the feature in a user interface: set on a
source that cannot draw them refuses rather than accepting a
band nobody will see.
ColorWindows — methods
set(window_id, window)
Install or replace the band at window_id.
window_id is yours to choose and is also the compositing
order: a higher id draws over a lower one. The id past
MAX_COLOR_WINDOWS is refused rather than accepted and
not drawn.
remove(window_id)
Take one band away.
An unknown id is not an error -- it succeeds, having
removed nothing. The ABI's own call reports no such thing, and
inventing a refusal here would be this layer disagreeing with
every other binding over the same call. Read read if
you need to know what is installed.
clear()
Take every band away.
read()
Every installed band, as ColorWindowEntry, by id.
Ascending id, which is also the order they composite in.
colors(window_id)
One band's own colour ramp, coldest first.
An empty list for a band drawn with a palette rather than with a table of its own.