query_all_colorsT_query_all_colorsQueryAllColorsQueryAllColors (Operator)
Name
query_all_colorsT_query_all_colorsQueryAllColorsQueryAllColors
— Query all color names.
Signature
Description
query_all_colorsquery_all_colorsQueryAllColorsQueryAllColorsQueryAllColors
returns the names of all colors that
are known to HALCON. That doesn't mean that these colors are
available for specific screens. On some screens there may only be a
subset of colors available (see query_colorquery_colorQueryColorQueryColorQueryColor
). The HALCON colors
are used to display regions (disp_regiondisp_regionDispRegionDispRegionDispRegion
,
disp_polygondisp_polygonDispPolygonDispPolygonDispPolygon
, disp_circledisp_circleDispCircleDispCircleDispCircle
, etc.). They can
be defined with set_colorset_colorSetColorSetColorSetColor
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle
(input_control) window →
HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
ColorsColorsColorsColorscolors
(output_control) string-array →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Color names.
Result
query_all_colorsquery_all_colorsQueryAllColorsQueryAllColorsQueryAllColors
always returns 2 (H_MSG_TRUE)
Possible Successors
set_systemset_systemSetSystemSetSystemSetSystem
,
set_colorset_colorSetColorSetColorSetColor
,
disp_regiondisp_regionDispRegionDispRegionDispRegion
See also
query_colorquery_colorQueryColorQueryColorQueryColor
,
set_systemset_systemSetSystemSetSystemSetSystem
,
set_colorset_colorSetColorSetColorSetColor
,
disp_regiondisp_regionDispRegionDispRegionDispRegion
,
open_windowopen_windowOpenWindowOpenWindowOpenWindow
Module
Foundation