de.grogra.gpuflux.scene.shading
Class FluxSpectrum
java.lang.Object
de.grogra.gpuflux.scene.shading.FluxSpectrum
public class FluxSpectrum
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FluxSpectrum
public FluxSpectrum(SpectralCurve SPD)
getDiscretization
public static FluxSpectrum.SpectralDiscretization getDiscretization()
getRGBDistribution
public Point3f getRGBDistribution()
getRGBDistribution
public static Point3f getRGBDistribution(SpectralCurve SPD)
serialize
public void serialize(ComputeByteBuffer out)
throws java.io.IOException
- Throws:
java.io.IOException
serialize
public static void serialize(ComputeByteBuffer out,
SpectralCurve SPD)
throws java.io.IOException
- Throws:
java.io.IOException
serializeCorrectedCumulativeSPD
public static void serializeCorrectedCumulativeSPD(ComputeByteBuffer out,
SpectralCurve SPD)
throws java.io.IOException
- Throws:
java.io.IOException
serializeCumulativeSPD
public static void serializeCumulativeSPD(ComputeByteBuffer out,
SpectralCurve SPD)
throws java.io.IOException
- Throws:
java.io.IOException
serializeNormalizedSPD
public static void serializeNormalizedSPD(ComputeByteBuffer out,
SpectralCurve SPD,
float unit)
throws java.io.IOException
- Throws:
java.io.IOException
serializeSPD
public static void serializeSPD(ComputeByteBuffer out,
SpectralCurve SPD)
throws java.io.IOException
- Throws:
java.io.IOException
setDiscretization
public static void setDiscretization(FluxSpectrum.SpectralDiscretization discretization)
setImportance
public static void setImportance(SpectralCurve ImportanceSPD)