Module gpuFlux

Class FluxSpectrum.SpectralDiscretization

java.lang.Object
de.grogra.gpuflux.scene.shading.FluxSpectrum.SpectralDiscretization
Enclosing class:
FluxSpectrum

public static class FluxSpectrum.SpectralDiscretization extends Object
  • Constructor Details

    • SpectralDiscretization

      public SpectralDiscretization(int spectralLambdaMin, int spectralLambdaMax, int spectralLambdaStep)
  • Method Details

    • getDiscreteSPD

      public float[] getDiscreteSPD(SpectralCurve SPD)
    • getDiscreteNormalizedSPD

      public float[] getDiscreteNormalizedSPD(SpectralCurve SPD, float unit)
    • getSPDPower

      public float getSPDPower(SpectralCurve SPD)
    • getDiscreteCumulativeSPD

      public float[] getDiscreteCumulativeSPD(SpectralCurve SPD)
    • getLambdaMin

      public int getLambdaMin()
    • getLambdaMax

      public int getLambdaMax()
    • getLambdaStep

      public int getLambdaStep()
    • getLambdaBins

      public int getLambdaBins()