CogFixtureNPointToNPoint ClassCognex VisionPro 9.5
The CogFixtureNPointToNPoint object defines a fixtured coordinate space using N pairs of points and allows users to attach this space to an image.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.CalibFix CogFixtureNPointToNPoint

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

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

The CogFixtureNPointToNPoint type exposes the following members.

Constructors

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

  NameDescription
Public methodAddPointPair
Adds a new point to the end of each point set. NumPoints will be increased by one.
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 methodDeletePointPair
Deletes the point at the given index from each point set. Points with higher indices are shifted to the next lower index, and NumPoints is decreased by one.
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Computes a fixtured space using the points contained in this object and attaches it to the coordinate tree of the input image. Returns a result object that holds the computed fixture transform and a shallow copy of the input image.
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 ) (Overrides CogObjectBase GetProperties( Attribute ).)
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 methodGetRawFixturedPoint
Gets the X and Y coordinates of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodGetRawFixturedPointX
The X coordinate of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodGetRawFixturedPointY
The Y coordinate of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnfixturedPoint
Gets the X and Y coordinates of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodGetUnfixturedPointX
The X coordinate of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodGetUnfixturedPointY
The Y coordinate of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
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 methodSetRawFixturedPoint
Sets the X and Y coordinates of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodSetRawFixturedPointX
The X coordinate of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodSetRawFixturedPointY
The Y coordinate of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodSetUnfixturedPoint
Sets the X and Y coordinates of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodSetUnfixturedPointX
The X coordinate of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
Public methodSetUnfixturedPointY
The Y coordinate of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive.
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 memberSfComputationMode
This bit will be set in the EventArgs of a Changed event every time the value returned by ComputationMode may have changed.
Public fieldStatic memberSfDOFsToCompute
This bit will be set in the EventArgs of a Changed event every time the value returned by DOFsToCompute may have changed.
Public fieldStatic memberSfFixturedSpaceName
This bit will be set in the EventArgs of a Changed event every time the value returned by FixturedSpaceName may have changed.
Public fieldStatic memberSfFixturedSpaceNameDuplicateHandling
This bit will be set in the EventArgs of a Changed event every time the value returned by FixturedSpaceNameDuplicateHandling may have changed.
Public fieldStatic memberSfGetRawFixturedPointX
This bit will be set in the EventArgs of a Changed event every time the value returned by GetRawFixturedPointX may have changed.
Public fieldStatic memberSfGetRawFixturedPointY
This bit will be set in the EventArgs of a Changed event every time the value returned by GetRawFixturedPointY may have changed.
Public fieldStatic memberSfGetUnfixturedPointX
This bit will be set in the EventArgs of a Changed event every time the value returned by GetUnfixturedPointX may have changed.
Public fieldStatic memberSfGetUnfixturedPointY
This bit will be set in the EventArgs of a Changed event every time the value returned by GetUnfixturedPointY may have changed.
Public fieldStatic memberSfNumPoints
This bit will be set in the EventArgs of a Changed event every time the value returned by NumPoints may have changed.
Public fieldStatic memberSfRawFixturedFromFixturedTransform
This bit will be set in the EventArgs of a Changed event every time the value returned by RawFixturedFromFixturedTransform may have changed.
Public fieldStatic memberSfRawFixturedFromFixturedTransformEnabled
This bit will be set in the EventArgs of a Changed event every time the value returned by RawFixturedFromFixturedTransformEnabled may have changed.
Public fieldStatic memberSfSpaceToOutput
This bit will be set in the EventArgs of a Changed event every time the value returned by SpaceToOutput 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 propertyComputationMode
This enumeration specifies how the best-fit transformation between the unfixtured points and the raw fixtured points will be computed. Only linear computations are supported in this release.
Public propertyDOFsToCompute
This enumeration specifies which degrees of freedom will be allowed when computing the best-fit transformation between the unfixtured points and the raw fixtured points.
Public propertyFixturedSpaceName
Name of the fixtured coordinate space that will be attached to the coordinate space tree of the input image. This must be a valid non-qualified name.
Public propertyFixturedSpaceNameDuplicateHandling
Specifies how the operator should respond when attempting to add a space whose name already exists in the output image coordinate space tree.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyNumPoints
The number of points in each point set. This is the number of raw fixtured points, and also the number of unfixtured points.
Public propertyRawFixturedFromFixturedTransform
2-D transform that defines the fixtured space, relative to the (unadjusted) raw fixtured space. This transform must map points from fixtured space into raw fixtured space, and will only be used if RawFixturedFromFixturedTransformEnabled is True.
Public propertyRawFixturedFromFixturedTransformEnabled
If True, the RawFixturedFromFixturedTransform will be used to adjust the fixtured space defined by the next point-to-point computation. If False, the RawFixturedFromFixturedTransform will be ignored.
Public propertySpaceToOutput
Specifies whether the selected space of the output image will be a fully-qualified copy of the fixtured space name, or a fully-qualified copy of the unfixtured space name.
Top
Events

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

This interface defines a fixtured coordinate space using N pairs of points and attaches this space to an image.

See Also