lux::MixTexture< T > Class Template Reference

#include <mix.h>

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

List of all members.

Public Member Functions

 MixTexture (boost::shared_ptr< Texture< T > > t1, boost::shared_ptr< Texture< T > > t2, boost::shared_ptr< Texture< float > > amt)
virtual ~MixTexture ()
virtual T Evaluate (const TsPack *tspack, const DifferentialGeometry &dg) const
virtual void SetPower (float power, float area)
virtual void SetIlluminant ()

Static Public Member Functions

static Texture< float > * CreateFloatTexture (const Transform &tex2world, const TextureParams &tp)
static Texture< SWCSpectrum > * CreateSWCSpectrumTexture (const Transform &tex2world, const TextureParams &tp)

Private Attributes

boost::shared_ptr< Texture< T > > tex1
boost::shared_ptr< Texture< T > > tex2
boost::shared_ptr< Texture
< float > > 
amount

Detailed Description

template<class T>
class lux::MixTexture< T >

Definition at line 33 of file mix.h.


Constructor & Destructor Documentation

template<class T >
lux::MixTexture< T >::MixTexture ( boost::shared_ptr< Texture< T > >  t1,
boost::shared_ptr< Texture< T > >  t2,
boost::shared_ptr< Texture< float > >  amt 
) [inline]
template<class T >
virtual lux::MixTexture< T >::~MixTexture (  )  [inline, virtual]

Definition at line 43 of file mix.h.


Member Function Documentation

template<class T >
Texture< float > * lux::MixTexture< T >::CreateFloatTexture ( const Transform tex2world,
const TextureParams tp 
) [inline, static]

Definition at line 67 of file mix.h.

References lux::TextureParams::GetFloatTexture().

template<class T >
Texture< SWCSpectrum > * lux::MixTexture< T >::CreateSWCSpectrumTexture ( const Transform tex2world,
const TextureParams tp 
) [inline, static]
template<class T >
virtual T lux::MixTexture< T >::Evaluate ( const TsPack tspack,
const DifferentialGeometry dg 
) const [inline, virtual]
template<class T >
virtual void lux::MixTexture< T >::SetIlluminant (  )  [inline, virtual]

Reimplemented from lux::Texture< T >.

Definition at line 54 of file mix.h.

References lux::MixTexture< T >::tex1, and lux::MixTexture< T >::tex2.

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

Reimplemented from lux::Texture< T >.

Definition at line 49 of file mix.h.

References lux::MixTexture< T >::tex1, and lux::MixTexture< T >::tex2.


Member Data Documentation

template<class T >
boost::shared_ptr<Texture<float> > lux::MixTexture< T >::amount [private]

Definition at line 63 of file mix.h.

Referenced by lux::MixTexture< T >::Evaluate(), and lux::MixTexture< T >::MixTexture().

template<class T >
boost::shared_ptr<Texture<T> > lux::MixTexture< T >::tex1 [private]
template<class T >
boost::shared_ptr<Texture<T> > lux::MixTexture< T >::tex2 [private]

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