HALCON Reference Manual 10.0.2
Name
disp_crossdisp_crossdisp_crossDispCrossDispCross — Displays crosses in a window.
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)
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.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
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
Column coordinate of the center.
Default value: 32.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
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
Orientation.
Default value: 0.0
Suggested values: 0.0, 0.78539816339744830961566084581988
disp_crossdisp_crossdisp_crossDispCrossDispCross returns 2 (H_MSG_TRUE).
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
disp_arrowdisp_arrowdisp_arrowDispArrowDispArrow,
disp_rectangle1disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1,
disp_rectangle2disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2,
disp_circledisp_circledisp_circleDispCircleDispCircle
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
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |