Module gpuFlux

Class RGBSpectralCurve

All Implemented Interfaces:
Manageable, Shareable

public class RGBSpectralCurve extends SpectralCurve
  • Field Details

  • Constructor Details

    • RGBSpectralCurve

      public RGBSpectralCurve()
    • RGBSpectralCurve

      public RGBSpectralCurve(float r, float g, float b)
  • Method Details

    • getManageableType

      public ManageableType getManageableType()
    • sample

      public float sample(float lambda)
      Description copied from class: SpectralCurve
      This function determines the actual spectral curve data. Note that the lambda parameter is assumed to be in nanometers.
      Specified by:
      sample in class SpectralCurve
      Parameters:
      lambda - wavelength to sample in nanometers
      Returns:
      the value of the spectral curve at this point