Rigid 2D coordinate transform.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro CogTransform2DRigid
Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax
The CogTransform2DRigid type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogTransform2DRigid | Constructs a new instance of this class. | |
| CogTransform2DRigid(IntPtr) | Constructs a new instance of this class using com pointer. | |
| CogTransform2DRigid(CogTransform2DRigid) | Constructs a new instance of this class as a deep copy of the given instance. | |
| CogTransform2DRigid(Double, Double, Double) | Constructs a CogTransform2DRigid using the supplied components. |
Methods
| Name | Description | |
|---|---|---|
| BestFitLinearTransform | Returns a new linear transform which best describes this transform over the given set of points. The points must be expressed in 'from' coordinates. | |
| 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 | |
| Compose | Returns a new rigid transform which is the composition of the given transform (on the right side) and this one (on the left side). | |
| ComposeBase | Returns a new transform which is the composition of the given transform (on the right side) and this one (on the left side). | |
| Copy | Returns a new copy of this transform. | |
| CopyBase | Returns a new copy of this transform. | |
| 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.) | |
| Dispose | ||
| Dispose(Boolean) | ||
| Equals | (Inherited from Object.) | |
| 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.) | |
| GetLinearTransform | Returns a new linear transform which describes this rigid transform. | |
| 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 ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetRotationTranslation | Extract the named parameters from this transform. Rotation is in radians. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Identity | Returns true if this transform is an identity mapping within the given tolerance. The tolerance is applied to the rotation and both translation components. | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| Invert | Returns a new rigid transform which is the inverse of this one. | |
| InvertBase | Returns a new transform which is the inverse of this one. | |
| LinearTransform | Returns a new linear transform which best describes this transform at the given point. The point must be expressed in 'from' coordinates. | |
| MapAngle | Maps the given angle (in radians) through this transform and returns the result (in radians). | |
| MapPoint | Maps the given x,y point through this transform, filling in the mapped x,y coordinates. | |
| MapPoints | Map the supplied points through this transform. | |
| MapVector | Maps the given x,y vector through this transform, filling in the mapped x,y vector components. | |
| 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. | |
| SetRotationTranslation | Set this transform from the given parameters. Rotation is in radians. | |
| 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.) |
Operators
| Name | Description | |
|---|---|---|
| Multiply(CogTransform2DLinear, CogTransform2DRigid) | ||
| Multiply(CogTransform2DRigid, CogTransform2DLinear) | ||
| Multiply(CogTransform2DRigid, CogTransform2DRigid) |
Fields
| Name | Description | |
|---|---|---|
| SfLinear | This bit will be set in the EventArgs of a Changed event every time the value returned by Linear may have changed. | |
| SfRotation | This bit will be set in the EventArgs of a Changed event every time the value returned by Rotation may have changed. | |
| SfTranslationX | This bit will be set in the EventArgs of a Changed event every time the value returned by TranslationX may have changed. | |
| SfTranslationY | This bit will be set in the EventArgs of a Changed event every time the value returned by TranslationY 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. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| Linear | Returns true if this is a linear transform. | |
| Rotation | Returns/sets the rotation of this transform (in radians). | |
| TranslationX | Returns/sets the x component of the translation vector. | |
| TranslationY | Returns/sets the y component of the translation vector. |
Events
| Name | Description | |
|---|---|---|
| Changed | Occurs when one or more parts of the object's state may have changed. |
See Also