UVTexture Class Reference

Inheritance diagram for UVTexture:

Texture< Spectrum > ReferenceCounted

List of all members.

Public Member Functions

 UVTexture (TextureMapping2D *m)
 ~UVTexture ()
Spectrum Evaluate (const DifferentialGeometry &dg) const

Private Attributes

TextureMapping2Dmapping


Detailed Description

Definition at line 29 of file uv.cpp.


Constructor & Destructor Documentation

UVTexture::UVTexture ( TextureMapping2D m  )  [inline]

Definition at line 32 of file uv.cpp.

References mapping.

UVTexture::~UVTexture (  )  [inline]

Definition at line 35 of file uv.cpp.

References mapping.


Member Function Documentation

Spectrum UVTexture::Evaluate ( const DifferentialGeometry dg  )  const [inline, virtual]

Implements Texture< Spectrum >.

Definition at line 38 of file uv.cpp.

References COLOR_SAMPLES, Floor2Int(), TextureMapping2D::Map(), and mapping.


Member Data Documentation

Definition at line 48 of file uv.cpp.

Referenced by Evaluate(), UVTexture(), and ~UVTexture().


The documentation for this class was generated from the following file:

Generated on Mon Jul 20 17:31:56 2009 for pbrt by  doxygen 1.5.6