lux::RoughGlass Class Reference

#include <roughglass.h>

Inheritance diagram for lux::RoughGlass:

lux::Material

List of all members.

Public Member Functions

 RoughGlass (boost::shared_ptr< Texture< Spectrum > > r, boost::shared_ptr< Texture< Spectrum > > 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)
BSDFGetBSDF (const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading, float u) const

Static Public Member Functions

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

Private Attributes

boost::shared_ptr< Texture
< Spectrum > > 
Kr
boost::shared_ptr< Texture
< Spectrum > > 
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< Spectrum > >  r,
boost::shared_ptr< Texture< Spectrum > >  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 
) [inline]

Definition at line 34 of file roughglass.h.

References bumpMap, cauchyb, index, Kr, Kt, uroughness, and vroughness.

Referenced by CreateMaterial().


Member Function Documentation

Material * RoughGlass::CreateMaterial ( const Transform xform,
const TextureParams mp 
) [static]

BSDF * RoughGlass::GetBSDF ( const DifferentialGeometry dgGeom,
const DifferentialGeometry dgShading,
float  u 
) const [virtual]


Member Data Documentation

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

Definition at line 55 of file roughglass.h.

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

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

Definition at line 52 of file roughglass.h.

Referenced by GetBSDF(), and RoughGlass().

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

Definition at line 51 of file roughglass.h.

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

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

Definition at line 50 of file roughglass.h.

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

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

Definition at line 50 of file roughglass.h.

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

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

Definition at line 53 of file roughglass.h.

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

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

Definition at line 54 of file roughglass.h.

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


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

Generated on Tue Nov 10 01:36:41 2009 for lux by  doxygen 1.5.9