Centerx property – Epson 5 User Manual
Page 48
CenterX Property
CenterX Property
Applies To
Vision Objects: Polar
Description
Specifies the X Coordinate position to be used as the center point for the Polar object.
Usage
VGet Sequence.Object.CenterX, var
VSet Sequence.Object.CenterX, value
Sequence Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var
Real variable that will contain the value of the property.
value
Real expression for the new value of the property.
Values
Real number from 0 – (video width in pixels – 1). However, we must take into account the value of the
Radius property for the Polar object since the center of the Polar object cannot be at the edge of the
Camera's field of view. Therefore, the actual range is:
(0 + Radius) - (Max Camera X Resolution – Radius – 1)
For example, an image resolution of (640x480) and a 16 pixel radius gives a range of 16 - 623.
Default: X coordinate screen position of the center of the Polar object
Remarks
This property is filled in automatically when the CenterPointObject property for a Polar object is set to
another vision object. However, if the CenterPointObject property for a Polar object is set to Screen, then
the user may set the CenterX property to position the Polar object.
The user may also set the CenterPointObject property for a Polar object automatically by physically
dragging the Polar object to a new position on the screen. When this drag operation is done, the CenterX
property is automatically updated with the new CenterX position of the Polar object.
See Also
CenterY Property, CenterPoint Property, Object Tab, Polar Object
34
Vision Guide 5.0 Reference (Ver.5.3) Rev.1