SkyBxDF Class Reference

Inheritance diagram for SkyBxDF:
[legend]
Collaboration diagram for SkyBxDF:
[legend]

List of all members.

Public Member Functions

 SkyBxDF (const SkyLight &sky, const Transform &WL, const Vector &x, const Vector &y, const Vector &z)
virtual ~SkyBxDF ()
virtual void f (const TsPack *tspack, const Vector &wo, const Vector &wi, SWCSpectrum *const f) const

Private Attributes

const SkyLightskyLight
const TransformWorldToLight
Vector X
Vector Y
Vector Z

Detailed Description

Definition at line 36 of file sky.cpp.


Constructor & Destructor Documentation

SkyBxDF::SkyBxDF ( const SkyLight sky,
const Transform WL,
const Vector x,
const Vector y,
const Vector z 
) [inline]

Definition at line 39 of file sky.cpp.

virtual SkyBxDF::~SkyBxDF (  )  [inline, virtual]

Definition at line 40 of file sky.cpp.


Member Function Documentation

virtual void SkyBxDF::f ( const TsPack tspack,
const Vector wo,
const Vector wi,
SWCSpectrum *const   f 
) const [inline, virtual]

Evaluates the BxDF. Accumulates the result in the f parameter.

Implements lux::BxDF.

Definition at line 41 of file sky.cpp.

References lux::SkyLight::GetSkySpectralRadiance(), lux::Normalize(), skyLight, lux::SphericalPhi(), lux::SphericalTheta(), WorldToLight, X, lux::Vector::x, Y, lux::Vector::y, Z, and lux::Vector::z.


Member Data Documentation

const SkyLight& SkyBxDF::skyLight [private]

Definition at line 52 of file sky.cpp.

Referenced by f().

const Transform& SkyBxDF::WorldToLight [private]

Definition at line 53 of file sky.cpp.

Referenced by f().

Vector SkyBxDF::X [private]

Definition at line 54 of file sky.cpp.

Referenced by f().

Vector SkyBxDF::Y [private]

Definition at line 54 of file sky.cpp.

Referenced by f().

Vector SkyBxDF::Z [private]

Definition at line 54 of file sky.cpp.

Referenced by f().


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