Cog3DCrsp2D3D ClassCognex VisionPro
This class holds feature correspondence information for a particular feature (point, line segment, circle, etc.). A Cog3DCrsp2D3D is a data holder class that expresses how a 2D feature(s) (found in the acquired image from a particular camera) corresponds to a 3D feature of the 3D model. The feature correspondence information consists of:
  • The index of the camera from which the image was acquired;
  • The index of the found part instance in the acquired image. Each part found in an acquired image from camera C, must have a unique index. Each part found in an acquired image from camera C+1, must also have a unique index, however there is no requirement for the part indices across the acquired images to match.
  • An Object representing the found 2D feature e.g. Cog3DVect2 or an Object representing a collection of found 2D features e.g. Cog3DVect2Collection from the acquired image. The 2D feature's pose must be in Raw2D space of the acquired image.
  • The index of the 3D model feature within the 3D model feature collection
  • The subfeature type (Cog3DSubfeatureConstants) within the 3D feature that corresponds to the found 2D feature(s).
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro3D Cog3DCrsp2D3D

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax

[SerializableAttribute]
public class Cog3DCrsp2D3D : CogSerializableObjectBase, 
	IDisposable

The Cog3DCrsp2D3D type exposes the following members.

Constructors

  NameDescription
Public methodCog3DCrsp2D3D 
Construct this default Cog3DCrsp2D3D:
  • CameraIndex is 0;
  • PartInstanceIndex is 0;
  • FeatureModel3DIndex is 0;
  • FeatureModel3DType is type of Cog3DVect3;
  • FeatureRaw2D is null;
  • Subfeature is Cog3DSubfeatureConstants.Point0;
Protected methodCog3DCrsp2D3D(SerializationInfo, StreamingContext)
Public methodCog3DCrsp2D3D(Int32, Int32, Int32, Type, Object, Cog3DSubfeatureConstants)
Construct this Cog3DCrsp2D3D with the supplied components.
Top
Methods

  NameDescription
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
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.)
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 methodToString (Overrides Object ToString .)
Top
Properties

  NameDescription
Public propertyApplicationData
Gets/Sets an object that can be used to store application-specific information.
Public propertyCameraIndex
Gets/sets the index of the camera.
Public propertyFeatureModel3DIndex
Gets/sets the 3D model feature index (within the 3D model feature collection) corresponding to the found 2D feature(s).
Public propertyFeatureModel3DType
Gets/sets the 3D model feature type.
Public propertyFeatureRaw2D
Gets/sets the 2D feature(s).
Public propertyPartInstanceIndex
Gets/sets the index of the found part instance.
Public propertySubfeature
Gets/sets the subfeature type within the 3D model feature. The found 2D feature(s) corresponds to this subfeature type.
Top
Remarks

Note that the index of the found part instance is particular to the image acquired from the specified camera. The part instances with the same index number from different cameras may not correspond to the same part in the scene.

See Also