lux::Metal Class Reference

#include <metal.h>

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

List of all members.

Public Member Functions

 Metal (boost::shared_ptr< SPD > n, boost::shared_ptr< SPD > k, boost::shared_ptr< Texture< float > > u, boost::shared_ptr< Texture< float > > v, boost::shared_ptr< Texture< float > > bump, const CompositingParams &cp)
virtual ~Metal ()
virtual BSDF * GetBSDF (const TsPack *tspack, const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const

Static Public Member Functions

static Material * CreateMaterial (const Transform &xform, const TextureParams &mp)

Private Attributes

boost::shared_ptr< SPD > N
boost::shared_ptr< SPD > K
boost::shared_ptr< Texture
< float > > 
nu
boost::shared_ptr< Texture
< float > > 
nv
boost::shared_ptr< Texture
< float > > 
bumpMap

Detailed Description

Definition at line 33 of file metal.h.


Constructor & Destructor Documentation

Metal::Metal ( boost::shared_ptr< SPD >  n,
boost::shared_ptr< SPD >  k,
boost::shared_ptr< Texture< float > >  u,
boost::shared_ptr< Texture< float > >  v,
boost::shared_ptr< Texture< float > >  bump,
const CompositingParams &  cp 
)

Definition at line 42 of file metal.cpp.

References bumpMap, lux::Material::compParams, K, N, nu, and nv.

Referenced by CreateMaterial().

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

Definition at line 39 of file metal.h.


Member Function Documentation

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

Member Data Documentation

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

Definition at line 50 of file metal.h.

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

boost::shared_ptr<SPD > lux::Metal::K [private]

Definition at line 48 of file metal.h.

Referenced by GetBSDF(), and Metal().

boost::shared_ptr<SPD > lux::Metal::N [private]

Definition at line 48 of file metal.h.

Referenced by GetBSDF(), and Metal().

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

Definition at line 49 of file metal.h.

Referenced by GetBSDF(), and Metal().

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

Definition at line 49 of file metal.h.

Referenced by GetBSDF(), and Metal().


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