|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sunflow.image.SpectralCurve
org.sunflow.image.ChromaticitySpectrum
public final class ChromaticitySpectrum
This spectral curve represents a given (x,y) chromaticity pair as explained in the sun/sky paper (section A.5)
| Constructor Summary | |
|---|---|
ChromaticitySpectrum(float x,
float y)
|
|
| Method Summary | |
|---|---|
static XYZColor |
get(float x,
float y)
|
float |
sample(float lambda)
This function determines the actual spectral curve data. |
| Methods inherited from class org.sunflow.image.SpectralCurve |
|---|
toXYZ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChromaticitySpectrum(float x,
float y)
| Method Detail |
|---|
public float sample(float lambda)
SpectralCurve
sample in class SpectralCurvelambda - wavelength to sample in nanometers
public static final XYZColor get(float x,
float y)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||