CogFixture ClassCognex VisionPro 9.22
This object holds the parameters required for simple fixturing. Its Execute function attaches the fixtured coordinate space to the given input image and supplies the updated image as an output for use by downstream tools.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.CalibFix CogFixture

Namespace: Cognex.VisionPro.CalibFix
Assembly: Cognex.VisionPro.CalibFix (in Cognex.VisionPro.CalibFix.dll) Version: 87.0.0.0
Syntax

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

The CogFixture type exposes the following members.

Constructors

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

  NameDescription
Protected methodattachCom
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
Attaches the fixtured space to the coordinate tree of the input image, using the FixturedSpaceName property. Returns a shallow copy of the image as an output. The selected space of the output image is chosen using the SpaceToOutput property.
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
Protected field__com
Protected field__disposed
Protected fieldStatic member__factory
Protected fieldStatic memberCreator
Public fieldStatic memberSfAction
This bit will be set in the EventArgs of a Changed event every time the value returned by Action may have changed.
Public fieldStatic memberSfFixturedSpaceName
This bit will be set in the EventArgs of a Changed event every time the value returned by FixturedSpaceName may have changed.
Public fieldStatic memberSfFixturedSpaceNameDuplicateHandling
This bit will be set in the EventArgs of a Changed event every time the value returned by FixturedSpaceNameDuplicateHandling may have changed.
Public fieldStatic memberSfSpaceToOutput
This bit will be set in the EventArgs of a Changed event every time the value returned by SpaceToOutput may have changed.
Public fieldStatic memberSfUnfixturedFromFixturedTransform
This bit will be set in the EventArgs of a Changed event every time the value returned by UnfixturedFromFixturedTransform may have changed.
Top
Properties

  NameDescription
Public propertyAction
How the operator should process the input image.
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 propertyFixturedSpaceName
Name of the fixtured coordinate space that will be attached to the coordinate space tree of the input image. This must be a valid non-qualified name.
Public propertyFixturedSpaceNameDuplicateHandling
Specifies how the operator should respond when attempting to add a space whose name already exists in the output image coordinate space tree.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertySpaceToOutput
Specifies whether the selected space of the output image will be a fully-qualified copy of the fixtured space name, or a fully-qualified copy of the unfixtured space name.
Public propertyUnfixturedFromFixturedTransform
Transformation that defines the fixtured coordinate space, relative to the unfixtured space. This transform must map points from the fixtured space into the unfixtured one (i.e. the selected space of the input image).
Top
Events

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

This object holds the parameters required for simple fixturing. Its Execute(ICogImage) function attaches the fixtured coordinate space to the given input image and supplies the updated image as an output for use by other tools.

See Also