|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Interior
An Interior instance represents the interior of a solid
object. The interior defines the index of refraction and is
responsible for light ray attenuation.
| Nested Class Summary | |
|---|---|
static class |
Interior.Input
This class serves as input to attenuate(Input, Color3f). |
| Method Summary | |
|---|---|
void |
attenuate(Interior.Input in,
Color3f outColor)
Calculates the attenuation of a light ray as it travels through this interior. |
float |
getIndexOfRefraction(Spectrum spectrum)
Returns the index of refraction of the interior. |
| Method Detail |
|---|
void attenuate(Interior.Input in,
Color3f outColor)
in - the input dataoutColor - the outgoing color of the light ray will be placed in herefloat getIndexOfRefraction(Spectrum spectrum)
spectrum.
spectrum - spectrum for which the average IOR has to be computed
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||