Cog3DPatMaxPattern Origin Property Cognex VisionPro 9.21
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 data. In other words, it defines the origin of the pattern's coordinate space relative to the 3D selected space of the train data.

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

public Cog3DTransformRigid Origin { get; set; }

Property Value

Type: Cog3DTransformRigid
The Cog3DTransformRigid containing the pose of the origin on the training data. 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 data 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 vision data. 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 vision data.

See Also