|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.grogra.persistence.ShareableBase
de.grogra.rgg.LightModelBase
public abstract class LightModelBase
Field Summary | |
---|---|
static Node.NType |
$TYPE
|
Constructor Summary | |
---|---|
LightModelBase()
|
Method Summary | |
---|---|
abstract void |
compute()
(Re-)computes the light distribution in the current graph. |
abstract void |
compute(boolean force)
(Re-)computes the light distribution in the current graph. |
abstract void |
compute(Spectrum spectrumFactory)
(Re-)computes the light distribution in the current graph. |
abstract void |
compute(Spectrum spectrumFactory,
boolean force)
(Re-)computes the light distribution in the current graph. |
abstract Spectrum |
getAbsorbedPower(Node node)
Returns the radiant power in Watts which is absorbed by the surface of the volume of the given node . |
Spectrum3d |
getAbsorbedPower3d(Node node)
Returns the radiant power in Watts which is absorbed by the surface of the volume of the given node , represented as a
Spectrum3d . |
Spectrum3d |
getRadiantPower3dFor(Node node)
Deprecated. |
Spectrum |
getRadiantPowerFor(Node node)
Deprecated. |
abstract Spectrum |
getSensedIrradiance(Node node)
Returns the irradiance in Watts per square meter which is sensed by the sensor attached to the volume of the given node . |
Spectrum3d |
getSensedIrradiance3d(Node node)
|
abstract void |
setLayerVisible(int layer,
boolean visible)
sets the visibility of a layer |
Methods inherited from class de.grogra.persistence.ShareableBase |
---|
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.grogra.persistence.Manageable |
---|
getManageableType |
Field Detail |
---|
public static final Node.NType $TYPE
Constructor Detail |
---|
public LightModelBase()
Method Detail |
---|
public abstract void compute()
public abstract void compute(boolean force)
force
- if true forces recomputation of the light distributionpublic abstract void compute(Spectrum spectrumFactory)
spectrumFactory
- factrory for spectrum objectspublic abstract void compute(Spectrum spectrumFactory, boolean force)
getRadiantPowerFor(de.grogra.graph.impl.Node)
, getAbsorbedPower(de.grogra.graph.impl.Node)
and getSensedIrradiance(de.grogra.graph.impl.Node)
to return correct values.
spectrumFactory
- factrory for spectrum objectsforce
- if true forces recomputation of the light distributionpublic abstract Spectrum getAbsorbedPower(Node node)
node
. If the node
does not define a volume, the zero spectrum is returned.
node
- a node of the graph
public Spectrum3d getAbsorbedPower3d(Node node)
node
, represented as a
Spectrum3d
. If the node
does not define a volume, the zero spectrum is returned.
node
- a node of the graph
@Deprecated public Spectrum3d getRadiantPower3dFor(Node node)
node
-
@Deprecated public Spectrum getRadiantPowerFor(Node node)
node
-
public abstract Spectrum getSensedIrradiance(Node node)
node
.
If the node
does not define a volume with a sensor,
the zero spectrum is returned.
node
- a node of the graph
public Spectrum3d getSensedIrradiance3d(Node node)
public abstract void setLayerVisible(int layer, boolean visible)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |