lux::CarPaint Class Reference

#include <carpaint.h>

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

List of all members.

Public Member Functions

 CarPaint (boost::shared_ptr< Texture< SWCSpectrum > > kd, boost::shared_ptr< Texture< SWCSpectrum > > ka, boost::shared_ptr< Texture< float > > d, boost::shared_ptr< Texture< SWCSpectrum > > ks1, boost::shared_ptr< Texture< SWCSpectrum > > ks2, boost::shared_ptr< Texture< SWCSpectrum > > 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, const CompositingParams &cp)
virtual ~CarPaint ()
virtual BSDFGetBSDF (const TsPack *tspack, const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const

Static Public Member Functions

static MaterialCreateMaterial (const Transform &xform, const TextureParams &mp)

Private Attributes

boost::shared_ptr< Texture
< SWCSpectrum > > 
Kd
boost::shared_ptr< Texture
< SWCSpectrum > > 
Ka
boost::shared_ptr< Texture
< SWCSpectrum > > 
Ks1
boost::shared_ptr< Texture
< SWCSpectrum > > 
Ks2
boost::shared_ptr< Texture
< SWCSpectrum > > 
Ks3
boost::shared_ptr< Texture
< float > > 
depth
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< SWCSpectrum > >  kd,
boost::shared_ptr< Texture< SWCSpectrum > >  ka,
boost::shared_ptr< Texture< float > >  d,
boost::shared_ptr< Texture< SWCSpectrum > >  ks1,
boost::shared_ptr< Texture< SWCSpectrum > >  ks2,
boost::shared_ptr< Texture< SWCSpectrum > >  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,
const CompositingParams cp 
)

Definition at line 39 of file carpaint.cpp.

References bumpMap, lux::Material::compParams, depth, Ka, Kd, Ks1, Ks2, Ks3, M1, M2, M3, r1, R1, r2, R2, and R3.

Referenced by CreateMaterial().

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

Definition at line 42 of file carpaint.h.


Member Function Documentation

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

Member Data Documentation

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

Definition at line 51 of file carpaint.h.

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

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

Definition at line 50 of file carpaint.h.

Referenced by CarPaint(), and GetBSDF().

boost::shared_ptr<Texture<SWCSpectrum> > lux::CarPaint::Ka [private]

Definition at line 49 of file carpaint.h.

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

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

Definition at line 49 of file carpaint.h.

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

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

Definition at line 49 of file carpaint.h.

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

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

Definition at line 49 of file carpaint.h.

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

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

Definition at line 49 of file carpaint.h.

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

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

Definition at line 50 of file carpaint.h.

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

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

Definition at line 50 of file carpaint.h.

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

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

Definition at line 50 of file carpaint.h.

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

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

Definition at line 50 of file carpaint.h.

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

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

Definition at line 50 of file carpaint.h.

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

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

Definition at line 50 of file carpaint.h.

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


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