|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.persistence.ShareableBase de.grogra.imp3d.shading.IOR
public class IOR
Nested Class Summary | |
---|---|
static class |
IOR.Type
|
Nested classes/interfaces inherited from interface de.grogra.ray.physics.Interior |
---|
Interior.Input |
Field Summary | |
---|---|
static IOR.Type |
$TYPE
|
static SCOType.Field |
indexOfRefraction$FIELD
|
Constructor Summary | |
---|---|
IOR()
|
|
IOR(float index)
|
Method Summary | |
---|---|
void |
attenuate(Interior.Input in,
Color3f outColor)
Calculates the attenuation of a light ray as it travels through this interior. |
float |
getIndexOfRefraction()
|
float |
getIndexOfRefraction(Spectrum spectrum)
Returns the index of refraction of the interior. |
ManageableType |
getManageableType()
|
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 |
Field Detail |
---|
public static final IOR.Type $TYPE
public static final SCOType.Field indexOfRefraction$FIELD
Constructor Detail |
---|
public IOR()
public IOR(float index)
Method Detail |
---|
public void attenuate(Interior.Input in, Color3f outColor)
Interior
attenuate
in interface Interior
in
- the input dataoutColor
- the outgoing color of the light ray will be placed in herepublic float getIndexOfRefraction()
public float getIndexOfRefraction(Spectrum spectrum)
Interior
spectrum
.
getIndexOfRefraction
in interface Interior
spectrum
- spectrum for which the average IOR has to be computed
public ManageableType getManageableType()
getManageableType
in interface Manageable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |