de.grogra.imp3d.spectral
public class RegularSpectralCurve extends SpectralCurve
| Modifier and Type | Class and Description |
|---|---|
static class |
RegularSpectralCurve.Type |
| Modifier and Type | Field and Description |
|---|---|
static RegularSpectralCurve.Type |
$TYPE |
static SCOType.Field |
delta$FIELD |
static SCOType.Field |
invDelta$FIELD |
static SCOType.Field |
lambdaMax$FIELD |
static SCOType.Field |
lambdaMin$FIELD |
static SCOType.Field |
spectrum$FIELD |
| Constructor and Description |
|---|
RegularSpectralCurve() |
RegularSpectralCurve(float[] spectrum,
float lambdaMin,
float lambdaMax) |
| Modifier and Type | Method and Description |
|---|---|
ManageableType |
getManageableType() |
float |
sample(float lambda)
This function determines the actual spectral curve data.
|
toXYZ, toXYZaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic static final RegularSpectralCurve.Type $TYPE
public static final SCOType.Field delta$FIELD
public static final SCOType.Field invDelta$FIELD
public static final SCOType.Field lambdaMax$FIELD
public static final SCOType.Field lambdaMin$FIELD
public static final SCOType.Field spectrum$FIELD
public RegularSpectralCurve()
public RegularSpectralCurve(float[] spectrum,
float lambdaMin,
float lambdaMax)
public ManageableType getManageableType()
public float sample(float lambda)
SpectralCurvesample in class SpectralCurvelambda - wavelength to sample in nanometers