java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.pf.registry.ItemReference<LightDistributionIF>
de.grogra.gpuflux.imp3d.objects.LightDistributionRef
- All Implemented Interfaces:
LightDistributionIF
,Manageable
,Shareable
public class LightDistributionRef
extends ItemReference<LightDistributionIF>
implements LightDistributionIF
-
Nested Class Summary
-
Field Summary
Fields inherited from class de.grogra.pf.registry.ItemReference
item, itemResolved, name$FIELD, object, objectResolved
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDensityAt
(Vector3f direction) double[][]
int
double[]
double
getPower()
int
getWidth()
double
map2direction
(Vector3f outDirection, Tuple2d inPoint) resolve()
void
setDistribution
(double[][] lipdf) void
setDistributionEx
(double[][] lipdf) void
setPower
(double power) Methods inherited from class de.grogra.pf.registry.ItemReference
createItem, equals, findChildrenWithoutExtension, getName, hashCode, removeExtension, resolveItem, resolveObject
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, removeReference
-
Field Details
-
$TYPE
-
-
Constructor Details
-
LightDistributionRef
-
-
Method Details
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
resolve
-
manageableWriteReplace
- Specified by:
manageableWriteReplace
in interfaceManageable
- Overrides:
manageableWriteReplace
in classShareableBase
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceLightDistributionIF
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceLightDistributionIF
-
getDistribution
public double[][] getDistribution()- Specified by:
getDistribution
in interfaceLightDistributionIF
-
getLinearCDF
public double[] getLinearCDF()- Specified by:
getLinearCDF
in interfaceLightDistributionIF
-
setDistribution
public void setDistribution(double[][] lipdf) - Specified by:
setDistribution
in interfaceLightDistributionIF
-
setDistributionEx
public void setDistributionEx(double[][] lipdf) - Specified by:
setDistributionEx
in interfaceLightDistributionIF
-
getPower
public double getPower()- Specified by:
getPower
in interfaceLightDistributionIF
-
setPower
public void setPower(double power) - Specified by:
setPower
in interfaceLightDistributionIF
-
getDensityAt
- Specified by:
getDensityAt
in interfaceLightDistributionIF
-
map2direction
- Specified by:
map2direction
in interfaceLightDistributionIF
-