CogOCVMaxPoseHelper FinalPoseComplete Method (CogCompositeShape)Cognex VisionPro 9.8
Compute the final pose based upon the differences between the cached initial state of the interactive graphic and the current state of the supplied graphic. The presumption is that you are calling this method after the user has finished graphically manipulating the input CogCompositeShape.

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

public CogTransform2DLinear FinalPoseComplete(
	CogCompositeShape pUpdatedGraphic
)

Parameters

pUpdatedGraphic
Type: Cognex.VisionPro CogCompositeShape
The CogCompositeShape generated by a call to FinalPosePrepare() and then graphically manipulated by the user.

Return Value

Type: CogTransform2DLinear
A CogTransform2DLinear that is the final pose to be used in sizing and positioning the text in the image.
Exceptions

ExceptionCondition
InvalidOperationExceptionIf the FinalPosePrepared property is False.
ArgumentNullExceptionIf the pUpdatedGraphic argument is NULL.
See Also