de.grogra.imp3d.objects
public class LightDistribution extends ShareableBase implements LightDistributionIF
| Modifier and Type | Class and Description |
|---|---|
static class |
LightDistribution.Type |
| Modifier and Type | Field and Description |
|---|---|
static LightDistribution.Type |
$TYPE |
static SCOType.Field |
height$FIELD |
static SCOType.Field |
licdf$FIELD |
static SCOType.Field |
lipdf$FIELD |
static SCOType.Field |
width$FIELD |
| Constructor and Description |
|---|
LightDistribution() |
LightDistribution(double[][] lipdf) |
| Modifier and Type | Method and Description |
|---|---|
static Vector2f |
cartesian2map(Vector3f direction) |
double |
getDensityAt(Vector3f direction) |
double[][] |
getDistribution() |
int |
getHeight() |
double[] |
getLinearCDF() |
ManageableType |
getManageableType() |
double |
getPower() |
int |
getWidth() |
static Vector3f |
map2cartesian(float r1,
float r2) |
static void |
map2cartesian(Tuple3f out,
float r1,
float r2) |
double |
map2direction(Vector3f outDirection,
Tuple2d inPoint) |
void |
setDistribution(double[][] lipdf) |
void |
setDistributionEx(double[][] lipdf) |
void |
setPower(double power) |
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic static final LightDistribution.Type $TYPE
public static final SCOType.Field height$FIELD
public static final SCOType.Field licdf$FIELD
public static final SCOType.Field lipdf$FIELD
public static final SCOType.Field width$FIELD
public LightDistribution()
public LightDistribution(double[][] lipdf)
public double getDensityAt(Vector3f direction)
getDensityAt in interface LightDistributionIFpublic double[][] getDistribution()
getDistribution in interface LightDistributionIFpublic int getHeight()
getHeight in interface LightDistributionIFpublic double[] getLinearCDF()
getLinearCDF in interface LightDistributionIFpublic ManageableType getManageableType()
getManageableType in interface Manageablepublic double getPower()
getPower in interface LightDistributionIFpublic int getWidth()
getWidth in interface LightDistributionIFpublic static Vector3f map2cartesian(float r1, float r2)
public static void map2cartesian(Tuple3f out, float r1, float r2)
public double map2direction(Vector3f outDirection, Tuple2d inPoint)
map2direction in interface LightDistributionIFpublic void setDistribution(double[][] lipdf)
setDistribution in interface LightDistributionIFpublic void setDistributionEx(double[][] lipdf)
setDistributionEx in interface LightDistributionIFpublic void setPower(double power)
setPower in interface LightDistributionIF