lux::Translucent Class Reference

#include <translucent.h>

Inheritance diagram for lux::Translucent:

lux::Material

List of all members.

Public Member Functions

 Translucent (boost::shared_ptr< Texture< Spectrum > > kd, boost::shared_ptr< Texture< Spectrum > > ks, boost::shared_ptr< Texture< float > > rough, boost::shared_ptr< Texture< Spectrum > > refl, boost::shared_ptr< Texture< Spectrum > > trans, boost::shared_ptr< Texture< float > > i, boost::shared_ptr< Texture< float > > bump)
BSDFGetBSDF (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
< Spectrum > > 
Kd
boost::shared_ptr< Texture
< Spectrum > > 
Ks
boost::shared_ptr< Texture
< float > > 
roughness
boost::shared_ptr< Texture
< Spectrum > > 
reflect
boost::shared_ptr< Texture
< Spectrum > > 
transmit
boost::shared_ptr< Texture
< float > > 
index
boost::shared_ptr< Texture
< float > > 
bumpMap


Detailed Description

Definition at line 31 of file translucent.h.


Constructor & Destructor Documentation

lux::Translucent::Translucent ( boost::shared_ptr< Texture< Spectrum > >  kd,
boost::shared_ptr< Texture< Spectrum > >  ks,
boost::shared_ptr< Texture< float > >  rough,
boost::shared_ptr< Texture< Spectrum > >  refl,
boost::shared_ptr< Texture< Spectrum > >  trans,
boost::shared_ptr< Texture< float > >  i,
boost::shared_ptr< Texture< float > >  bump 
) [inline]

Definition at line 34 of file translucent.h.

References bumpMap, index, Kd, Ks, reflect, roughness, and transmit.

Referenced by CreateMaterial().


Member Function Documentation

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

BSDF * Translucent::GetBSDF ( const DifferentialGeometry dgGeom,
const DifferentialGeometry dgShading 
) const


Member Data Documentation

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

Definition at line 60 of file translucent.h.

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

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

Definition at line 59 of file translucent.h.

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

boost::shared_ptr<Texture<Spectrum> > lux::Translucent::Kd [private]

Definition at line 55 of file translucent.h.

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

boost::shared_ptr<Texture<Spectrum> > lux::Translucent::Ks [private]

Definition at line 55 of file translucent.h.

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

boost::shared_ptr<Texture<Spectrum> > lux::Translucent::reflect [private]

Definition at line 57 of file translucent.h.

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

boost::shared_ptr<Texture<float> > lux::Translucent::roughness [private]

Definition at line 56 of file translucent.h.

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

boost::shared_ptr<Texture<Spectrum> > lux::Translucent::transmit [private]

Definition at line 57 of file translucent.h.

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


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

Generated on Fri Jul 24 11:50:05 2009 for lux by  doxygen 1.5.9