lux::Checkerboard2D< T > Class Template Reference

#include <checkerboard.h>

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

List of all members.

Public Member Functions

 Checkerboard2D (TextureMapping2D *m, boost::shared_ptr< Texture< T > > c1, boost::shared_ptr< Texture< T > > c2, const string &aa)
virtual ~Checkerboard2D ()
virtual T Evaluate (const TsPack *tspack, const DifferentialGeometry &dg) const
virtual void SetPower (float power, float area)
virtual void SetIlluminant ()

Private Attributes

boost::shared_ptr< Texture< T > > tex1
boost::shared_ptr< Texture< T > > tex2
TextureMapping2Dmapping

Detailed Description

template<class T>
class lux::Checkerboard2D< T >

Definition at line 42 of file checkerboard.h.


Constructor & Destructor Documentation

template<class T>
lux::Checkerboard2D< T >::Checkerboard2D ( TextureMapping2D m,
boost::shared_ptr< Texture< T > >  c1,
boost::shared_ptr< Texture< T > >  c2,
const string &  aa 
) [inline]
template<class T>
virtual lux::Checkerboard2D< T >::~Checkerboard2D (  )  [inline, virtual]

Definition at line 66 of file checkerboard.h.

References lux::Checkerboard2D< T >::mapping.


Member Function Documentation

template<class T>
virtual T lux::Checkerboard2D< T >::Evaluate ( const TsPack tspack,
const DifferentialGeometry dg 
) const [inline, virtual]
template<class T>
virtual void lux::Checkerboard2D< T >::SetIlluminant (  )  [inline, virtual]

Reimplemented from lux::Texture< T >.

Definition at line 141 of file checkerboard.h.

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

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

Reimplemented from lux::Texture< T >.

Definition at line 136 of file checkerboard.h.

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


Member Data Documentation

template<class T>
TextureMapping2D* lux::Checkerboard2D< T >::mapping [private]
template<class T>
boost::shared_ptr<Texture<T> > lux::Checkerboard2D< T >::tex1 [private]
template<class T>
boost::shared_ptr<Texture<T> > lux::Checkerboard2D< T >::tex2 [private]

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