lux::Glass Class Reference

#include <glass.h>

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

List of all members.

Public Member Functions

 Glass (boost::shared_ptr< Texture< SWCSpectrum > > r, boost::shared_ptr< Texture< SWCSpectrum > > t, boost::shared_ptr< Texture< float > > i, boost::shared_ptr< Texture< float > > cbf, boost::shared_ptr< Texture< float > > flm, boost::shared_ptr< Texture< float > > flmindex, bool archi, boost::shared_ptr< Texture< float > > bump, const CompositingParams &cp)
virtual ~Glass ()
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 > > 
film
boost::shared_ptr< Texture
< float > > 
filmindex
boost::shared_ptr< Texture
< float > > 
bumpMap
bool architectural

Detailed Description

Definition at line 31 of file glass.h.


Constructor & Destructor Documentation

lux::Glass::Glass ( boost::shared_ptr< Texture< SWCSpectrum > >  r,
boost::shared_ptr< Texture< SWCSpectrum > >  t,
boost::shared_ptr< Texture< float > >  i,
boost::shared_ptr< Texture< float > >  cbf,
boost::shared_ptr< Texture< float > >  flm,
boost::shared_ptr< Texture< float > >  flmindex,
bool  archi,
boost::shared_ptr< Texture< float > >  bump,
const CompositingParams cp 
) [inline]

Definition at line 34 of file glass.h.

References architectural, bumpMap, cauchyb, lux::Material::compParams, film, filmindex, index, Kr, Kt, and lux::r.

Referenced by CreateMaterial().

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

Definition at line 48 of file glass.h.


Member Function Documentation

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

Member Data Documentation

bool lux::Glass::architectural [private]

Definition at line 59 of file glass.h.

Referenced by GetBSDF(), and Glass().

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

Definition at line 58 of file glass.h.

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

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

Definition at line 56 of file glass.h.

Referenced by GetBSDF(), and Glass().

boost::shared_ptr<Texture<float> > lux::Glass::film [private]

Definition at line 57 of file glass.h.

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

boost::shared_ptr<Texture<float> > lux::Glass::filmindex [private]

Definition at line 57 of file glass.h.

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

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

Definition at line 55 of file glass.h.

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

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

Definition at line 54 of file glass.h.

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

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

Definition at line 54 of file glass.h.

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


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