Cog3DPatMaxTool SearchRegion Property Cognex VisionPro 9.8
Gets or sets the search region. Only the portion of the 3D input that lies within this region will be searched by 3DPatMax. If the supplied region object is null, the entire input vision data will be searched.

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

public ICog3DShape SearchRegion { get; set; }

Property Value

Type: ICog3DShape
The search region. Default value is null.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flags may be affected:
Remarks

You can use a search region to control what part of the input vision data is searched by the 3DPatMax tool. The tool will only attempt to match the pattern to 3D data points that fall inside the 3D shape specified by the SearchRegion property. If this search region is null, the entire input vision data will be searched.

The only allowed shape for the search region is a Cog3DBox. The 3DPatMax tool will completely ignore any 3D input points that fall outside of the specified box.

See Also