lux::CarPaint Class Reference

#include <carpaint.h>

Inheritance diagram for lux::CarPaint:

lux::Material

List of all members.

Public Member Functions

 CarPaint (boost::shared_ptr< Texture< Spectrum > > kd, boost::shared_ptr< Texture< Spectrum > > ks1, boost::shared_ptr< Texture< Spectrum > > ks2, boost::shared_ptr< Texture< Spectrum > > ks3, boost::shared_ptr< Texture< float > > r1, boost::shared_ptr< Texture< float > > r2, boost::shared_ptr< Texture< float > > r3, boost::shared_ptr< Texture< float > > m1, boost::shared_ptr< Texture< float > > m2, boost::shared_ptr< Texture< float > > m3, 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 > > 
Ks1
boost::shared_ptr< Texture
< Spectrum > > 
Ks2
boost::shared_ptr< Texture
< Spectrum > > 
Ks3
boost::shared_ptr< Texture
< float > > 
R1
boost::shared_ptr< Texture
< float > > 
R2
boost::shared_ptr< Texture
< float > > 
R3
boost::shared_ptr< Texture
< float > > 
M1
boost::shared_ptr< Texture
< float > > 
M2
boost::shared_ptr< Texture
< float > > 
M3
boost::shared_ptr< Texture
< float > > 
bumpMap


Detailed Description

Definition at line 32 of file carpaint.h.


Constructor & Destructor Documentation

CarPaint::CarPaint ( boost::shared_ptr< Texture< Spectrum > >  kd,
boost::shared_ptr< Texture< Spectrum > >  ks1,
boost::shared_ptr< Texture< Spectrum > >  ks2,
boost::shared_ptr< Texture< Spectrum > >  ks3,
boost::shared_ptr< Texture< float > >  r1,
boost::shared_ptr< Texture< float > >  r2,
boost::shared_ptr< Texture< float > >  r3,
boost::shared_ptr< Texture< float > >  m1,
boost::shared_ptr< Texture< float > >  m2,
boost::shared_ptr< Texture< float > >  m3,
boost::shared_ptr< Texture< float > >  bump 
)

Definition at line 37 of file carpaint.cpp.

References bumpMap, Kd, Ks1, Ks2, Ks3, M1, M2, M3, R1, R2, and R3.

Referenced by CreateMaterial().


Member Function Documentation

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

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


Member Data Documentation

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

Definition at line 48 of file carpaint.h.

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

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

Definition at line 46 of file carpaint.h.

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

boost::shared_ptr<Texture<Spectrum> > lux::CarPaint::Ks1 [private]

Definition at line 46 of file carpaint.h.

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

boost::shared_ptr<Texture<Spectrum> > lux::CarPaint::Ks2 [private]

Definition at line 46 of file carpaint.h.

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

boost::shared_ptr<Texture<Spectrum> > lux::CarPaint::Ks3 [private]

Definition at line 46 of file carpaint.h.

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

boost::shared_ptr<Texture<float> > lux::CarPaint::M1 [private]

Definition at line 47 of file carpaint.h.

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

boost::shared_ptr<Texture<float> > lux::CarPaint::M2 [private]

Definition at line 47 of file carpaint.h.

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

boost::shared_ptr<Texture<float> > lux::CarPaint::M3 [private]

Definition at line 47 of file carpaint.h.

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

boost::shared_ptr<Texture<float> > lux::CarPaint::R1 [private]

Definition at line 47 of file carpaint.h.

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

boost::shared_ptr<Texture<float> > lux::CarPaint::R2 [private]

Definition at line 47 of file carpaint.h.

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

boost::shared_ptr<Texture<float> > lux::CarPaint::R3 [private]

Definition at line 47 of file carpaint.h.

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


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

Generated on Mon May 18 07:15:18 2009 for lux by  doxygen 1.5.7.1