File IAS_ImageSimulation.cs
Last update: 13.03.2026Classes
Namespaces
Source
using System;
using System.Runtime.InteropServices;
namespace ZOSAPI.Analysis.Settings.ExtendedScene
{
[ComVisible(true)]
[Guid("97ED8309-A9F2-47D9-AA32-06481785C981")]
public enum ISFlipTypes
{
None = 0,
TopBottom,
LeftRight,
TopBottomLeftRight,
}
[ComVisible(true)]
[Guid("DEF00C45-7787-4D22-8313-1A58251C1380")]
public enum ISSamplings
{
None = 0,
X2,
X4,
X8,
X16,
X32,
X64
}
[ComVisible(true)]
[Guid("BB60902B-E5A1-4743-BB6A-1CBA52F8BCDE")]
public enum ISAberrationTypes
{
None = 0,
Geometric,
Diffraction,
}
[ComVisible(true)]
[Guid("B19137BE-EF93-4169-8EA7-2FD1E0045B54")]
public enum ISShowAsTypes
{
SimulatedImage = 0,
SourceBitmap,
PSFGrid,
}
[ComVisible(true)]
[Guid("E6808780-3BC6-4123-A09C-56CF32903AA7")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface IAS_ImageSimulation : IAS_
{
// Source Bitmap Settings
string InputFile { get; set; }
double FieldHeight { get; set; }
ISFlipTypes FlipSource { get; set; }
Rotations RotationSource { get; set; }
ISSamplings Oversampling { get; set; }
ISSamplings GuardBand { get; set; }
IAS_Field Field { get; }
void SetWavelengthRGB();
void SetWavelength123();
void SetWavelengthNumber(int wlNum);
bool GetWavelengthRGB();
bool GetWavelength123();
int GetWavelengthNumber();
string[] GetInputFileNames();
// Convolution Grid Settings
SampleSizes PupilSampling { get; set; }
SampleSizes ImageSampling { get; set; }
ISAberrationTypes Aberrations { get; set; }
int PSFXPoints { get; set; }
int PSFYPoints { get; set; }
bool UsePolarization { get; set; }
bool ApplyFixedApertures { get; set; }
bool UseRelativeIllumination { get; set; }
// Detector and Display Settings
ISShowAsTypes ShowAs { get; set; }
ReferenceGia Reference { get; set; }
ISFlipTypes FlipImage { get; set; }
double PixelSize { get; set; }
int XPixels { get; set; }
int YPixels { get; set; }
bool SuppressFrame { get; set; }
string OutputFile { get; set; }
}
}