ICogTransform2D InterfaceCognex VisionPro 9.22 SR1
Common interface for all 2D transforms.

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

public interface ICogTransform2D : ICogChangedEvent

The ICogTransform2D type exposes the following members.

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 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 methodCopyBase
Returns a new copy of this transform.
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 methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called, and 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.
(Inherited from ICogChangedEvent.)
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.
(Inherited from ICogChangedEvent.)
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
Indicates if the raising of the Changed event has been suspended.
(Inherited from ICogChangedEvent.)
Public propertyLinear
Returns true if this is a linear transform.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from ICogChangedEvent.)
Top
Events

  NameDescription
Public eventChanged
This event is raised when one or more parts of the object's state may have changed.
(Inherited from ICogChangedEvent.)
Top
Remarks

CogTransform2D provides a common interface for all two-dimensional transforms.

See Also