CogPMAlignZoneAngle ClassCognex VisionPro 9.5
Class which holds angle Degree Of Freedom (DOF) information. PMAlign can locate patterns that have changed in angle from the trained pattern. This class specifies the angle(s) at which patterns may be located.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.PMAlign CogPMAlignZoneAngle

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

[SerializableAttribute]
public class CogPMAlignZoneAngle : CogObjectBase, 
	ICogNetInternal, IDisposable, ICloneable, ISerializable, ICogHasChanged, 
	ICogChangedEvent

The CogPMAlignZoneAngle type exposes the following members.

Constructors

  NameDescription
Public methodCogPMAlignZoneAngle 
Constructs a new instance of this class.
Public methodCogPMAlignZoneAngle(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogPMAlignZoneAngle(CogPMAlignZoneAngle)
Constructs a new instance of this class as a deep copy of the given instance.
Top
Methods

  NameDescription
Protected methodClone
Returns a deep copy of this class instance. Derived classes that implement Clone should override this method; other clients who wish to clone this instance should call ICloneable.Clone. See also CogSerializer.DeepCopyObject
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 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (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
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 methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called. Also raises the Changed event if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.
Public methodSuspendChangedEvent
Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberSfConfiguration
This bit will be set in the EventArgs of a Changed event every time the value returned by Configuration may have changed.
Public fieldStatic memberSfHigh
This bit will be set in the EventArgs of a Changed event every time the value returned by High may have changed.
Public fieldStatic memberSfLow
This bit will be set in the EventArgs of a Changed event every time the value returned by Low may have changed.
Public fieldStatic memberSfNominal
This bit will be set in the EventArgs of a Changed event every time the value returned by Nominal may have changed.
Public fieldStatic memberSfOverlap
This bit will be set in the EventArgs of a Changed event every time the value returned by Overlap may have changed.
Top
Properties

  NameDescription
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.
Public propertyConfiguration
Configuration of this DOF zone which specifies whether PMAlign will use either the low & high limits for the expected range of values or just the nominal value.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyHigh
High limit (in radians) for angle DOF zone. Only used if Configuration is cogPMAlignZoneLowHigh. Low must be <= to high. Setting high < low will also set low to the new value.
Public propertyLow
Low limit (in radians) for angle DOF zone. Only used if Configuration is cogPMAlignZoneLowHigh. Low must be <= to high. Setting low > high will also set high to the new value.
Public propertyNominal
The nominal value (in radians) is only used if Configuration is cogPMAlignZoneNominal. In this case PMAlign only finds pattern instances that are close to the Nominal value specified and the results will always be reported at exactly the found value.
Public propertyOverlap
Result candidates overlap for an angle DOF if the abs(Angle #1 - Angle #2) <= Overlap. PMAlign discards the weaker pattern instance when two pattern instances overlap for all degrees of freedom (DOF) as well as area. Overlap units are in radians.
Top
Events

  NameDescription
Public eventChanged
Occurs when one or more parts of the object's state may have changed.
Top
Remarks

This interface lets you specify either a nominal value for the angle degree of freedom for a search or the range of values for the angle degree of freedom.

If you specify a nominal value, the results returned by the tool will have exactly the angle value you specify. If you specify a low and high limit, the results returned by the tool will be within (or slightly outside of) the range of angles that you specify.

See Also