java.lang.Object
de.grogra.gpuflux.scene.shading.FluxSpectrum.SpectralDiscretization
- Enclosing class:
- FluxSpectrum
-
Constructor Summary
ConstructorDescriptionSpectralDiscretization
(int spectralLambdaMin, int spectralLambdaMax, int spectralLambdaStep) -
Method Summary
Modifier and TypeMethodDescriptionfloat[]
float[]
getDiscreteNormalizedSPD
(SpectralCurve SPD, float unit) float[]
int
int
int
int
float
getSPDPower
(SpectralCurve SPD)
-
Constructor Details
-
SpectralDiscretization
public SpectralDiscretization(int spectralLambdaMin, int spectralLambdaMax, int spectralLambdaStep)
-
-
Method Details
-
getDiscreteSPD
-
getDiscreteNormalizedSPD
-
getSPDPower
-
getDiscreteCumulativeSPD
-
getLambdaMin
public int getLambdaMin() -
getLambdaMax
public int getLambdaMax() -
getLambdaStep
public int getLambdaStep() -
getLambdaBins
public int getLambdaBins()
-