Class that holds a bead inspect defect generated by the
Execute(ICogVisionData, CogBeadInspectRunParams)
method.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.EdgeInspect CogBeadInspectDefect
Namespace: Cognex.VisionPro.EdgeInspect
Assembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 73.0.0.0
Syntax
The CogBeadInspectDefect type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogBeadInspectDefect(CogBeadInspectDefect) |
Constructs a deep copy of the supplied CogBeadInspectDefect object.
| |
| CogBeadInspectDefect(SerializationInfo, StreamingContext) |
Serialization constructor for CogBeadInspectDefect object.
|
Methods
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose |
Releases all resources used by this CogBeadInspectDefect object.
| |
| Dispose(Boolean) | ||
| Equals | (Inherited from Object.) | |
| Finalize |
Releases all unmanaged resources used by this CogBeadInspectDefect object.
(Overrides Object Finalize .) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetObjectData |
Populates the provided SerializationInfo with the data needed to
serialize the object.
(Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Area |
Gets the area of the bead path where the defect was detected. The area is defined by summing the bead widths within the defect.
This area is specified in units defined by the space selected by the image's
SelectedSpaceName.
| |
| Bounds |
Gets the bounding box of the defect. The bounding box length is defined by the euclidean distance between the first and last points within the
segment of the bead path where the defect is present. The bounding box height is defined by the largest bead width within the segment
of the bead path where the defect is present. This box is specified in units defined by the space selected by the image's
SelectedSpaceName.
| |
| DefectClass |
Gets the categories that describe the defect, specified as bitwise ORed flags defined by the CogBeadInspectDefectTypeConstants enumeration.
| |
| EndPositionX |
Gets the x-coordinate of the last point along the segment of the bead path where the defect was detected.
This coordinate is specified in units defined by the space selected by the image's
SelectedSpaceName.
| |
| EndPositionY |
Gets the y-coordinate of the last point along the segment of the bead path where the defect was detected.
This coordinate is specified in units defined by the space selected by the image's
SelectedSpaceName.
| |
| Size |
Gets the length of the path between the first and last points along the segment of the bead path where the defect was detected.
This length is specified in units defined by the space selected by the image's
SelectedSpaceName.
| |
| StartPositionX |
Gets the x-coordinate of the first point along the segment of the bead path where the defect was detected.
This coordinate is specified in units defined by the space selected by the image's
SelectedSpaceName.
| |
| StartPositionY |
Gets the y-coordinate of the first point along the segment of the bead path where the defect was detected.
This coordinate is specified in units defined by the space selected by the image's
SelectedSpaceName.
|
Remarks
An instance of this class is returned by the Item Int32 property of the CogBeadInspectDefects class.
When referring to a "first" and "last" point within the context of a defect, this refers to the centers of the first and last bead along the segment of the bead path in which the defect has been detected.
For more information on the definition of a bead and bead path in this context, please refer to the remarks section of the CogBeadInspectPattern class.
See Also