de.grogra.imp3d.spectral
public abstract class SpectralCurve extends ShareableBase
| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
| Constructor and Description |
|---|
SpectralCurve() |
| Modifier and Type | Method and Description |
|---|---|
abstract float |
sample(float lambda)
This function determines the actual spectral curve data.
|
org.sunflow.image.XYZColor |
toXYZ()
Convert this curve to a tristimulus CIE XYZ color by integrating against
the CIE color matching functions.
|
static org.sunflow.image.XYZColor |
toXYZ(float lambda,
float amplitude) |
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetManageableTypepublic static final Node.NType $TYPE
public abstract float sample(float lambda)
lambda - wavelength to sample in nanometerspublic final org.sunflow.image.XYZColor toXYZ()
public static final org.sunflow.image.XYZColor toXYZ(float lambda,
float amplitude)