HALCON Reference Manual 10.0.2
Name
disp_arrowdisp_arrowdisp_arrowDispArrowDispArrow — Displays arrows in a window.
Herror disp_arrow(const Hlong WindowHandle, double Row1, double Column1, double Row2, double Column2, double Size)
Herror T_disp_arrow(const Htuple WindowHandle, const Htuple Row1, const Htuple Column1, const Htuple Row2, const Htuple Column2, const Htuple Size)
static void HOperatorSet.DispArrow(HTuple windowHandle, HTuple row1, HTuple column1, HTuple row2, HTuple column2, HTuple size)
void HWindow.DispArrow(HTuple row1, HTuple column1, HTuple row2, HTuple column2, HTuple size)
void HWindow.DispArrow(double row1, double column1, double row2, double column2, double size)
disp_arrowdisp_arrowdisp_arrowDispArrowDispArrow displays one or several arrows in the output
window. An arrow is described by the coordinates of the start
(Row1Row1Row1Row1row1,Column1Column1Column1Column1column1) and the end
(Row2Row2Row2Row2row2,Column2Column2Column2Column2column2). An arrowhead is displayed at the end
of the arrow. The size of the arrowhead is specified by the parameter
SizeSizeSizeSizesize. If the arrow consists of just one point (start = end)
nothing is displayed. The operators used to control the display of regions
(e.g. set_drawset_drawset_drawSetDrawSetDraw, set_colorset_colorset_colorSetColorSetColor,
set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth) can also be used with arrows. Several arrows
can be displayed with one call by using tuple parameters. For the use of
colors with several arcs, see set_colorset_colorset_colorSetColorSetColor.
The start and the end of the arrows must fall within the window.
- 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.
Row1Row1Row1Row1row1 (input_control) line.begin.y(-array) → HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)
Row index of the start.
Default value: 10.0
Suggested values: 0.0, 64.0, 128.0, 256.0
Typical range of values: 0.0
≤
Row1
Row1
Row1
Row1
row1
≤
511.0 (lin)
Minimum increment: 1.0
Recommended increment: 1.0
Column index of the start.
Default value: 10.0
Suggested values: 0.0, 64.0, 128.0, 256.0
Typical range of values: 0.0
≤
Column1
Column1
Column1
Column1
column1
≤
511.0 (lin)
Minimum increment: 1.0
Recommended increment: 1.0
Row2Row2Row2Row2row2 (input_control) line.end.y(-array) → HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)
Row index of the end.
Default value: 118.0
Suggested values: 0.0, 64.0, 128.0, 256.0
Typical range of values: 0.0
≤
Row2
Row2
Row2
Row2
row2
≤
511.0 (lin)
Minimum increment: 1.0
Recommended increment: 1.0
Column index of the end.
Default value: 118.0
Suggested values: 0.0, 64.0, 128.0, 256.0
Typical range of values: 0.0
≤
Column2
Column2
Column2
Column2
column2
≤
511.0 (lin)
Minimum increment: 1.0
Recommended increment: 1.0
SizeSizeSizeSizesize (input_control) number → HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)
Size of the arrowhead.
Default value: 1.0
Suggested values: 1.0, 2.0, 3.0, 5.0
Typical range of values: 0.0
≤
Size
Size
Size
Size
size
≤
20.0 (lin)
Minimum increment: 1.0
Recommended increment: 1.0
Restriction: Size > 0.0
set_color(WindowHandle,['red','green'])
disp_arrow(WindowHandle,[10,10],[10,10],[118,110],[118,118],1.0)
set_colored(WindowHandle,3) ;
disp_arrow(WindowHandle,10,10,118,118,1.0);
set_color(WindowHandle,['red','green'])
disp_arrow(WindowHandle,[10,10],[10,10],[118,110],[118,118],1.0)
set_color(WindowHandle,['red','green'])
disp_arrow(WindowHandle,[10,10],[10,10],[118,110],[118,118],1.0)
set_color(WindowHandle,['red','green'])
disp_arrow(WindowHandle,[10,10],[10,10],[118,110],[118,118],1.0)
disp_arrowdisp_arrowdisp_arrowDispArrowDispArrow returns 2 (H_MSG_TRUE).
open_windowopen_windowopen_windowOpenWindowOpenWindow,
set_drawset_drawset_drawSetDrawSetDraw,
set_colorset_colorset_colorSetColorSetColor,
set_coloredset_coloredset_coloredSetColoredSetColored,
set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth,
set_rgbset_rgbset_rgbSetRgbSetRgb,
set_hsiset_hsiset_hsiSetHsiSetHsi
disp_linedisp_linedisp_lineDispLineDispLine,
gen_region_polygongen_region_polygongen_region_polygonGenRegionPolygonGenRegionPolygon,
disp_regiondisp_regiondisp_regionDispRegionDispRegion
open_windowopen_windowopen_windowOpenWindowOpenWindow,
open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow,
set_colorset_colorset_colorSetColorSetColor,
set_drawset_drawset_drawSetDrawSetDraw,
set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |