HALCON Reference Manual 10.0.2
Table of Contents / Graphics / Parameters ClassesClassesClasses | | | Operators

query_paintT_query_paintquery_paintQueryPaintQueryPaint (Operator)

Name

query_paintT_query_paintquery_paintQueryPaintQueryPaint — Query the gray value display modes.

Signature

query_paint( : : WindowHandle : Mode)

Herror T_query_paint(const Htuple WindowHandle, Htuple* Mode)

Herror query_paint(const HTuple& WindowHandle, HTuple* Mode)

HTuple HWindow::QueryPaint() const

void HOperatorSetX.QueryPaint(
[in] VARIANT WindowHandle, [out] VARIANT* Mode)

VARIANT HWindowX.QueryPaint()

static void HOperatorSet.QueryPaint(HTuple windowHandle, out HTuple mode)

HTuple HWindow.QueryPaint()

Description

query_paintquery_paintquery_paintQueryPaintQueryPaint returns the names of all gray value display modes (e.g. 'gray', '3d_plot', 'contourline', etc.) for the output window. These modes are used by set_paintset_paintset_paintSetPaintSetPaint. query_paintquery_paintquery_paintQueryPaintQueryPaint only returns the names of the display values, not the additional parameters that may be necessary for some modes.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Window_id.

ModeModeModeModemode (output_control)  string-array HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Gray value display mode names.

Result

query_paintquery_paintquery_paintQueryPaintQueryPaint returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Successors

get_paintget_paintget_paintGetPaintGetPaint, set_paintset_paintset_paintSetPaintSetPaint, disp_imagedisp_imagedisp_imageDispImageDispImage

See also

set_paintset_paintset_paintSetPaintSetPaint, get_paintget_paintget_paintGetPaintGetPaint, disp_imagedisp_imagedisp_imageDispImageDispImage

Module

Foundation


Table of Contents / Graphics / Parameters ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH