Skip to content

GraphicsπŸ”—

On this topicπŸ”—

3D SceneπŸ”—

add_scene_3d_cameraAddScene3dCamera: Add a camera to a 3D scene.

add_scene_3d_instanceAddScene3dInstance: Add an instance of a 3D object model to a 3D scene.

add_scene_3d_labelAddScene3dLabel: Add a text label to a 3D scene.

add_scene_3d_lightAddScene3dLight: Add a light source to a 3D scene.

clear_scene_3dClearScene3d: Delete a 3D scene and free all allocated memory.

create_scene_3dCreateScene3d: Create the data structure that is needed to visualize collections of 3D objects.

display_scene_3dDisplayScene3d: Display a 3D scene.

get_display_scene_3d_infoGetDisplayScene3dInfo: Get the depth or the index of instances in a displayed 3D scene.

remove_scene_3d_cameraRemoveScene3dCamera: Remove a camera from a 3D scene.

remove_scene_3d_instanceRemoveScene3dInstance: Remove an object instance from a 3D scene.

remove_scene_3d_labelRemoveScene3dLabel: Remove a text label from a 3D scene.

remove_scene_3d_lightRemoveScene3dLight: Remove a light from a 3D scene.

render_scene_3dRenderScene3d: Render an image of a 3D scene.

set_scene_3d_camera_poseSetScene3dCameraPose: Set the pose of a camera in a 3D scene.

set_scene_3d_instance_paramSetScene3dInstanceParam: Set parameters of an instance in a 3D scene.

set_scene_3d_instance_poseSetScene3dInstancePose: Set the pose of an instance in a 3D scene.

set_scene_3d_label_paramSetScene3dLabelParam: Set parameters of a text label in a 3D scene.

set_scene_3d_light_paramSetScene3dLightParam: Set parameters of a light in a 3D scene.

set_scene_3d_paramSetScene3dParam: Set parameters of a 3D scene.

set_scene_3d_to_world_poseSetScene3dToWorldPose: Set the pose of a 3D scene.

DrawingπŸ”—

drag_region1DragRegion1: Interactive moving of a region.

drag_region2DragRegion2: Interactive movement of a region with fixpoint specification.

drag_region3DragRegion3: Interactive movement of a region with restriction of positions.

draw_circleDrawCircle: Interactive drawing of a circle.

draw_circle_modDrawCircleMod: Interactive drawing of a circle.

draw_ellipseDrawEllipse: Interactive drawing of an ellipse.

draw_ellipse_modDrawEllipseMod: Interactive drawing of an ellipse.

draw_lineDrawLine: Draw a line.

draw_line_modDrawLineMod: Draw a line.

draw_nurbsDrawNurbs: Interactive drawing of a NURBS curve.

draw_nurbs_interpDrawNurbsInterp: Interactive drawing of a NURBS curve using interpolation.

draw_nurbs_interp_modDrawNurbsInterpMod: Interactive modification of a NURBS curve using interpolation.

draw_nurbs_modDrawNurbsMod: Interactive modification of a NURBS curve.

draw_pointDrawPoint: Draw a point.

draw_point_modDrawPointMod: Draw a point.

draw_polygonDrawPolygon: Interactive drawing of a polygon row.

draw_rectangle1DrawRectangle1: Draw a rectangle parallel to the coordinate axis.

draw_rectangle1_modDrawRectangle1Mod: Draw a rectangle parallel to the coordinate axis.

draw_rectangle2DrawRectangle2: Interactive drawing of any orientated rectangle.

draw_rectangle2_modDrawRectangle2Mod: Interactive drawing of any orientated rectangle.

draw_regionDrawRegion: Interactive drawing of a closed region.

draw_xldDrawXld: Interactive drawing of a contour.

draw_xld_modDrawXldMod: Interactive modification of a contour.

LUTπŸ”—

get_lutGetLut: Get current look-up-table (lut).

query_lutQueryLut: Query all available look-up-tables (lut).

set_lutSetLut: Set β€œlook-up-table” (lut).

MouseπŸ”—

get_mbuttonGetMbutton: Wait until a mouse button is pressed.

get_mbutton_sub_pixGetMbuttonSubPix: Wait until a mouse button is pressed and get the subpixel mouse position.

