de.grogra.imp3d.spectral
public class RGBSpectralCurve extends SpectralCurve
| Modifier and Type | Class and Description |
|---|---|
static class |
RGBSpectralCurve.Type |
| Modifier and Type | Field and Description |
|---|---|
static RGBSpectralCurve.Type |
$TYPE |
static SCOType.Field |
b$FIELD |
static SCOType.Field |
g$FIELD |
static SCOType.Field |
r$FIELD |
| Constructor and Description |
|---|
RGBSpectralCurve() |
RGBSpectralCurve(float r,
float g,
float b) |
| 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 RGBSpectralCurve.Type $TYPE
public static final SCOType.Field b$FIELD
public static final SCOType.Field g$FIELD
public static final SCOType.Field r$FIELD
public RGBSpectralCurve()
public RGBSpectralCurve(float r,
float g,
float b)
public ManageableType getManageableType()
public float sample(float lambda)
SpectralCurvesample in class SpectralCurvelambda - wavelength to sample in nanometers