Cog3DShapeProjector ClassCognex VisionPro 9.21
This class provides the functionality for projecting the vertex and/or curve representations of 3D shapes onto the image plane of a calibrated 2D camera i.e. acquired image, converting the projection results to 2D VisionPro graphics and then appending the graphics to a VisionPro CogGraphicCollection.
Inheritance Hierarchy

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

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

[SerializableAttribute]
public class Cog3DShapeProjector : CogSerializableObjectBase, 
	IDisposable

The Cog3DShapeProjector type exposes the following members.

Constructors

  NameDescription
Public methodCog3DShapeProjector 
Initializes this object for use. It is initialized such that: Color is CogColorConstants.Cyan, LineWidthInScreenPixels is 1, LineStyle is CogGraphicLineStyleConstants.Solid, and ShapeRepresentation is Cog3DShapeStateConstants.Vertex | Cog3DShapeStateConstants::Curve.
Public methodCog3DShapeProjector(Cog3DShapeProjector)
Protected methodCog3DShapeProjector(SerializationInfo, StreamingContext)
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.)
Public methodExecute(Cog3DVect2Collection, ICogGraphic, Boolean, CogGraphicCollection)
Overload to draw a collection of 2D points. exemplarShape can be a VisionPro shape that serves as a marker: CogCircle, CogPointMarker, or CogRectangle.
Public methodExecute(ICog3DShape, Cog3DTransformRigid, Cog3DCameraCalibration, CogGraphicCollection)
Maps the specified 3D shape using the phys3DFromShape3D transform. Then projects the mapped 3D shape using the raw2DFromPhys3D camera calibration onto the image plane. The shape is then rendered as a VisionPro graphic and appended to the specified graphicsCollection.
Public methodExecute(List ICog3DShape , Cog3DTransformRigid, Cog3DCameraCalibration, CogGraphicCollection)
Maps a list of 3D shapes using the phys3DFromShape3D transform. Then projects the mapped 3D shapes using the raw2DFromPhys3D camera calibration onto the image plane. The shapes are then rendered as VisionPro graphics and appended to the specified graphicsCollection.
Public methodExecute(Cog3DVect3, Cog3DTransformRigid, Cog3DCameraCalibration, String, CogGraphicCollection)
Maps 3D coordinate axes using the phys3DFromAxes3D transform. Then projects the mapped 3D coordinate axes using the raw2DFromPhys3D camera calibration onto the image plane. The projected axes, along with x, y, z text and specified label are then rendered as VisionPro graphics and appended to the specified graphicsCollection.
Public methodExecute(Cog3DVect3Collection, Cog3DTransformRigid, Cog3DCameraCalibration, ICogGraphic, Boolean, CogGraphicCollection)
Overload to draw a collection of 3D points. exemplarShape can be a VisionPro shape that serves as a marker: CogCircle, CogPointMarker, or CogRectangle.
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 (Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).)
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
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyColor
Gets/sets the color of the shapes being rendered.
Public propertyLineStyle
Gets/sets the line style used for rendering the shapes.
Public propertyLineWidthInScreenPixels
Gets/sets the line width used for rendering the shapes.
Public propertyShapeRepresentation
Gets/sets how shapes are to be rendered.
Top
See Also