Gets or sets the train region. Only the portion of the 3D train data
that lies within this region is trained by 3DPatMax. If the
supplied region object is null, all of the 3D data is trained.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 87.0.0.0
Syntax
Property Value
Type: ICog3DShapeThe train region. Default value is a Cog3DBox that is centered at (0, 0, 75) with a size of (100, 100, 150) and no rotation.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed |
Fires when this property changes.
The following state flags may be affected:
|
Remarks
You can use a train region to specify what part of the vision data is incorporated into the pattern at training time. 3DPatMax will only train 3D data points that fall inside the 3D shape specified by the TrainRegion property. If this train region is null, the entire vision data will be trained.
The only allowed shape for the train region is a Cog3DBox. The 3DPatMax training algorithm will completely ignore any 3D points that fall outside of the specified box.
If you change this value on a trained pattern object, the pattern will become untrained.
See Also