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

disp_crossdisp_crossdisp_crossDispCrossDispCross (Operator)

Name

disp_crossdisp_crossdisp_crossDispCrossDispCross — Displays crosses in a window.

Signature

disp_cross( : : WindowHandle, Row, Column, Size, Angle : )

Herror disp_cross(const Hlong WindowHandle, double Row, double Column, double Size, double Angle)

Herror T_disp_cross(const Htuple WindowHandle, const Htuple Row, const Htuple Column, const Htuple Size, const Htuple Angle)

Herror disp_cross(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Size, const HTuple& Angle)

void HWindow::DispCross(const HTuple& Row, const HTuple& Column, const HTuple& Size, const HTuple& Angle) const

void HOperatorSetX.DispCross(
[in] VARIANT WindowHandle, [in] VARIANT Row, [in] VARIANT Column, [in] VARIANT Size, [in] VARIANT Angle)

void HWindowX.DispCross(
[in] VARIANT Row, [in] VARIANT Column, [in] double Size, [in] double Angle)

static void HOperatorSet.DispCross(HTuple windowHandle, HTuple row, HTuple column, HTuple size, HTuple angle)

void HWindow.DispCross(HTuple row, HTuple column, double size, double angle)

void HWindow.DispCross(double row, double column, double size, double angle)

Description

disp_crossdisp_crossdisp_crossDispCrossDispCross displays one or several crosses in the output window. A cross is described by the coordinates of the center point (RowRowRowRowrow,ColumnColumnColumnColumncolumn), the length of its bars SizeSizeSizeSizesize and the orientation AngleAngleAngleAngleangle. The operators used to control the display of regions (e.g. set_colorset_colorset_colorSetColorSetColor, set_grayset_grayset_graySetGraySetGray, set_drawset_drawset_drawSetDrawSetDraw, set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth) can also be used with crosses. Several crosses can be displayed with one call by using tuple parameters. For the use of colors with several crosses, see set_colorset_colorset_colorSetColorSetColor.

Parallelization

Parameters

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

Window identifier.

RowRowRowRowrow (input_control)  coordinates.y(-array) HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Row coordinate of the center.

Default value: 32.0

Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0

ColumnColumnColumnColumncolumn (input_control)  coordinates.x(-array) HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Column coordinate of the center.

Default value: 32.0

Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0

SizeSizeSizeSizesize (input_control)  number HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Length of the bars.

Default value: 6.0

Suggested values: 4.0, 6.0, 8.0, 10.0

Typical range of values: 0.0 ≤ Size Size Size Size size

AngleAngleAngleAngleangle (input_control)  angle.rad HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Orientation.

Default value: 0.0

Suggested values: 0.0, 0.78539816339744830961566084581988

Result

disp_crossdisp_crossdisp_crossDispCrossDispCross returns 2 (H_MSG_TRUE).

Possible Predecessors

open_windowopen_windowopen_windowOpenWindowOpenWindow, set_rgbset_rgbset_rgbSetRgbSetRgb, set_lutset_lutset_lutSetLutSetLut, set_hsiset_hsiset_hsiSetHsiSetHsi, set_drawset_drawset_drawSetDrawSetDraw, set_colorset_colorset_colorSetColorSetColor, set_coloredset_coloredset_coloredSetColoredSetColored, set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth

Alternatives

disp_arrowdisp_arrowdisp_arrowDispArrowDispArrow, disp_rectangle1disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1, disp_rectangle2disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2, disp_circledisp_circledisp_circleDispCircleDispCircle

See also

open_windowopen_windowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow, set_colorset_colorset_colorSetColorSetColor, set_rgbset_rgbset_rgbSetRgbSetRgb, set_hsiset_hsiset_hsiSetHsiSetHsi, set_insertset_insertset_insertSetInsertSetInsert, set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth

Module

Foundation


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