CogOCVMaxPoseHelper FinalPoseComplete Method (CogRectangleAffine)Cognex VisionPro
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 CogRectangleAffine.

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

public CogTransform2DLinear FinalPoseComplete(
	CogRectangleAffine pUpdatedGraphic
)

Parameters

pUpdatedGraphic
Type: Cognex.VisionPro CogRectangleAffine
The CogRectangleAffine generated by a call to FinalPosePrepareRectangleAffine() 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 final pose cannot be computed.
ArgumentNullExceptionIf the pUpdatedGraphic argument is NULL.
See Also