HALCON Reference Manual 10.0.2
Table of Contents / Develop ClassesClassesClasses | | | Operators

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

dev_set_paintT_dev_set_paintdev_set_paintDevSetPaintDevSetPaint (Operator)

Name

dev_set_paintT_dev_set_paintdev_set_paintDevSetPaintDevSetPaint — Define the grayvalue output mode.

Signature

dev_set_paint( : : Mode : )

Herror T_dev_set_paint(const Htuple Mode)

Herror dev_set_paint(const HTuple& Mode)

void HWindow::DevSetPaint(const HTuple& Mode) const

void HOperatorSetX.DevSetPaint([in] VARIANT Mode)

void HWindowX.DevSetPaint([in] VARIANT Mode)

static void HOperatorSet.DevSetPaint(HTuple mode)

static void HWindow.DevSetPaint(HTuple mode)

Description

dev_set_paintdev_set_paintdev_set_paintDevSetPaintDevSetPaint defines the output mode that is used for displaying image objects in the graphics window.

For a detailed description of all possible options see set_paintset_paintset_paintSetPaintSetPaint. However, in contrast to that operator the display mode is also used for all new graphics windows that are opened afterwards.

Attention

Using the code export feature of HDevelop, the code that is generated for this operator may have a different behavior than the related HALCON operator. For a detailed description of the code export of HDevelop graphics operators into the different programming languages see in the “HDevelop User's Guide” the chapter Code Export -> General Aspects of Code Generation -> Graphics Windows.

Parameters

ModeModeModeModemode (input_control)  string-array HTupleHTupleVARIANTHtuple (string / integer) (string / int / long) (char* / Hlong) (BSTR / Hlong) (char* / Hlong)

Grayvalue output name. Additional parameters possible.

Default value: 'default' "default" "default" "default" "default"

Suggested values: 'default'"default""default""default""default", 'histogram'"histogram""histogram""histogram""histogram", 'row'"row""row""row""row", 'column'"column""column""column""column", 'contourline'"contourline""contourline""contourline""contourline", '3d_plot'"3d_plot""3d_plot""3d_plot""3d_plot", '3d_plot_lines'"3d_plot_lines""3d_plot_lines""3d_plot_lines""3d_plot_lines", '3d_plot_hidden_lines'"3d_plot_hidden_lines""3d_plot_hidden_lines""3d_plot_hidden_lines""3d_plot_hidden_lines", '3d_plot_point'"3d_plot_point""3d_plot_point""3d_plot_point""3d_plot_point"

Example (HDevelop)

read_image(Image,'fabrik')
dev_set_paint('3D-plot')
dev_display(Image)

Result

If the values of the specified parameters are correct dev_set_paintdev_set_paintdev_set_paintDevSetPaintDevSetPaint returns 2 (H_MSG_TRUE). Otherwise an exception is raised and an error code returned.

Possible Predecessors

dev_open_windowdev_open_windowdev_open_windowDevOpenWindowDevOpenWindow

Possible Successors

dev_set_colordev_set_colordev_set_colorDevSetColorDevSetColor, dev_displaydev_displaydev_displayDevDisplayDevDisplay

See also

set_paintset_paintset_paintSetPaintSetPaint

Module

Foundation


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