CogAcqRangeImage ZOffset Property Cognex VisionPro 9.10
Reads or sets the distance, in mm, relative to the camera defined origin of the Z axis, which corresponds to a pixel value of 0. Used when generating range images. The default is 0.0.

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
Syntax

public virtual double ZOffset { get; set; }

Property Value

Type: Double
Defines a distance, in mm, relative camera defined origin of the Z axis, which corresponds to a pixel value of 0.

Implements

ICogAcqRangeImage ZOffset
Events

Event TypeReason
ICogChangedEvent ChangedFires when this property changes. The following state flag may be affected: SfZOffset
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied value is less than ZOffsetMin or greater than ZOffsetMax.
See Also