lux::Mirror Class Reference

#include <mirror.h>

Inheritance diagram for lux::Mirror:

lux::Material

List of all members.

Public Member Functions

 Mirror (boost::shared_ptr< Texture< Spectrum > > r, 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
< float > > 
bumpMap


Detailed Description

Definition at line 31 of file mirror.h.


Constructor & Destructor Documentation

lux::Mirror::Mirror ( boost::shared_ptr< Texture< Spectrum > >  r,
boost::shared_ptr< Texture< float > >  bump 
) [inline]

Definition at line 34 of file mirror.h.

References bumpMap, and Kr.

Referenced by CreateMaterial().


Member Function Documentation

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

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


Member Data Documentation

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

Definition at line 44 of file mirror.h.

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

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

Definition at line 43 of file mirror.h.

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


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

Generated on Mon May 18 07:13:23 2009 for lux by  doxygen 1.5.8