Click or drag to resize

InverseCorrection Class

Holds the inverse of a CorrectionFile.
Inheritance Hierarchy
SystemObject
  RAYLASE.SPICE3InverseCorrection

Namespace: RAYLASE.SPICE3
Assembly: RAYLASE.SPICE3 (in RAYLASE.SPICE3.dll) Version: 3.4.1
Syntax
C#
public class InverseCorrection : IDisposable

The InverseCorrection type exposes the following members.

Properties
 NameDescription
Public propertyFieldSize The XYZ field size for scaling when FromScanner(Point3DInt) or FromScanner(Point4DInt) is invoked.
Public propertyIs4D Indicates if the inverse correction file contains four dimensions.
Public propertyMaxMagnification The max magnification for scaling when FromScanner(Point3DInt) or FromScanner(Point4DInt) is invoked.
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodFromScanner(Point3DInt) Converts the scanner coordinates in bit back to user coordinates in µm.
Public methodFromScanner(Point4DInt) Converts the scanner coordinates in bit back to user coordinates in µm.
Public methodIsInverseOf(CorrectionFile) Indicates if this InverseCorrection is the inverse of the given CorrectionFile.
Public methodIsInverseOf(OpticalParameters) Indicates if this InverseCorrection is the inverse of a CorrectionFile by comparing the hash in the header (OpticalParameters) of an correction file.
Public methodIsInverseOf(String) Indicates if this InverseCorrection is the inverse of the given CorrectionFile.
Public methodStatic memberLoad Loads an existing inverse correction file from disk.
Public methodStore Stores a inverse correction into a file on the disk for later loading using Load(String).
Top
Remarks
This can be useful to calculate scanner coordinates (in bits) back to user coordinates (in µm). Note that this class has no public visible constructor. An inverse correction can only be calculated using an existing CorrectionFile by calling GetInverse. An existing inverse correction that was previously stored using Store(String), can be loaded using Load(String).
See Also