|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sunflow.image.SpectralCurve
public abstract class SpectralCurve
This class is an abstract interface to sampled or analytic spectral data.
| Constructor Summary | |
|---|---|
SpectralCurve()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpectralCurve()
| Method Detail |
|---|
public abstract float sample(float lambda)
lambda - wavelength to sample in nanometers
public final XYZColor toXYZ()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||