de.grogra.imp3d.objects
public class LightDistributionRef extends ItemReference<LightDistributionIF> implements LightDistributionIF
| Modifier and Type | Class and Description |
|---|---|
static class |
LightDistributionRef.Type |
| Modifier and Type | Field and Description |
|---|---|
static LightDistributionRef.Type |
$TYPE |
item, itemResolved, name$FIELD, object, objectResolved| Constructor and Description |
|---|
LightDistributionRef(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDensityAt(Vector3f direction) |
double[][] |
getDistribution() |
int |
getHeight() |
double[] |
getLinearCDF() |
ManageableType |
getManageableType() |
double |
getPower() |
int |
getWidth() |
java.lang.Object |
manageableWriteReplace() |
double |
map2direction(Vector3f outDirection,
Tuple2d inPoint) |
LightDistributionIF |
resolve() |
void |
setDistribution(double[][] lipdf) |
void |
setDistributionEx(double[][] lipdf) |
void |
setPower(double power) |
createItem, equals, getName, hashCode, resolveItem, resolveObjectaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, removeReferencepublic static final LightDistributionRef.Type $TYPE
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 java.lang.Object manageableWriteReplace()
manageableWriteReplace in interface ManageablemanageableWriteReplace in class ShareableBasepublic double map2direction(Vector3f outDirection, Tuple2d inPoint)
map2direction in interface LightDistributionIFpublic LightDistributionIF resolve()
public void setDistribution(double[][] lipdf)
setDistribution in interface LightDistributionIFpublic void setDistributionEx(double[][] lipdf)
setDistributionEx in interface LightDistributionIFpublic void setPower(double power)
setPower in interface LightDistributionIF