Cog3DAlignPattern Origin Property Cognex VisionPro
Gets or sets the origin for the pattern. This 3D rigid transform maps points from "Pattern Space" to the 3D selected space of the train image. In other words, it defines the origin of the pattern's coordinate space relative to the 3D selected space of the train image.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax

public Cog3DTransformRigid Origin { get; set; }

Property Value

Type: Cog3DTransformRigid
The Cog3DTransformRigid 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 in the train image is reported by the Translation property of the returned transform. The rotation of the pattern origin is reported by the Rotation property.

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

See Also