Linear 2D coordinate transform.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision Transform2DLinear
Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
The Transform2DLinear type exposes the following members.
| Name | Description | |
|---|---|---|
| Transform2DLinear | Constructs a new instance of this class. |
| 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. | |
| Compose | Returns a new linear 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. | |
| Equals | Compares the equality of this object with another. (Overrides ChangedEventShareableBase Equals(Object).) | |
| GetHashCode | Returns the hash code of this object. (Overrides ChangedEventShareableBase GetHashCode .) | |
| GetMatrixElement | Access the selected element of the 2-by-2 matrix in this transform. | |
| GetMatrixElementsTranslation | Extract the named parameters from this transform. | |
| GetScalingAspectRotationSkewTranslation | Extract the named parameters from this transform. Rotation and Skew are in radians. | |
| GetScalingsRotationsTranslation | Extract the named parameters from this transform. RotationX and RotationY are in radians. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| Identity | ||
| Invert | Returns a new linear 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). | |
| MapArea | Maps the given area through this transform and returns the result. | |
| 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. | |
| MatrixIdentity | Returns true if the 2-by-2 matrix in this transform is an identity mapping within the given tolerance. The tolerance is applied to each matrix element. | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent 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. | |
| SetMatrixElement | Access the selected element of the 2-by-2 matrix in this transform. | |
| SetMatrixElementsTranslation | Set this transform from the given parameters. | |
| SetScalingAspectRotationSkewTranslation | Set this transform from the given parameters. Rotation and Skew are in radians. | |
| SetScalingsRotationsTranslation | Set this transform from the given parameters. RotationX and RotationY are in radians. | |
| Singular | Returns true if this transform is singular. A transform is singular if the matrix determinant equals zero within the given tolerance. | |
| SuspendChangedEvent | Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | Returns a human readable string that represents the object. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two Transform2DLinear objects. | |
| Inequality | Compares the inequality of two Transform2DLinear objects. | |
| Multiply |
| Name | Description | |
|---|---|---|
| SfAspect | ||
| SfGetMatrixElement | ||
| SfLinear | ||
| SfMatrixDeterminant | ||
| SfRotation | ||
| SfRotationX | ||
| SfRotationY | ||
| SfScaling | ||
| SfScalingX | ||
| SfScalingY | ||
| SfSkew | ||
| SfTranslationX | ||
| SfTranslationY |
| Name | Description | |
|---|---|---|
| Aspect | Get Returns the aspect of this transform. Aspect is the ratio of scaling along the y axis over scaling along the x axis. When aspect is set the rotation, skew, and scaling remain unchanged. | |
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| Handle | (Overrides ChangedEventShareableBase Handle.) | |
| Linear | Returns true if this is a linear transform. | |
| MatrixDeterminant | Returns the determinant of the 2-by-2 matrix in this transformation. | |
| Rotation | Get Gets the rotation of this transform (in radians). When rotation is set the skew, scaling, and aspect remain unchanged. | |
| RotationX | Returns the x-axis rotation of this transform (in radians). When set, RotationY, ScalingX, and ScalingY remain unchanged. | |
| RotationY | Returns the y-axis rotation of this transform (in radians). When set, RotationX, ScalingX, and ScalingY remain unchanged. | |
| Scaling | Get Returns/sets the scaling of this transform. When scaling is set the rotation, skew, and aspect remain unchanged. | |
| ScalingX | Returns the x-axis scaling of this transform. When set, RotationX, RotationY, and ScalingY remain unchanged. | |
| ScalingY | Returns the y-axis scaling of this transform. When set, RotationX, RotationY, and ScalingX remain unchanged. | |
| Skew | Get Gets the skew of this transform (in radians). When skew is set the rotation, scaling, and aspect remain unchanged. | |
| TranslationX | Get Gets the x component of the translation vector. | |
| TranslationY | Get Gets the y component of the translation vector. |
| Name | Description | |
|---|---|---|
| Changed | The actual event. |
Transform2DLinear represents a two-dimensional linear transformation between two coordinate spaces. It enables you to map points from the from coordinate space to the to coordinate space. It defaults to the identity transform. Transform2DLinear represents a linear transformation as a (2x2) matrix and a translation vector. There are three different parameterization methodsfor the matrix, each based on the following general 2-d linear transformation: Where (xA, yA) is the input point, (Tx, Ty) is the translation vector, and the rest is the (2x2) matrix that represents the scaling and rotation.