lux::RoughGlass Class Reference

#include <roughglass.h>

Inheritance diagram for lux::RoughGlass:
[legend]
Collaboration diagram for lux::RoughGlass:
[legend]

List of all members.

Public Member Functions

 RoughGlass (boost::shared_ptr< Texture< SWCSpectrum > > r, boost::shared_ptr< Texture< SWCSpectrum > > t, boost::shared_ptr< Texture< float > > urough, boost::shared_ptr< Texture< float > > vrough, boost::shared_ptr< Texture< float > > i, boost::shared_ptr< Texture< float > > cbf, boost::shared_ptr< Texture< float > > bump, const CompositingParams &cp)
virtual ~RoughGlass ()
virtual BSDFGetBSDF (const TsPack *tspack, const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const

Static Public Member Functions

static MaterialCreateMaterial (const Transform &xform, const TextureParams &mp)

Private Attributes

boost::shared_ptr< Texture
< SWCSpectrum > > 
Kr
boost::shared_ptr< Texture
< SWCSpectrum > > 
Kt
boost::shared_ptr< Texture
< float > > 
index
boost::shared_ptr< Texture
< float > > 
cauchyb
boost::shared_ptr< Texture
< float > > 
uroughness
boost::shared_ptr< Texture
< float > > 
vroughness
boost::shared_ptr< Texture
< float > > 
bumpMap

Detailed Description

Definition at line 31 of file roughglass.h.


Constructor & Destructor Documentation

lux::RoughGlass::RoughGlass ( boost::shared_ptr< Texture< SWCSpectrum > >  r,
boost::shared_ptr< Texture< SWCSpectrum > >  t,
boost::shared_ptr< Texture< float > >  urough,
boost::shared_ptr< Texture< float > >  vrough,
boost::shared_ptr< Texture< float > >  i,
boost::shared_ptr< Texture< float > >  cbf,
boost::shared_ptr< Texture< float > >  bump,
const CompositingParams cp 
) [inline]

Definition at line 34 of file roughglass.h.

References bumpMap, cauchyb, lux::Material::compParams, index, Kr, Kt, lux::r, uroughness, and vroughness.

Referenced by CreateMaterial().

virtual lux::RoughGlass::~RoughGlass (  )  [inline, virtual]

Definition at line 47 of file roughglass.h.


Member Function Documentation

Material * RoughGlass::CreateMaterial ( const Transform xform,
const TextureParams mp 
) [static]
BSDF * RoughGlass::GetBSDF ( const TsPack tspack,
const DifferentialGeometry dgGeom,
const DifferentialGeometry dgShading 
) const [virtual]

Member Data Documentation

boost::shared_ptr<Texture<float> > lux::RoughGlass::bumpMap [private]

Definition at line 58 of file roughglass.h.

Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().

boost::shared_ptr<Texture<float> > lux::RoughGlass::cauchyb [private]

Definition at line 55 of file roughglass.h.

Referenced by GetBSDF(), and RoughGlass().

boost::shared_ptr<Texture<float> > lux::RoughGlass::index [private]

Definition at line 54 of file roughglass.h.

Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().

boost::shared_ptr<Texture<SWCSpectrum> > lux::RoughGlass::Kr [private]

Definition at line 53 of file roughglass.h.

Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().

boost::shared_ptr<Texture<SWCSpectrum> > lux::RoughGlass::Kt [private]

Definition at line 53 of file roughglass.h.

Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().

boost::shared_ptr<Texture<float> > lux::RoughGlass::uroughness [private]

Definition at line 56 of file roughglass.h.

Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().

boost::shared_ptr<Texture<float> > lux::RoughGlass::vroughness [private]

Definition at line 57 of file roughglass.h.

Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().


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