![]() |
![]() |
![]() |
![]() |
DrawCursor2D
Synopsis
display an interactive cross-hair cursorNote: This object has superceded a previous version of an object with the same name. Please note that the older version's template is VIEW.Viewers.DrawCursor2D, and this version's template is GDM.Viewers.DrawCursor2D. The render_view input port present in the old template is no longer necessary when used with the new Uviewers.
V name
Input Ports
Output Ports
draw_cursor.GDdraw2D_cursor.out_mesh
Description
DrawCursor2D displays a 2D cross-hair cursor and translates the cursor's screen coordinates to a field. DrawCursor2D is a macro that combines the following: a UItwoPoint interactor GDdraw2d_cursor a user interface, which the user accesses through the Module Panel provided by the DataViewer or ModuleStack (as appropriate)
Input
An optional connection to an object. Without an object, DrawCursor2D converts the selected point to a field in the camera's coordinate system. With an object, DrawCursor2D converts the selected point to a field in the object's coordinate system.
Parameters
UItoggle. This parameter when set to 1 indicates that immediate mode is on. In immediate mode, DrawCursor2D translates the cursor's position to a field continually during the UItwoPoint interaction. When immed is set to 0, DrawCursor2D translates the cursor's position to a field only at the end of the UItwoPoint interaction.
Output Port
Example
Libraries.Examples.Graphics_Display.DrawCursor2D Libraries.Examples.Graphics_Display.ImageProbe
File
See also related modules
![]() |
![]() |
![]() |
![]() |