lux::ShinyMetal Class Reference

#include <shinymetal.h>

Inheritance diagram for lux::ShinyMetal:

lux::Material

List of all members.

Public Member Functions

 ShinyMetal (boost::shared_ptr< Texture< Spectrum > > ks, boost::shared_ptr< Texture< float > > u, boost::shared_ptr< Texture< float > > v, boost::shared_ptr< Texture< Spectrum > > kr, 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 > > 
Ks
boost::shared_ptr< Texture
< Spectrum > > 
Kr
boost::shared_ptr< Texture
< float > > 
nu
boost::shared_ptr< Texture
< float > > 
nv
boost::shared_ptr< Texture
< float > > 
bumpMap


Detailed Description

Definition at line 31 of file shinymetal.h.


Constructor & Destructor Documentation

lux::ShinyMetal::ShinyMetal ( boost::shared_ptr< Texture< Spectrum > >  ks,
boost::shared_ptr< Texture< float > >  u,
boost::shared_ptr< Texture< float > >  v,
boost::shared_ptr< Texture< Spectrum > >  kr,
boost::shared_ptr< Texture< float > >  bump 
) [inline]

Definition at line 34 of file shinymetal.h.

References bumpMap, Kr, Ks, nu, and nv.

Referenced by CreateMaterial().


Member Function Documentation

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

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


Member Data Documentation

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

Definition at line 50 of file shinymetal.h.

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

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

Definition at line 48 of file shinymetal.h.

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

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

Definition at line 48 of file shinymetal.h.

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

boost::shared_ptr<Texture<float> > lux::ShinyMetal::nu [private]

Definition at line 49 of file shinymetal.h.

Referenced by GetBSDF(), and ShinyMetal().

boost::shared_ptr<Texture<float> > lux::ShinyMetal::nv [private]

Definition at line 49 of file shinymetal.h.

Referenced by GetBSDF(), and ShinyMetal().


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