ClassesClassesClassesClasses | | | | Operators

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

dev_displaydev_displayDevDisplaydev_displayDevDisplayDevDisplay (Operator)

Name

dev_displaydev_displayDevDisplaydev_displayDevDisplayDevDisplay — Displays image objects in the current graphics window.

Signature

dev_display(Object : : : )

Herror dev_display(const Hobject Object)

Herror T_dev_display(const Hobject Object)

Herror dev_display(Hobject Object)

void HWindow::DevDisplay(const HObjectArray& Object) const

void DevDisplay(const HObject& Object)

static void HWindow::DevDisplay(const HObject& Object)

void HOperatorSetX.DevDisplay([in] IHUntypedObjectX* Object)

void HWindowX.DevDisplay([in] IHObjectX* Object)

static void HOperatorSet.DevDisplay(HObject objectVal)

static void HWindow.DevDisplay(HObject objectVal)

Description

dev_displaydev_displayDevDisplaydev_displayDevDisplayDevDisplay displays an iconic object (image, region, or XLD) in the active graphics window. This is equivalent to a double click on an icon variable inside the variable window.

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

ObjectObjectObjectObjectObjectobjectVal (input_object)  object(-array) objectHObjectHObjectHObjectHObjectXHobject

Image objects to be displayed.

Example (HDevelop)

read_image (Image, 'fabrik')
regiongrowing (Image, Regions, 3, 3, 6, 100)
dev_clear_window ()
dev_display (Image)
dev_set_colored (12)
dev_set_draw ('margin')
dev_display (Regions)

Result

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

Alternatives

disp_objdisp_objDispObjdisp_objDispObjDispObj, disp_imagedisp_imageDispImagedisp_imageDispImageDispImage, disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion, disp_xlddisp_xldDispXlddisp_xldDispXldDispXld

See also

dev_set_colordev_set_colorDevSetColordev_set_colorDevSetColorDevSetColor, dev_set_coloreddev_set_coloredDevSetColoreddev_set_coloredDevSetColoredDevSetColored, dev_set_drawdev_set_drawDevSetDrawdev_set_drawDevSetDrawDevSetDraw, dev_set_line_widthdev_set_line_widthDevSetLineWidthdev_set_line_widthDevSetLineWidthDevSetLineWidth

Module

Foundation


ClassesClassesClassesClasses | | | | Operators