lux::Plastic Class Reference

#include <plastic.h>

Inheritance diagram for lux::Plastic:

lux::Material

List of all members.

Public Member Functions

 Plastic (boost::shared_ptr< Texture< Spectrum > > kd, boost::shared_ptr< Texture< Spectrum > > ks, boost::shared_ptr< Texture< float > > u, boost::shared_ptr< Texture< float > > v, 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 > > 
Kd
boost::shared_ptr< Texture
< Spectrum > > 
Ks
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 plastic.h.


Constructor & Destructor Documentation

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

Definition at line 34 of file plastic.h.

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

Referenced by CreateMaterial().


Member Function Documentation

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

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


Member Data Documentation

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

Definition at line 51 of file plastic.h.

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

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

Definition at line 50 of file plastic.h.

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

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

Definition at line 50 of file plastic.h.

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

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

Definition at line 51 of file plastic.h.

Referenced by GetBSDF(), and Plastic().

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

Definition at line 51 of file plastic.h.

Referenced by GetBSDF(), and Plastic().


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

Generated on Tue Nov 10 01:36:41 2009 for lux by  doxygen 1.5.9