Click or drag to resize

SingleWavelengthReconstructionGetDistance Method

Gets or sets the reconstruction distance for one of the laser source, in [m]. The value must include the Objective-Source Correction. The new value will be used on the next processed image. To reprocess the last hologram, call OnDistanceChange(windowsList) after setting the value.

Namespace:  LynceeTec.Processing.Holography
Assembly:  LynceeTec.InterfaceProcessing (in LynceeTec.InterfaceProcessing.dll) Version: 0.0.0.0
Syntax
public virtual double GetDistance(
	int lambdaId
)

Parameters

lambdaId
Type: SystemInt32
The logical laser source id for the current configuration. (Ignored in single wavelength configuration).

Return Value

Type: Double

Implements

IReconstructionGetDistance(Int32)
Examples
Usage:
//lambdaId will be ignored in single wavelength configuration
set_Distance(lambdaId, newDistance);
double newDistance = get_Distance(lambdaId);
See Also