CogOCVTool PropertiesCognex VisionPro 9.5

The CogOCVTool type exposes the following members.

Properties

  NameDescription
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventComponentBase.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyCurrentRecordEnable
Enable creation of records by bitwise ORing the appropriate CurrentRecordConstants.
Public propertyDataBindings
Gets the data bindings for the tool.
(Inherited from CogToolBase.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFailOnInvalidDataBinding
Specifies that the Run method is to fail if executed while one or more data bindings are invalid.
(Inherited from CogToolBase.)
Public propertyHasChanged (Inherited from CogSerializableChangedEventComponentBase.)
Public propertyInputImage
Input image on which the OCV inspection will be performed.
Public propertyLastRunRecordDiagEnable
Enable creation of records by bitwise ORing the appropriate LastRunRecordDiagConstants. These are diagnostic records that may cause the Tool to have a longer execution time.
Public propertyLastRunRecordEnable
Enable creation of records by bitwise ORing the appropriate LastRunRecordConstants.
Public propertyName
Gets or sets the name of the tool.
(Overrides CogToolBase Name.)
Public propertyPattern
The OCV pattern which will be verified by this tool.
Public propertyPatternPosition
Run-time expected position of a pattern and the uncertainty of the expected position. Character positions in a pattern are specified with respect to the expected position of the pattern.
Public propertyPatternReferenceImage
The pattern reference image can be displayed via the CurrentRecord in order to provide the user a means of graphically setting up their pattern of character positions. It is not required for either training or running the OCV tool.
Public propertyPatternReferenceOrigin
The pattern reference origin can be displayed via the CurrentRecord in order to provide the user a means of graphically setting up their pattern of character positions. It is not required for either training or running the OCV tool.
Public propertyResults
Results from the last invocation of the Run method. A gcnew CogOCVResults is factoried for each inspection. Previous results will be released prior to the new inspection.
Public propertyRunStatus
Gets general information about the last call to Run.
(Overrides CogToolBase RunStatus.)
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventComponentBase.)
Public propertyUserData
Gets a CogDictionary object that can be used to store application-specific information.
(Inherited from CogToolBase.)
Top
See Also