Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 85.1.0.0
Parameters
- inputVisionData
- Type: Cognex.VisionPro ICogVisionData
The 3D input vision data to be searched.3D vision data can be stored in a single CogImage16Range or stored in a CogVisionDataContainer as a matched pair, with one CogImage16Range holding the 3D data and one CogImage16Grey holding corresponding grey-level information or stored in a Cog3DPointCloudMesh. Either style of input is acceptable. All objects are referred to by the term "vision data" and all support the ICogVisionData interface.
- region
- Type: Cognex.VisionPro3D ICog3DShape
An optional region of interest. It must be a Cog3DBox. The function only matches the pattern to 3D data points that fall inside this box. If you specify a null region, the entire input vision data is searched.
- runParams
- Type: Cognex.VisionPro3D Cog3DPatMaxRunParams
The parameters that specify how to run this 3DPatMax search.
Return Value
Type: Cog3DPatMaxResultsThe 3DPatMax results that were found. Results are sorted in order of decreasing score.
| Exception | Condition |
|---|---|
| ArgumentNullException | inputVisionData is null. |
| ArgumentNullException | runParams is null. |
| CogSecurityViolationException | Licensing for this operation cannot be confirmed. See Understanding VisionPro Security for more information. |
| CogOperatorNotTrainedException | This pattern operator is not trained. |
| ArgumentOutOfRangeException |
The inputVisionData is not a valid source of 3D
vision data.
3D vision data can be stored in a single CogImage16Range or stored in a CogVisionDataContainer as a matched pair, with one CogImage16Range holding the 3D data and one CogImage16Grey holding corresponding grey-level information or stored in a Cog3DPointCloudMesh. Either style of input is acceptable. All objects are referred to by the term "vision data" and all support the ICogVisionData interface. |
| InvalidOperationException | The region contains too few 3D points to allow searching. This might occur because the region falls completely outside of the inputVisionData, or has an invalid SelectedSpaceName3D. |
| CogTimeoutExpiredException | The pattern search took longer than the enabled Timeout value. |