HALCON Reference Manual 10.0.2
Name
draw_point_moddraw_point_moddraw_point_modDrawPointModDrawPointMod — Draw a point.
draw_point_moddraw_point_moddraw_point_modDrawPointModDrawPointMod returns the parameter for a point, which has been
created interactively by the user in the window.
To create a point are expected the coordinates RowInRowInRowInRowInrowIn and
ColumnInColumnInColumnInColumnIncolumnIn.
While keeping the button pressed you may “drag” the point in any direction.
Pressing the right mousebutton terminates the procedure.
After terminating the procedure the point is not visible in the window any longer.
- 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.
Column index of the point.
RowRowRowRowrow (output_control) point.y → HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)
Row index of the point.
Column index of the point.
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
get_system("width",Width) ;
get_system("height",Height) ;
set_part(WindowHandle,0,0,Width-1,Height-1) ;
read_image(&Image,"monkey") ;
disp_image(Image,WindowHandle) ;
draw_point_mod(WindowHandle,Height/2,Width/2,&Row1,&Column1) ;
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1) ;
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2) ;
disp_image(Image,WindowHandle) ;
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
get_system('width',Width)
get_system('height',Height)
set_part(WindowHandle,0,0,Width-1,Height-1)
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_point_mod(WindowHandle,Height/2,Width/2,Row1,Column1)
disp_line(WindowHandle,Row1-2,Column1,Row1+2,Column1)
disp_line(WindowHandle,Row1,Column1-2,Row1,Column1+2)
disp_image(Image,WindowHandle)
draw_point_moddraw_point_moddraw_point_modDrawPointModDrawPointMod returns 2 (H_MSG_TRUE), if the window is valid and the
needed drawing mode is available.
If necessary, an exception is raised.
open_windowopen_windowopen_windowOpenWindowOpenWindow
reduce_domainreduce_domainreduce_domainReduceDomainReduceDomain,
disp_linedisp_linedisp_lineDispLineDispLine,
set_coloredset_coloredset_coloredSetColoredSetColored,
set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth,
set_drawset_drawset_drawSetDrawSetDraw,
set_insertset_insertset_insertSetInsertSetInsert
draw_pointdraw_pointdraw_pointDrawPointDrawPoint,
draw_circledraw_circledraw_circleDrawCircleDrawCircle,
draw_ellipsedraw_ellipsedraw_ellipseDrawEllipseDrawEllipse,
set_insertset_insertset_insertSetInsertSetInsert
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |