CogBeadInspectDefect ClassCognex VisionPro 9.7
Class that holds a bead inspect defect generated by the Execute(ICogVisionData, CogBeadInspectRunParams) method.
Inheritance Hierarchy

System Object
  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

[SerializableAttribute]
public class CogBeadInspectDefect : CogSerializableObjectBase, 
	IDisposable

The CogBeadInspectDefect type exposes the following members.

Constructors

  NameDescription
Public methodCogBeadInspectDefect(CogBeadInspectDefect)
Constructs a deep copy of the supplied CogBeadInspectDefect object.
Protected methodCogBeadInspectDefect(SerializationInfo, StreamingContext)
Serialization constructor for CogBeadInspectDefect object.
Top
Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose 
Releases all resources used by this CogBeadInspectDefect object.
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Releases all unmanaged resources used by this CogBeadInspectDefect object.
(Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetObjectData
Populates the provided SerializationInfo with the data needed to serialize the object.
(Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).)
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyArea
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.
Public propertyBounds
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.
Public propertyDefectClass
Gets the categories that describe the defect, specified as bitwise ORed flags defined by the CogBeadInspectDefectTypeConstants enumeration.
Public propertyEndPositionX
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.
Public propertyEndPositionY
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.
Public propertySize
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.
Public propertyStartPositionX
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.
Public propertyStartPositionY
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.
Top
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