BlackbodySpectrum
, ChromaticitySpectrum
, ConstantSpectralCurve
, IrregularSpectralCurve
, RegularSpectralCurve
public abstract class SpectralCurve
extends java.lang.Object
Constructor | Description |
---|---|
SpectralCurve() |
Modifier and Type | Method | Description |
---|---|---|
abstract float |
sample(float lambda) |
This function determines the actual spectral curve data.
|
XYZColor |
toXYZ() |
Convert this curve to a tristimulus CIE XYZ color by integrating against
the CIE color matching functions.
|
public abstract float sample(float lambda)
lambda
- wavelength to sample in nanometerspublic final XYZColor toXYZ()