Cog3DShapeProjector Execute Method (Cog3DVect3Collection, Cog3DTransformRigid, Cog3DCameraCalibration, ICogGraphic, Boolean, CogGraphicCollection)Cognex VisionPro 9.5
Overload to draw a collection of 3D points. exemplarShape can be a VisionPro shape that serves as a marker: CogCircle, CogPointMarker, or CogRectangle.

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

public void Execute(
	Cog3DVect3Collection pointsAny3D,
	Cog3DTransformRigid phys3DFromAny3D,
	Cog3DCameraCalibration raw2DFromPhys3D,
	ICogGraphic exemplarShape,
	bool usingGraphicPropertiesOfShapeProjector,
	CogGraphicCollection graphicCollection
)

Parameters

pointsAny3D
Type: Cognex.VisionPro3D Cog3DVect3Collection
A collection of 3D points in an arbitrary 3D space.
phys3DFromAny3D
Type: Cognex.VisionPro3D Cog3DTransformRigid
The rigid transform used to map the points inside pointsAny3D to the Phy3D space of raw2DFromPhys3D. 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 mapped 3D points onto an acquired image. May not be null.
exemplarShape
Type: Cognex.VisionPro ICogGraphic
An example shape graphic used to draw each projected 2D point.
usingGraphicPropertiesOfShapeProjector
Type: System Boolean
If it is true, the graphic properties of this shape projector will be used in rendering, otherwise the graphic properties of exemplarShape will be used instead.
graphicCollection
Type: Cognex.VisionPro CogGraphicCollection
The VisionPro graphics collection the rendered graphics is appended to.
Exceptions

ExceptionCondition
ArgumentNullException If pointsAny3D, raw2DFromPhys3D, exemplarShape, or graphicCollection is null.
ArgumentException If exemplarShape is not of Type CogCircle, CogRectangle, or CogPointMarker.
See Also