|
||||||||||
| 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.ConstantSpectralCurve
public class ConstantSpectralCurve
Very simple class equivalent to a constant spectral curve. Note that this is most likely physically impossible for amplitudes > 0, however this class can be handy since in practice spectral curves end up being integrated against the finite width color matching functions.
| Constructor Summary | |
|---|---|
ConstantSpectralCurve(float amp)
|
|
| Method Summary | |
|---|---|
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 ConstantSpectralCurve(float amp)
| Method Detail |
|---|
public float sample(float lambda)
SpectralCurve
sample in class SpectralCurvelambda - wavelength to sample in nanometers
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||