Transform2DComposed ClassCognex VisionPro 9.25 SR1

A Transform2DComposed is a transform object that can compose transforms of different types. The composed transform maps points through all its contained transformations (from 'Right' to 'Left'), and thus acts as their composition.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision Transform2DComposed

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.25.1.0
Syntax

public sealed class Transform2DComposed : ChangedEventShareableBase, 
	ITransform2D, IChangedEvent, IObject, IHaveFakePropertyMeta

The Transform2DComposed type exposes the following members.

Constructors

  NameDescription
Public methodTransform2DComposed

Constructs a new instance of this class.

Top
Methods

  NameDescription
Public methodBestFitLinearTransform

Returns a new linear transform which best describes this transform over the given set of points. The points must be expressed in 'from' coordinates.

Public methodCanonize

Returns the canonical form of this composed transform. This is the mathematically equivalent form that has the fewest number of transforms. If TypeSimplify is True, the returned type may be reduced to a type simpler than this.

Public methodCompose

Returns a new transform which is the composition of the given transform (on the right side) and this one (on the left side).

Public methodComposeBase

Returns a new transform which is the composition of the given transform (on the right side) and this one (on the left side).

Public methodCopy

Returns a new copy of this composed transform.

Public methodCopyBase

Returns a new copy of this transform.

Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetTransform

Returns a reference to the transform at the specified index in the contained sequence.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodInvert

Returns a new transform that is the inverse of this one.

Public methodInvertBase

Returns a new transform which is the inverse of this one.

Public methodLinearTransform

Returns a new linear transform which best describes this transform at the given point. The point must be expressed in 'from' coordinates.

Public methodMapPoint

Maps the given x,y point through this transform, filling in the mapped x,y coordinates.

Public methodMapPoints

Map the supplied points through this transform.

Public methodMerge

Merges the RightSide composed transform into this composed transform, on right. This is the opposite of Split. If Copy is true, RightSide's contained transforms are added to the sequence by value, otherwise they are added by reference.

Public methodPopFromLeft

Removes and returns the left-most transform from the contained sequence. Note that this will decrease the index of all remaining transforms in the contained sequence by one.

Public methodPopFromRight

Removes and returns the right-most transform from the contained sequence.

Public methodPushOntoLeft(ITransform2D)

Composes the LeftSide transform into this composed transform on the left. The transform is added to the sequence by copy.

Public methodPushOntoLeft(ITransform2D, Boolean)

Composes the LeftSide transform into this composed transform on the left. If Copy is True, the transform is added to the sequence by value, otherwise it's added by reference. Note that this will increase the index of all contained transforms by one.

Public methodPushOntoRight(ITransform2D)

Composes the RightSide transform into this composed transform on the right. The transform is added to the sequence by copy.

Public methodPushOntoRight(ITransform2D, Boolean)

Composes the RightSide transform into this composed transform on the right. If Copy is True, the transform is added to the sequence by value, otherwise it's added by reference.

Public methodReplace

Replaces the transform at the given index with the passed Replacement transform. If Copy is True, the Replacement transform is added by value, otherwise, it is added by reference.

Public methodResumeAndRaiseChangedEvent

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.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodSplit

Splits this composed transform into two composed transforms just before Index. This object becomes the left part and the right part is returned.

Public methodSuspendChangedEvent

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.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two Transform2DComposed objects.
Public operatorStatic memberInequality
Compares the inequality of two Transform2DComposed objects.
Top
Fields

  NameDescription
Public fieldStatic memberSfCount
Public fieldStatic memberSfLinear
Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Overrides ChangedEventShareableBase ChangedEventSuspended.)
Public propertyCount

Returns the number of transforms contained in this composed transform's sequence. This is the number of transforms that can be retrieved by the indexed Transform property.

Public propertyHandle (Overrides ChangedEventShareableBase Handle.)
Public propertyLinear

Returns true if this is a linear transform.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Overrides ChangedEventShareableBase Changed.)
Top
Remarks

A 2D transform object that can compose transforms of different types. The composed transform maps points through all its contained transformations (from 'Right' to 'Left'), acting as their composition even if the individual transformations are not mathematically composable.

See Also