EditPoint

Inserts an interactive point control into the spreadsheet. When the control is clicked, the display switches to Interactive Graphics Mode, where the position of the point can be adjusted.

Note: To access the Property Sheet for EditPoint, right-click the EditPoint control and select Edit Function.

EditPoint Inputs

Parameter Description
Image

This parameter must reference a spreadsheet cell that contains an Image data structure; by default, this parameter references A0, the cell containing the Image data structure returned by AcquireImage function. This parameter can also reference other Image data structures, such as those returned by the Vision Tool Image Functions or Coordinate Transforms Functions.

Fixture

Specifies the image coordinate system in which the input point is defined.

X

The x-offset of the origin, in fixture coordinates.

Y

The y-offset of the origin, in fixture coordinates.

Theta

The rotation from the image X axis, in the image coordinate system. (+/-360 degrees clockwise)

Move

Disables or enables the ability to adjust the input point position.

0 = OFF

The input point cannot be moved.

1 = ON (default)

The input point can be moved.

Name

Specifies a text label for the EditPoint control element in the spreadsheet.

Show

Specifies the display mode for the EditPoint graphics overlay on the image.

0 = hide all

The point will be hidden, except when the cell containing the EditPoint function is highlighted in the spreadsheet.

2 = input graphics only

The point will be displayed at all times.

EditPoint Outputs

Results

A result table will automatically be created in the cells adjacent to the right of the EditPoint control.

The following Structures Vision Data Access Functions are automatically inserted into the spreadsheet to create the result table:

X

GetX(Line)

The x-offset, in image coordinates.

Y

GetY(Line)

The y-offset, in image coordinates.