#include <mirror.h>
Public Member Functions | |
Mirror (boost::shared_ptr< Texture< SWCSpectrum > > r, boost::shared_ptr< Texture< float > > flm, boost::shared_ptr< Texture< float > > flmindex, boost::shared_ptr< Texture< float > > bump, const CompositingParams &cp) | |
virtual | ~Mirror () |
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< Texture < SWCSpectrum > > | Kr |
boost::shared_ptr< Texture < float > > | film |
boost::shared_ptr< Texture < float > > | filmindex |
boost::shared_ptr< Texture < float > > | bumpMap |
Definition at line 31 of file mirror.h.
lux::Mirror::Mirror | ( | boost::shared_ptr< Texture< SWCSpectrum > > | r, | |
boost::shared_ptr< Texture< float > > | flm, | |||
boost::shared_ptr< Texture< float > > | flmindex, | |||
boost::shared_ptr< Texture< float > > | bump, | |||
const CompositingParams & | cp | |||
) | [inline] |
Definition at line 34 of file mirror.h.
References bumpMap, lux::Material::compParams, film, filmindex, Kr, and lux::r.
Referenced by CreateMaterial().
Material * Mirror::CreateMaterial | ( | const Transform & | xform, | |
const TextureParams & | mp | |||
) | [static] |
Definition at line 56 of file mirror.cpp.
References bumpMap, film, filmindex, lux::Material::FindCompositingParams(), lux::TextureParams::GetFloatTexture(), lux::TextureParams::GetSWCSpectrumTexture(), Kr, and Mirror().
BSDF * Mirror::GetBSDF | ( | const TsPack * | tspack, | |
const DifferentialGeometry & | dgGeom, | |||
const DifferentialGeometry & | dgShading | |||
) | const [virtual] |
Implements lux::Material.
Definition at line 34 of file mirror.cpp.
References BSDF_ALLOC, lux::Material::Bump(), bumpMap, lux::Material::compParams, film, filmindex, Kr, lux::DifferentialGeometry::nn, and lux::BSDF::SetCompositingParams().
boost::shared_ptr<Texture<float> > lux::Mirror::bumpMap [private] |
Definition at line 51 of file mirror.h.
Referenced by CreateMaterial(), GetBSDF(), and Mirror().
boost::shared_ptr<Texture<float> > lux::Mirror::film [private] |
Definition at line 50 of file mirror.h.
Referenced by CreateMaterial(), GetBSDF(), and Mirror().
boost::shared_ptr<Texture<float> > lux::Mirror::filmindex [private] |
Definition at line 50 of file mirror.h.
Referenced by CreateMaterial(), GetBSDF(), and Mirror().
boost::shared_ptr<Texture<SWCSpectrum> > lux::Mirror::Kr [private] |
Definition at line 49 of file mirror.h.
Referenced by CreateMaterial(), GetBSDF(), and Mirror().