lux::ConstantRGBColorTexture< T > Class Template Reference

#include <constant.h>

Inheritance diagram for lux::ConstantRGBColorTexture< T >:
[legend]
Collaboration diagram for lux::ConstantRGBColorTexture< T >:
[legend]

List of all members.

Public Member Functions

 ConstantRGBColorTexture (const RGBColor &s)
virtual ~ConstantRGBColorTexture ()
virtual T Evaluate (const TsPack *tspack, const DifferentialGeometry &) const
virtual void SetPower (float power, float area)
virtual void SetIlluminant ()

Private Attributes

SPDRGBSPD
RGBColor color

Detailed Description

template<class T>
class lux::ConstantRGBColorTexture< T >

Definition at line 48 of file constant.h.


Constructor & Destructor Documentation

template<class T >
lux::ConstantRGBColorTexture< T >::ConstantRGBColorTexture ( const RGBColor s  )  [inline]
template<class T >
virtual lux::ConstantRGBColorTexture< T >::~ConstantRGBColorTexture (  )  [inline, virtual]

Definition at line 55 of file constant.h.

References lux::ConstantRGBColorTexture< T >::RGBSPD.


Member Function Documentation

template<class T >
virtual T lux::ConstantRGBColorTexture< T >::Evaluate ( const TsPack tspack,
const DifferentialGeometry  
) const [inline, virtual]

Implements lux::Texture< T >.

Definition at line 56 of file constant.h.

References lux::ConstantRGBColorTexture< T >::RGBSPD.

template<class T >
virtual void lux::ConstantRGBColorTexture< T >::SetIlluminant (  )  [inline, virtual]
template<class T >
virtual void lux::ConstantRGBColorTexture< T >::SetPower ( float  power,
float  area 
) [inline, virtual]

Reimplemented from lux::Texture< T >.

Definition at line 59 of file constant.h.

References M_PI, lux::ConstantRGBColorTexture< T >::RGBSPD, lux::SPD::Scale(), and lux::SPD::Y().


Member Data Documentation

template<class T >
RGBColor lux::ConstantRGBColorTexture< T >::color [private]
template<class T >
SPD* lux::ConstantRGBColorTexture< T >::RGBSPD [private]

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208