Cog3DRangeImageCrossSectionProfile GetProfileDataInRangeImageSelectedSpaceName3D Method Cognex VisionPro 9.8
Returns the profile data in the specified 3D space that can be found in the CoogrdinateSpaceTree3D of the range image. Each point in the profile is mapped back to the specified 3D space, packaged as a Cog3DVect3 object, and added to the Cog3DVect3Collection. Returns null if the ProfileRoot is null, or if the profile has zero points.

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

public Cog3DVect3Collection GetProfileDataInRangeImageSelectedSpaceName3D(
	string ssn3D
)

Parameters

ssn3D
Type: System String
A user specified profile selected space name. If the value is null or ".", then the SelectedSpaceName3D is used.

Return Value

Type: Cog3DVect3Collection
Exceptions

ExceptionCondition
CogSpaceTreeNameNotInTreeException if the ssn is not in the tree.
Remarks

The user should rely on the weights array (returned by GetWeights()) to determine what action to take with regards to non-visible pixels. The weights array is of the same size as the profile data array, and should be used to determine which points in the profile data are "missing". Any point whose weight is zero is considered "missing" and should not be examined: its height (z-value) is meaningless.
See Also