query_all_colorsT_query_all_colorsQueryAllColorsQueryAllColorsquery_all_colors (算子名称)
名称
query_all_colorsT_query_all_colorsQueryAllColorsQueryAllColorsquery_all_colors — Query all color names.
参数签名
描述
query_all_colorsquery_all_colorsQueryAllColorsQueryAllColorsQueryAllColorsquery_all_colors 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_colorQueryColorQueryColorQueryColorquery_color). The HALCON colors
are used to display regions (disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region,
disp_polygondisp_polygonDispPolygonDispPolygonDispPolygondisp_polygon, disp_circledisp_circleDispCircleDispCircleDispCircledisp_circle, etc.). They can
be defined with set_colorset_colorSetColorSetColorSetColorset_color.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
ColorsColorsColorsColorscolorscolors (output_control) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Color names.
结果
query_all_colorsquery_all_colorsQueryAllColorsQueryAllColorsQueryAllColorsquery_all_colors always returns 2 (
H_MSG_TRUE)
可能的后置算子
set_systemset_systemSetSystemSetSystemSetSystemset_system,
set_colorset_colorSetColorSetColorSetColorset_color,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
参考其它
query_colorquery_colorQueryColorQueryColorQueryColorquery_color,
set_systemset_systemSetSystemSetSystemSetSystemset_system,
set_colorset_colorSetColorSetColorSetColorset_color,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region,
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
模块
Foundation