CogCalibCheckerboard OwnedWarpParams Property Cognex VisionPro
Gets the nonlinear warping parameters and results. These items are owned by this calibration object, but are conveniently grouped together inside the returned interface.

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

public ICogCalibCheckerboardWarpParams OwnedWarpParams { get; }

Property Value

Type: ICogCalibCheckerboardWarpParams
An interface containing the nonlinear warping parameters and results for this calibration.
Remarks

This property returns an CogCalibCheckerboard interface reference that provides access to all of the nonlinear warping parameters and results. The returned CogCalibCheckerboard interface is a different interface of this COM object, as shown in the following example:

Dim myCogCalibCheckerboard As New CogCalibCheckerboard Dim myWarpParams As ICogCalibCheckerboardWarpParams The following two lines set myWarpParams to the same value Set myWarpParams = myCogCalibCheckerboard.WarpParams Set myWarpParams = myCogCalibCheckerboard

This function lets you write more concise code. Using this function you could write

myCogCalibCheckerboard.WarpParams.WarpScaling = 1.2

instead of

Dim myWarpParams as ICogCalibCheckerboardWarpParams Set myWarpParams = myCogCalibCheckerboard.WarpParams myWarpParams.WarpScaling = 1.2
See Also