Cog3DShapeProjector Execute Method (ICog3DShape, Cog3DTransformRigid, Cog3DCameraCalibration, CogGraphicCollection)Cognex VisionPro 9.7
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.

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

public void Execute(
	ICog3DShape shapeShape3D,
	Cog3DTransformRigid phys3DFromShape3D,
	Cog3DCameraCalibration raw2DFromPhys3D,
	CogGraphicCollection graphicCollection
)

Parameters

shapeShape3D
Type: Cognex.VisionPro3D ICog3DShape
The 3D shape to be projected and rendered.
phys3DFromShape3D
Type: Cognex.VisionPro3D Cog3DTransformRigid
The rigid transform used to map the shape from the coordinate space it is defined into the Phys3D coordinate space of the specified raw2DFromPhys3D camera calibration. This parameter can be null to signify an identity transform should be used.
raw2DFromPhys3D
Type: Cognex.VisionPro3D Cog3DCameraCalibration
The camera calibration used for projecting the 3D shape onto an acquired image.
graphicCollection
Type: Cognex.VisionPro CogGraphicCollection
The VisionPro graphics collection the rendered shape is appended to.
Exceptions

ExceptionCondition
ArgumentNullException If shapeShape3D, raw2DFromPhys3D, or graphicCollection is null.
See Also