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 MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.CalibFix CogFixtureNPointToNPoint
Namespace: Cognex.VisionPro.CalibFix
Assembly: Cognex.VisionPro.CalibFix (in Cognex.VisionPro.CalibFix.dll) Version: 65.1.0.0
Syntax
The CogFixtureNPointToNPoint type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogFixtureNPointToNPoint | Constructs a new instance of this class. | |
| CogFixtureNPointToNPoint(IntPtr) | Constructs a new instance of this class using com pointer. | |
| CogFixtureNPointToNPoint(CogFixtureNPointToNPoint) | Constructs a new instance of this class as a deep copy of the given instance. |
Methods
| Name | Description | |
|---|---|---|
| AddPointPair | Adds a new point to the end of each point set. NumPoints will be increased by one. | |
| Clone | 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 | |
| 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.) | |
| DeletePointPair | 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. | |
| Dispose | ||
| Dispose(Boolean) | ||
| Equals | (Inherited from Object.) | |
| Execute | 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. | |
| Finalize | (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 | ||
| 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 ) | (Overrides CogObjectBase GetProperties( Attribute ).) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetRawFixturedPoint | Gets the X and Y coordinates of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| GetRawFixturedPointX | The X coordinate of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| GetRawFixturedPointY | The Y coordinate of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUnfixturedPoint | Gets the X and Y coordinates of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| GetUnfixturedPointX | The X coordinate of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| GetUnfixturedPointY | The Y coordinate of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| 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.) | |
| ResumeAndRaiseChangedEvent | 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. | |
| SetRawFixturedPoint | Sets the X and Y coordinates of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| SetRawFixturedPointX | The X coordinate of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| SetRawFixturedPointY | The Y coordinate of the raw fixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| SetUnfixturedPoint | Sets the X and Y coordinates of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| SetUnfixturedPointX | The X coordinate of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| SetUnfixturedPointY | The Y coordinate of the unfixtured point with the given index. Valid indices range from 0 to NumPoints-1 inclusive. | |
| SuspendChangedEvent | 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. | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| SfComputationMode | This bit will be set in the EventArgs of a Changed event every time the value returned by ComputationMode may have changed. | |
| SfDOFsToCompute | This bit will be set in the EventArgs of a Changed event every time the value returned by DOFsToCompute may have changed. | |
| SfFixturedSpaceName | This bit will be set in the EventArgs of a Changed event every time the value returned by FixturedSpaceName may have changed. | |
| SfFixturedSpaceNameDuplicateHandling | This bit will be set in the EventArgs of a Changed event every time the value returned by FixturedSpaceNameDuplicateHandling may have changed. | |
| SfGetRawFixturedPointX | This bit will be set in the EventArgs of a Changed event every time the value returned by GetRawFixturedPointX may have changed. | |
| SfGetRawFixturedPointY | This bit will be set in the EventArgs of a Changed event every time the value returned by GetRawFixturedPointY may have changed. | |
| SfGetUnfixturedPointX | This bit will be set in the EventArgs of a Changed event every time the value returned by GetUnfixturedPointX may have changed. | |
| SfGetUnfixturedPointY | This bit will be set in the EventArgs of a Changed event every time the value returned by GetUnfixturedPointY may have changed. | |
| SfNumPoints | This bit will be set in the EventArgs of a Changed event every time the value returned by NumPoints may have changed. | |
| SfRawFixturedFromFixturedTransform | This bit will be set in the EventArgs of a Changed event every time the value returned by RawFixturedFromFixturedTransform may have changed. | |
| SfRawFixturedFromFixturedTransformEnabled | This bit will be set in the EventArgs of a Changed event every time the value returned by RawFixturedFromFixturedTransformEnabled may have changed. | |
| SfSpaceToOutput | This bit will be set in the EventArgs of a Changed event every time the value returned by SpaceToOutput may have changed. |
Properties
| Name | Description | |
|---|---|---|
| ChangedEventSuspended | 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. | |
| ComputationMode | 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. | |
| DOFsToCompute | 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. | |
| FixturedSpaceName | 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. | |
| FixturedSpaceNameDuplicateHandling | Specifies how the operator should respond when attempting to add a space whose name already exists in the output image coordinate space tree. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| NumPoints | The number of points in each point set. This is the number of raw fixtured points, and also the number of unfixtured points. | |
| RawFixturedFromFixturedTransform | 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. | |
| RawFixturedFromFixturedTransformEnabled | 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. | |
| SpaceToOutput | 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. |
Events
| Name | Description | |
|---|---|---|
| Changed | Occurs when one or more parts of the object's state may have changed. |
Remarks
This interface defines a fixtured coordinate space using N pairs of points and attaches this space to an image.
See Also