lux::DotsTexture< T > Class Template Reference

#include <dots.h>

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

List of all members.

Public Member Functions

virtual ~DotsTexture ()
 DotsTexture (TextureMapping2D *m, boost::shared_ptr< Texture< T > > c1, boost::shared_ptr< Texture< T > > c2)
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 > > outsideDot
boost::shared_ptr< Texture< T > > insideDot
TextureMapping2Dmapping

Detailed Description

template<class T>
class lux::DotsTexture< T >

Definition at line 33 of file dots.h.


Constructor & Destructor Documentation

template<class T>
virtual lux::DotsTexture< T >::~DotsTexture (  )  [inline, virtual]

Definition at line 36 of file dots.h.

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

template<class T>
lux::DotsTexture< T >::DotsTexture ( TextureMapping2D m,
boost::shared_ptr< Texture< T > >  c1,
boost::shared_ptr< Texture< T > >  c2 
) [inline]

Member Function Documentation

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

Reimplemented from lux::Texture< T >.

Definition at line 69 of file dots.h.

References lux::DotsTexture< T >::insideDot, and lux::DotsTexture< T >::outsideDot.

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

Reimplemented from lux::Texture< T >.

Definition at line 64 of file dots.h.

References lux::DotsTexture< T >::insideDot, and lux::DotsTexture< T >::outsideDot.


Member Data Documentation

template<class T>
boost::shared_ptr<Texture<T> > lux::DotsTexture< T >::insideDot [private]
template<class T>
TextureMapping2D* lux::DotsTexture< T >::mapping [private]
template<class T>
boost::shared_ptr<Texture<T> > lux::DotsTexture< T >::outsideDot [private]

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