OptrisOptrisDocumentation

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

optris::sdk::view::LabelConfig

Controls how ROI temperature labels are rendered on the RGBA output.

Public attributes

show_labels

bool show_labels = true

show_max_temp

bool show_max_temp = true

show_min_temp

bool show_min_temp = false

show_avg_temp

bool show_avg_temp = false

font_size

float font_size = 20.0F

text_color

std::array< float, 4 > text_color = {1.0F, 1.0F, 1.0F, 1.0F}

bg_color

std::array< float, 4 > bg_color = {0.0F, 0.0F, 0.0F, 0.7F}

Semi-transparent background behind the text for readability.

bg_padding

float bg_padding = 4.0F