CogAffineTransform ClassCognex VisionPro 9.7
Class that transforms a portion of an image defined by a CogRectangleAffine into a new rectangular image.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.ImageProcessing CogAffineTransform

Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 73.0.0.0
Syntax

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

The CogAffineTransform type exposes the following members.

Constructors

  NameDescription
Public methodCogAffineTransform 
Constructs a new instance of this class.
Public methodCogAffineTransform(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogAffineTransform(CogAffineTransform)
Constructs a new instance of this class as a deep copy of the given instance.
Top
Methods

  NameDescription
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 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.)
Public methodExecute
Transforms a portion of the input image defined by an affine rectangle into a rectangular output image with a relative size determined by the ScalingX, ScalingY properties. If the Region parameter is Nothing then the whole input image is transformed.
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 )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
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 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.)
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 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 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 memberSfClipFillPlane0Value
This bit will be set in the EventArgs of a Changed event every time the value returned by ClipFillPlane0Value may have changed.
Public fieldStatic memberSfClipFillPlane1Value
This bit will be set in the EventArgs of a Changed event every time the value returned by ClipFillPlane1Value may have changed.
Public fieldStatic memberSfClipFillPlane2Value
This bit will be set in the EventArgs of a Changed event every time the value returned by ClipFillPlane2Value may have changed.
Public fieldStatic memberSfClipFillValue
This bit will be set in the EventArgs of a Changed event every time the value returned by ClipFillValue may have changed.
Public fieldStatic memberSfClipMode
This bit will be set in the EventArgs of a Changed event every time the value returned by ClipMode may have changed.
Public fieldStatic memberSfSamplingMode
This bit will be set in the EventArgs of a Changed event every time the value returned by SamplingMode may have changed.
Public fieldStatic memberSfScalingX
This bit will be set in the EventArgs of a Changed event every time the value returned by ScalingX may have changed.
Public fieldStatic memberSfScalingY
This bit will be set in the EventArgs of a Changed event every time the value returned by ScalingY 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 propertyClipFillPlane0Value
Specifies the plane 0 value with which to fill clipped color pixels if ClipMode=cogAffineTransformClipModeFill.
Public propertyClipFillPlane1Value
Specifies the plane 1 value with which to fill clipped color pixels if ClipMode=cogAffineTransformClipModeFill.
Public propertyClipFillPlane2Value
Specifies the plane 2 value with which to fill clipped color pixels if ClipMode=cogAffineTransformClipModeFill.
Public propertyClipFillValue
Specifies the value with which to fill clipped pixels if ClipMode=cogAffineTransformClipModeFill.
Public propertyClipMode
Specifies what to do if any portion of the affine region lies outside the input image.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertySamplingMode
Specifies the sampling mode used when performing the affine transform operation.
Public propertyScalingX
Specifies the scaling factor for the X direction of the output image. For example, setting ScalingX to 2.0 will result in an output image that is approximately twice as wide as the SideXLength of the input region (when measured in image pixels).
Public propertyScalingY
Specifies the scaling factor for the Y direction of the output image. For example, setting ScalingY to 2.0 will result in an output image that is approximately twice as high as the SideYLength of the input region (when measured in image pixels).
Top
Events

  NameDescription
Public eventChanged
Occurs when one or more parts of the object's state may have changed.
Top
Remarks

Primary interface of the CogAffineTransform class that transforms a portion of an image defined by a CogRectangleAffine into a new rectangular image.

See Also