CogPMRedLinePattern Origin Property Cognex VisionPro 9.8
Gets or sets a six degree of freedom (DOF) origin for the pattern. This linear transform maps points from "Pattern Space" to the selected space of the train image.

Namespace: Cognex.VisionPro.PMRedLine
Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 75.1.0.0
Syntax

public CogTransform2DLinear Origin { get; set; }

Property Value

Type: CogTransform2DLinear
The CogTransform2DLinear containing the pose of the origin on the training image. Default value is an identity transform.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ArgumentNullException The supplied value is null.
Remarks

The position of the pattern origin is reported by the TranslationX and TranslationY properties of the transform.

The angle of the pattern origin is reported by the Rotation property of the transform.

The scale of the pattern origin is reported by the Scaling property of the transform.

The transform maps points from "Pattern Space" (i.e. the coordinate space defined by this pattern Origin) to the selected space of the train image. For example, mapping the point (0, 0) through the transform returns the position of the pattern origin in the selected space of the train image.

See Also