Cog3DAlignPattern PropertiesCognex VisionPro

The Cog3DAlignPattern type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.)
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyOrigin
Gets or sets the origin for the pattern. This 3D rigid transform maps points from "Pattern Space" to the 3D selected space of the train image. In other words, it defines the origin of the pattern's coordinate space relative to the 3D selected space of the train image.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Public propertySubsamplingCubeSize
Gets or sets the size of the subsampling cube to use during training and runtime. This value is the length of one side of the cube. If SubsamplingCubeSizeAutoSelect is "true" this size value is recomputed automatically when the pattern is trained, overwriting the previous value.
Public propertySubsamplingCubeSizeAutoSelect
Gets or sets whether to automatically recompute the size of the subsampling cube during pattern training. If "true", the size computed during training overwrites the existing SubsamplingCubeSize. Otherwise, it remains unchanged.
Public propertySubsamplingCubeSizeFineFraction
Gets or sets the fraction for determining the fine subsampling cube size to use during training and runtime. This fraction must be greater than zero and less than or equal to one. The product of this fraction and SubsamplingCubeSize specifies the length of one side of the fine subsampling cube.
Public propertyTrainAlgorithm
Gets or sets the 3DAlign algorithm to train. The trained algorithm is used at runtime.
Public propertyTrained
Gets whether this pattern is currently trained.
Public propertyTrainedAlgorithm
Gets the 3DAlign algorithm that was trained.
Public propertyTrainRegion
Gets or sets the train region. Only the portion of the 3D train image that lies within this region is trained by 3DAlign. If the supplied region object is null, the entire 3D image is trained.
Public propertyTrainTimeout
Gets or sets the maximum execution time (in msec) allowed when a 3DAlign pattern is trained. This value only applies if TrainTimeoutEnabled is set to "true".
Public propertyTrainTimeoutEnabled
Gets or sets whether to enable the train timeout.
Public propertyTrainVisionData
Gets or sets the 3D image data used to train this 3DAlign pattern. Only the portions of the 3D data that lie within the TrainRegion are trained.
Top
See Also