CogOCVCurrentRecordConstants EnumerationCognex VisionPro 9.8
Enumeration of data that can be provided in the Tool's CurrentRecord.

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

[FlagsAttribute]
public enum CogOCVCurrentRecordConstants
Members

  Member nameValueDescription
None0Do not include any records in the CurrentRecord.
InputImage1Include the input image in the CurrentRecord.
PatternPositionCoordinateAxes2Include a coordinate axes at the origin of the pattern in the interactive composite shape used for setting up the run-time pattern position in the input image.
PatternPositionCharacterOrigins4Include a point marker at the position of each character in the interactive composite shape used for setting up the run-time pattern position in the input image.
PatternPositionCharacterCoordinateAxes8Include a coordinate axes at the position of each character in the interactive composite shape used for setting up the run-time pattern position in the input image.
PatternPositionCharacterRegions16Include an affine rectangle for the region of each character in the interactive composite shape used for setting up the run-time pattern position in the input image.
PatternPositionCharacterLabels32Include a label, with the font model name and instance, for each character in the interactive composite shape used for up setting the run-time pattern position in the input image.
PatternReferenceImage4096Include the pattern reference image in the CurrentRecord.
PatternOriginUniform8192Include an interactive coordinate axes for the pattern origin on the pattern reference image. All of the character positions will move in uniform with this pattern origin graphic as it is moved.
PatternOriginFree16384Include an interactive coordinate axes for the pattern origin on the pattern reference image. All of the character positions will remain in the same location relative the reference image as this pattern origin graphic is moved.
CharacterPositionsCoordinateAxes32768Include a coordinate axes graphic for each character position in the pattern reference image.
CharacterPositionsOrigin65536Include a point marker graphic for each character position in the pattern reference image.
CharacterPositionsRegion262144Include an affine rectangle graphic for the region of each character position in the pattern reference image.
CharacterPositionsLabel131072Include a label graphic, with the font model name and instance, for each character position in the pattern reference image.
All-1Include all possible records in the CurrentRecord.
Remarks

Use these constants with CurrentRecordEnable to specify the tool records that the CogOCV Tool generates when you call CreateCurrentRecord .

See About Record Keys for a list of the record keys that the tool uses.

See Also