CogOCVMaxPattern DOFEnable Property Cognex VisionPro 9.22
The degrees of freedom (DOFs) to be searched. There are five degrees of freedom: Rotation, (uniform) Scale, ScaleX, ScaleY, and Shear. Any combination of these (including None) may be searched. If a particular DOF is enabled, the search will be performed between that DOF's LowerLimit and UpperLimit values, otherwise the search will be performed with that DOF's Nominal value.

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

public CogOCVMaxDOFConstants DOFEnable { get; set; }

Property Value

Type: CogOCVMaxDOFConstants
This read/write property is either 0 (no DOFs enabled) or a bitwise OR of the enumeration values CogOCVMaxDOFConstants::Rotation, ::Scale, ::ScaleX, ::ScaleY, and ::Shear.
Events

Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
See Also