get_mpositionGetMposition: Query the mouse position.

get_mposition_sub_pixGetMpositionSubPix: Query the subpixel mouse position.

get_mshapeGetMshape: Query the current mouse pointer shape.

query_mshapeQueryMshape: Query all available mouse pointer shapes.

send_mouse_double_click_eventSendMouseDoubleClickEvent: Send an event to a buffer window signaling a mouse double click event.

send_mouse_down_eventSendMouseDownEvent: Send an event to a window buffer signaling a mouse down event.

send_mouse_drag_eventSendMouseDragEvent: Send an event to a buffer window signaling a mouse drag event.

send_mouse_up_eventSendMouseUpEvent: Send an event to a buffer window signaling a mouse up event.

set_mshapeSetMshape: Set the current mouse pointer shape.

ObjectπŸ”—

attach_background_to_windowAttachBackgroundToWindow: Attach a background image to a HALCON window.

attach_drawing_object_to_windowAttachDrawingObjectToWindow: Attach an existing drawing object to a HALCON window.

clear_drawing_objectClearDrawingObject: Delete drawing object.

create_drawing_object_circleCreateDrawingObjectCircle: Create a circle which can be modified interactively.

create_drawing_object_circle_sectorCreateDrawingObjectCircleSector: Create a circle sector which can be modified interactively.

create_drawing_object_ellipseCreateDrawingObjectEllipse: Create an ellipse which can be modified interactively.

create_drawing_object_ellipse_sectorCreateDrawingObjectEllipseSector: Create an elliptic sector which can be modified interactively.

create_drawing_object_lineCreateDrawingObjectLine: Create a line which can be modified interactively.

create_drawing_object_rectangle1CreateDrawingObjectRectangle1: Create a rectangle parallel to the coordinate axis which can be modified interactively.

create_drawing_object_rectangle2CreateDrawingObjectRectangle2: Create a rectangle of any orientation which can be modified interactively.

create_drawing_object_textCreateDrawingObjectText: Create a text object which can be moved interactively.

create_drawing_object_xldCreateDrawingObjectXld: Create a XLD contour which can be modified interactively.

detach_background_from_windowDetachBackgroundFromWindow: Detach the background image from a HALCON window.

detach_drawing_object_from_windowDetachDrawingObjectFromWindow: Detach an existing drawing object from a HALCON window.

get_drawing_object_iconicGetDrawingObjectIconic: Return the iconic object of a drawing object.

get_drawing_object_paramsGetDrawingObjectParams: Get the parameters of a drawing object.

get_window_background_imageGetWindowBackgroundImage: Gets a copy of the background image of the HALCON window.

set_content_update_callbackSetContentUpdateCallback: Sets the callback for content updates in buffer window.

set_drawing_object_callbackSetDrawingObjectCallback: Add a callback function to a drawing object.

set_drawing_object_paramsSetDrawingObjectParams: Set the parameters of a drawing object.

set_drawing_object_xldSetDrawingObjectXld: Set the contour of an interactive draw XLD.

OutputπŸ”—

disp_arcDispArc: Displays circular arcs in a window.

disp_arrowDispArrow: Displays arrows in a window.

disp_channelDispChannel: Displays images with several channels.

disp_circleDispCircle: Displays circles in a window.

disp_colorDispColor: Displays a color (RGB) image

disp_crossDispCross: Displays crosses in a window.

disp_ellipseDispEllipse: Displays ellipses.

disp_imageDispImage: Displays gray value images.

disp_lineDispLine: Draws lines in a window.

disp_objDispObj: Displays image objects (image, region, XLD).

disp_object_model_3dDispObjectModel3d: Display 3D object models.

disp_polygonDispPolygon: Displays a polyline.

disp_rectangle1DispRectangle1: Display of rectangles aligned to the coordinate axes.

disp_rectangle2DispRectangle2: Displays arbitrarily oriented rectangles.

disp_regionDispRegion: Displays regions in a window.

disp_xldDispXld: Display an XLD object.

ParametersπŸ”—

convert_coordinates_image_to_windowConvertCoordinatesImageToWindow: Convert image coordinates to window coordinates

convert_coordinates_window_to_imageConvertCoordinatesWindowToImage: Convert window coordinates to image coordinates

