ConstantTexture< T > Class Template Reference

#include <constant.h>

Inheritance diagram for ConstantTexture< T >:
Texture< T > ReferenceCounted

List of all members.

Public Member Functions

 ConstantTexture (const T &v)
Evaluate (const DifferentialGeometry &) const

Private Attributes

value

Detailed Description

template<typename T>
class ConstantTexture< T >

Definition at line 37 of file constant.h.


Constructor & Destructor Documentation

template<typename T>
ConstantTexture< T >::ConstantTexture ( const T &  v  )  [inline]

Definition at line 40 of file constant.h.

References ConstantTexture< T >::value.


Member Function Documentation

template<typename T>
T ConstantTexture< T >::Evaluate ( const DifferentialGeometry  )  const [inline, virtual]

Implements Texture< T >.

Definition at line 41 of file constant.h.

References ConstantTexture< T >::value.


Member Data Documentation

template<typename T>
T ConstantTexture< T >::value [private]

The documentation for this class was generated from the following file:
Generated on Sat Aug 28 20:00:13 2010 for pbrt by  doxygen 1.6.3