Class BasicParameter
- Namespace
- VirtualLabAPI.Core.OpticalSystems
- Assembly
- VirtualLabAPI.dll
The parameter which holds the data for the numerical setup of light sources.
[Serializable]
public class BasicParameter : ManualSerialization, IEquatable<IObjectBase>, ISerializable, IDeserializationCallback, ICloneable
- Inheritance
-
ObjectBaseSerializableObjectBaseManualSerializationBasicParameter
- Implements
-
IEquatable<IObjectBase>
- Inherited Members
Constructors
BasicParameter()
Constructor. Sets the type to Monochromatic.
public BasicParameter()
Properties
ApertureShape
Shape of the Aperture: Elliptic or rectangular.
[Obsolete("Use GetApertureSettings / SetApertureSettings")]
public BasicParameter.eApertureShape ApertureShape { get; set; }
Property Value
ArraySize
Get the field size resulting from aperture size, edge width and lateral offset. The embedding frame is not considered.
public VectorD ArraySize { get; }
Property Value
DistanceToOrigin
Distance of input plane to source plane.
public double DistanceToOrigin { get; set; }
Property Value
EmbeddingSize
Size of the embedding frame in pixels.
public int EmbeddingSize { get; set; }
Property Value
IsAutomaticApertureSupported
Gets and sets whether AutomaticAperture can be true.
public bool IsAutomaticApertureSupported { get; set; }
Property Value
LateralOffset
Lateral offset of the field.
public VectorD LateralOffset { get; set; }
Property Value
ShiftField
Flag to indicate that the light source is shifted.
public bool ShiftField { get; set; }
Property Value
Methods
Equals(object, EqualityIntent)
Determines whether the specified object is equal to this instance.
public override bool Equals(object otherObject, EqualityIntent equalityIntent)
Parameters
otherObjectobjectThe object to compare with this instance.
equalityIntentEqualityIntentDefines what kind of equality you want to check when comparing two objects, for example all values or just physical equality.
Returns
GetApertureSettings()
Gets the aperture settings.
public ApertureSettings GetApertureSettings()
Returns
- ApertureSettings
The aperture settings as one object.
SetApertureSettings(ApertureSettings)
Sets the aperture settings.
public void SetApertureSettings(ApertureSettings apertureSettings)
Parameters
apertureSettingsApertureSettingsThe aperture settings as one object.