get_contour_styleGetContourStyle: Get the current contour display fill style.

get_drawGetDraw: Get the current region fill mode.

get_hsiGetHsi: Get the HSI coding of the current color.

get_iconGetIcon: Query the icon for region output

get_line_styleGetLineStyle: Get the current graphic mode for contours.

get_line_widthGetLineWidth: Get the current line width for contour display.

get_paintGetPaint: Get the current display mode for gray values.

get_partGetPart: Get the image part.

get_part_styleGetPartStyle: Get the current interpolation mode for gray value display.

get_rgbGetRgb: Get the current color in RGB-coding.

get_rgbaGetRgba: Get the current color in RGBA-coding.

get_shapeGetShape: Get the current region output shape.

get_window_paramGetWindowParam: Get window parameters.

query_all_colorsQueryAllColors: Query all color names.

query_colorQueryColor: Query all color names displayable in the window.

query_coloredQueryColored: Query the number of colors for color output.

query_grayQueryGray: Query the displayable gray values.

query_line_widthQueryLineWidth: Query the possible line widths.

query_paintQueryPaint: Query the gray value display modes.

query_shapeQueryShape: Query the region display modes.

set_colorSetColor: Set output color.

set_coloredSetColored: Set multiple output colors.

set_contour_styleSetContourStyle: Define the contour display fill style.

set_drawSetDraw: Define the region fill mode.

set_graySetGray: Define gray values for region output.

set_hsiSetHsi: Define output colors (HSI-coded).

set_iconSetIcon: Icon definition for region output.

set_line_styleSetLineStyle: Define a contour output pattern.

set_line_widthSetLineWidth: Define the line width for region contour output.

set_paintSetPaint: Define the gray value output mode.

set_partSetPart: Modify the displayed image part.

set_part_styleSetPartStyle: Define an interpolation method for gray value output.

set_rgbSetRgb: Set the color definition via RGB values.

set_rgbaSetRgba: Set the color definition via RGBA values.

set_shapeSetShape: Define the region output shape.

set_window_paramSetWindowParam: Set window parameters.

TextπŸ”—

disp_textDispText: Display text in a window.

get_fontGetFont: Get the current font.

get_font_extentsGetFontExtents: Get the maximum size of all characters of a font.

get_string_extentsGetStringExtents: Get the spatial size of a string.

get_tpositionGetTposition: Get cursor position.

new_lineNewLine: Set the position of the text cursor to the beginning of the next line.

query_fontQueryFont: Query the available fonts.

read_charReadChar: Read a character from a window.

read_stringReadString: Read a string in a text window.

set_fontSetFont: Set the font used for text output.

set_tpositionSetTposition: Set the position of the text cursor.

write_stringWriteString: Print text in a window.

WindowπŸ”—

clear_windowClearWindow: Delete the contents of an output window.

close_windowCloseWindow: Close an output window.

copy_rectangleCopyRectangle: Copy all pixels within rectangles between output windows.

dump_windowDumpWindow: Write the window content to a file.

dump_window_imageDumpWindowImage: Write the window content in an image object.

flush_bufferFlushBuffer: Flush the contents of a window.

get_disp_object_model_3d_infoGetDispObjectModel3dInfo: Get the depth or the index of a displayed 3D object model.

get_os_window_handleGetOsWindowHandle: Get the operating system window handle.

get_window_attrGetWindowAttr: Get window characteristics.

get_window_extentsGetWindowExtents: Information about a window’s size and position.

get_window_pointer3GetWindowPointer3: Access to a window’s pixel data.

get_window_typeGetWindowType: Get the window type.

new_extern_windowNewExternWindow: Create a virtual graphics window under Windows.

open_windowOpenWindow: Open a graphics window.

query_window_typeQueryWindowType: Query all available window types.

set_window_attrSetWindowAttr: Set window characteristics.

set_window_dcSetWindowDc: Set the device context of a virtual graphics window (Windows NT).

set_window_extentsSetWindowExtents: Modify position and size of a window.

set_window_typeSetWindowType: Specify a window type.

unproject_coordinatesUnprojectCoordinates: Calculates image coordinates for a point in a 3D plot window.

update_window_poseUpdateWindowPose: Modify the pose of a 3D plot.