lux::Substrate Class Reference

#include <substrate.h>

Inheritance diagram for lux::Substrate:

lux::Material

List of all members.

Public Member Functions

 Substrate (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 substrate.h.


Constructor & Destructor Documentation

lux::Substrate::Substrate ( 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 substrate.h.

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

Referenced by CreateMaterial().


Member Function Documentation

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

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


Member Data Documentation

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

Definition at line 50 of file substrate.h.

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

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

Definition at line 48 of file substrate.h.

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

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

Definition at line 48 of file substrate.h.

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

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

Definition at line 49 of file substrate.h.

Referenced by GetBSDF(), and Substrate().

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

Definition at line 49 of file substrate.h.

Referenced by GetBSDF(), and Substrate().


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

Generated on Sat Aug 15 14:17:03 2009 for lux by  doxygen 1.5.9