CogPMAlignResult CreateResultGraphics Method Cognex VisionPro
Creates a composite result graphic containing child graphics specified by the GraphicOptions which is a bitwise combination of CogPMAlignResultGraphicConstants.

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

public CogCompositeShape CreateResultGraphics(
	CogPMAlignResultGraphicConstants graphicOptions
)

Parameters

graphicOptions
Type: Cognex.VisionPro.PMAlign CogPMAlignResultGraphicConstants

The graphics options. Supply a value formed by ORing together one or more of the values defined in CogPMAlignResultGraphicConstants.

Return Value

Type: CogCompositeShape

The CogCompositeShape which contains the requested graphics.

Remarks

Gets a collection result graphics. The GraphicOptions argument is used to select the type of graphics and is a bitwise combination of CogPMAlignResultGraphicConstants.

Graphics drawn in red indicate poor feature matches, graphics drawn in yellow indicate fair feature matches, and graphics drawn in green indicate good matches.

This function only returns graphics if you specified the PatMax algorithm and if you set SaveMatchInfo to True. Also, result graphics are not available for results that were loaded from a persistence file.

See Also