CogPMRedLineResults ClassCognex VisionPro
Class that holds a collection of PMRedLine search results. An instance of this class is created by every run of PMRedLine. Results are stored in order of decreasing score.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro.Implementation CogReadOnlyCollectionWithCustomSerialization CogPMRedLineResult 
          Cognex.VisionPro.PMRedLine CogPMRedLineResults

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

[SerializableAttribute]
public class CogPMRedLineResults : CogReadOnlyCollectionWithCustomSerialization<CogPMRedLineResult>, 
	IDisposable

The CogPMRedLineResults type exposes the following members.

Constructors

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

  NameDescription
Public methodContains
Determines whether an element is in the collection.
(Inherited from CogReadOnlyCollectionWithCustomSerialization T .)
Public methodCopyTo
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CogReadOnlyCollectionWithCustomSerialization T .)
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 CogPMRedLineResults 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 CogPMRedLineResults 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 )
Causes the list of items to show up in the property grid.
(Inherited from CogReadOnlyCollectionWithCustomSerialization T .)
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 methodIndexOf
Searches the collection for the specified object and returns the zero-based index of the first occurrence.
(Inherited from CogReadOnlyCollectionWithCustomSerialization T .)
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 methodToArray
Calls CopyTo() and returns a new array which contains the members of this collection.
(Inherited from CogReadOnlyCollectionWithCustomSerialization T .)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Protected fieldmInnerList (Inherited from CogReadOnlyCollectionWithCustomSerialization T .)
Top
Properties

  NameDescription
Public propertyAcceptedCount
Gets the number of results in this collection that have their Accepted property set to "true".
Public propertyCount
The number of elements contained in the Collection.
(Inherited from CogReadOnlyCollectionWithCustomSerialization T .)
Public propertyItem
Gets the element at the specified index.
(Inherited from CogReadOnlyCollectionWithCustomSerialization T .)
Top
Remarks

An instance of this class is returned by the Execute(ICogImage, ICogRegion, CogPMRedLineRunParams) method of the CogPMRedLinePattern class. The Execute() method is called automatically every time you call the Run  method of the CogPMRedLineTool class, causing the tool to search the InputImage for instances of the pattern.
See Also