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

dump_window_imagedump_window_imagedump_window_imageDumpWindowImageDumpWindowImage (Operator)

Name

dump_window_imagedump_window_imagedump_window_imageDumpWindowImageDumpWindowImage — Write the window content in an image object.

Signature

dump_window_image( : Image : WindowHandle : )

Herror dump_window_image(Hobject* Image, const Hlong WindowHandle)

Herror T_dump_window_image(Hobject* Image, const Htuple WindowHandle)

Herror dump_window_image(Hobject* Image, const HTuple& WindowHandle)

HImage HWindow::DumpWindowImage() const

void HOperatorSetX.DumpWindowImage(
[out] IHUntypedObjectX*Image, [in] VARIANT WindowHandle)

void HImageX.DumpWindowImage([in] IHWindowX* WindowHandle)

IHImageX* HWindowX.DumpWindowImage()

static void HOperatorSet.DumpWindowImage(out HObject image, HTuple windowHandle)

void HImage.DumpWindowImage(HWindow windowHandle)

HImage HWindow.DumpWindowImage()

Description

dump_window_imagedump_window_imagedump_window_imageDumpWindowImageDumpWindowImage writes the content of the graphics window (WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle) in an image (ImageImageImageImageimage). To transform gray values the current color table of the window is used, i.e., the values of set_lut_styleset_lut_styleset_lut_styleSetLutStyleSetLutStyle remain unconsidered.

Attention

Under UNIX, the graphics window must be completely visible on the root window, because otherwise the contents of the window cannot be read due to limitations in X Windows.

Parallelization

Parameters

ImageImageImageImageimage (output_object)  image objectHImageHImageHImageXHobject * (byte)

Saved image.

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

Window identifier.

Result

If the window is valid dump_window_imagedump_window_imagedump_window_imageDumpWindowImageDumpWindowImage returns 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

open_windowopen_windowopen_windowOpenWindowOpenWindow, set_drawset_drawset_drawSetDrawSetDraw, set_colorset_colorset_colorSetColorSetColor, set_coloredset_coloredset_coloredSetColoredSetColored, set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth, open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow, disp_regiondisp_regiondisp_regionDispRegionDispRegion

See also

open_windowopen_windowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow, set_systemset_systemset_systemSetSystemSetSystem, dump_windowdump_windowdump_windowDumpWindowDumpWindow

Module

Foundation


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