|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.persistence.ShareableBase
de.grogra.imp3d.spectral.SpectralCurve
public abstract class SpectralCurve
This class is an abstract interface to sampled or analytic spectral data.
| Field Summary | |
|---|---|
static Node.NType |
$TYPE
|
| Constructor Summary | |
|---|---|
SpectralCurve()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class de.grogra.persistence.ShareableBase |
|---|
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.grogra.persistence.Manageable |
|---|
getManageableType |
| Field Detail |
|---|
public static final Node.NType $TYPE
| Constructor Detail |
|---|
public SpectralCurve()
| Method Detail |
|---|
public abstract float sample(float lambda)
lambda - wavelength to sample in nanometers
public final org.sunflow.image.XYZColor toXYZ()
public static final org.sunflow.image.XYZColor toXYZ(float lambda,
float amplitude)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||