Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

SpectralDielectric Class Reference

A Dielectric with index of refraction varying with wavelength. More...

#include <surfaceshaders/SpectralDielectric.h>

Inheritance diagram for SpectralDielectric:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SpectralDielectric (RefractiveIndex *ir)
rgb radiance (const HitRecord &rec, Context &context) const

Detailed Description

A Dielectric with index of refraction varying with wavelength.


Member Function Documentation

rgb SpectralDielectric::radiance const HitRecord rec,
Context context
const [virtual]
 

Calculate the radiance at the shading point towards the viewer (-context.ray.direction).

Parameters:
[in] rec HitRecord associated with point to be shaded.
[in,out] context The rendering context.
Returns:
The radiance along the viewing ray for the shading point.

Reimplemented from SurfaceShader.


The documentation for this class was generated from the following files:
Generated on Wed Jul 20 16:15:27 2005 for galileo by  doxygen 1.4.3