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

SpectralTexture Class Reference

A Texture that allows for wavelength dependent values. More...

#include <textures/SpectralTexture.h>

Inheritance diagram for SpectralTexture:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SpectralTexture (const char *filename)
rgb value (const Vector2 &tex2d, const Vector3 &tex3d, Context &context) const

Detailed Description

A Texture that allows for wavelength dependent values.


Member Function Documentation

rgb SpectralTexture::value const Vector2 tex2d,
const Vector3 tex3d,
Context context
const [virtual]
 

Lookup the value from a Texture.

Parameters:
[in] tex2d A 2D texture coordinate.
[in] tex3d A 3D texture coordinate.
[in] context The rendering context.
Returns:
The value of the texture for the given coordinates.

Implements Texture< rgb >.


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