lux::MixTexture< T > Class Template Reference

#include <mix.h>

Inheritance diagram for lux::MixTexture< T >:

lux::Texture< T >

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)
Evaluate (const DifferentialGeometry &dg) const

Static Public Member Functions

static Texture< float > * CreateFloatTexture (const Transform &tex2world, const TextureParams &tp)
static Texture< Spectrum > * CreateSpectrumTexture (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]


Member Function Documentation

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

Definition at line 57 of file mix.h.

References lux::TextureParams::GetFloatTexture().

Referenced by lux::MakeFloatTexture().

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

template<class T >
T lux::MixTexture< T >::Evaluate ( const DifferentialGeometry dg  )  const [inline, virtual]


Member Data Documentation

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

Definition at line 53 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]

Definition at line 52 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 >::tex2 [private]

Definition at line 52 of file mix.h.

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


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

Generated on Fri Jul 24 11:46:58 2009 for lux by  doxygen 1.5.9