CogTransform2DComposed ClassCognex VisionPro 9.8
A CogTransform2DComposed 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
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro CogTransform2DComposed

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Syntax

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

The CogTransform2DComposed type exposes the following members.

Constructors

  NameDescription
Public methodCogTransform2DComposed 
Constructs a new instance of this class.
Public methodCogTransform2DComposed(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogTransform2DComposed(CogTransform2DComposed)
Constructs a new instance of this class as a deep copy of the given instance.
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.
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 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 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 methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 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 methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
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.
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 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
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
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 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 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 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 memberSfCount
This bit will be set in the EventArgs of a Changed event every time the value returned by Count may have changed.
Public fieldStatic memberSfLinear
This bit will be set in the EventArgs of a Changed event every time the value returned by Linear 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 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 propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyLinear
Returns true if this is a linear transform.
Top
Events

  NameDescription
Public eventChanged
Occurs when one or more parts of the object's state may have 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