de.grogra.imp3d.shading
public class IOR extends ShareableBase implements Interior
| Modifier and Type | Class and Description |
|---|---|
static class |
IOR.Type |
Interior.Input| Modifier and Type | Field and Description |
|---|---|
static IOR.Type |
$TYPE |
static SCOType.Field |
indexOfRefraction$FIELD |
| Modifier and Type | Method and Description |
|---|---|
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() |
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic static final IOR.Type $TYPE
public static final SCOType.Field indexOfRefraction$FIELD
public void attenuate(Interior.Input in, Color3f outColor)
Interiorpublic float getIndexOfRefraction()
public float getIndexOfRefraction(Spectrum spectrum)
Interiorspectrum.getIndexOfRefraction in interface Interiorspectrum - spectrum for which the average IOR has to be computedpublic ManageableType getManageableType()
getManageableType in interface Manageable