IlluminationBuilder

public interface IlluminationBuilder

Builds a new Illumination instance.

Author:Kyle M. Douglass

Methods

build

public Illumination build()

Creates a new Illumination instance from the builder’s properties.

Returns:A new Illumination instance.

power

public IlluminationBuilder power(double power)

Sets the power delivered by the illumination.

Parameters:
  • power – The illumination’s power (energy per time).
Returns:

A new IlluminationBuilder with the power set.

refractiveIndex

public IlluminationBuilder refractiveIndex(RefractiveIndex refractiveIndex)

Sets the refractive index of the sample.

Parameters:
  • refractiveIndex – The sample’s refractive index.
Returns:

A new IlluminationBuilder with the refractive index set.

wavelength

public IlluminationBuilder wavelength(double wavelength)

Sets the wavelength of the illumination.

Parameters:
  • wavelength – The illumination’s wavelength.
Returns:

A new IlluminationBuilder with the refractive wavelength set.