de.grogra.imp3d.spectral
Class RegularSpectralCurve
java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.imp3d.spectral.SpectralCurve
de.grogra.imp3d.spectral.RegularSpectralCurve
- All Implemented Interfaces:
- Manageable, Shareable
public class RegularSpectralCurve
- extends SpectralCurve
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
$TYPE
public static final RegularSpectralCurve.Type $TYPE
delta$FIELD
public static final SCOType.Field delta$FIELD
invDelta$FIELD
public static final SCOType.Field invDelta$FIELD
lambdaMax$FIELD
public static final SCOType.Field lambdaMax$FIELD
lambdaMin$FIELD
public static final SCOType.Field lambdaMin$FIELD
spectrum$FIELD
public static final SCOType.Field spectrum$FIELD
RegularSpectralCurve
public RegularSpectralCurve()
RegularSpectralCurve
public RegularSpectralCurve(float[] spectrum,
float lambdaMin,
float lambdaMax)
getManageableType
public ManageableType getManageableType()
sample
public float sample(float lambda)
- Description copied from class:
SpectralCurve
- This function determines the actual spectral curve data. Note that the
lambda parameter is assumed to be in nanometers.
- Specified by:
sample
in class SpectralCurve
- Parameters:
lambda
- wavelength to sample in nanometers
- Returns:
- the value of the spectral curve at this point