lux::MipMapSphericalFunction Class Reference

#include <sphericalfunction.h>

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

List of all members.

Public Member Functions

 MipMapSphericalFunction ()
 MipMapSphericalFunction (boost::shared_ptr< const MIPMap< RGBColor > > aMipMap, bool flipZ)
void SetMipMap (boost::shared_ptr< const MIPMap< RGBColor > > aMipMap)
RGBColor f (float phi, float theta) const

Private Attributes

boost::shared_ptr< const
MIPMap< RGBColor > > 
mipMap

Detailed Description

A spherical functions that obtains its function values from a mipmap.

Definition at line 72 of file sphericalfunction.h.


Constructor & Destructor Documentation

lux::MipMapSphericalFunction::MipMapSphericalFunction (  ) 

Definition at line 29 of file sphericalfunction.cpp.

lux::MipMapSphericalFunction::MipMapSphericalFunction ( boost::shared_ptr< const MIPMap< RGBColor > >  aMipMap,
bool  flipZ 
)

Definition at line 32 of file sphericalfunction.cpp.


Member Function Documentation

RGBColor lux::MipMapSphericalFunction::f ( float  phi,
float  theta 
) const [virtual]

Evaluates this function for the given direction.

Parameters:
phi The angle in the xy plane.
theta The angle from the z axis.
Returns:
The function value for the given direction.

Implements lux::SphericalFunction.

Definition at line 36 of file sphericalfunction.cpp.

References SetMipMap().

Referenced by lux::IESSphericalFunction::IESSphericalFunction().

void lux::MipMapSphericalFunction::SetMipMap ( boost::shared_ptr< const MIPMap< RGBColor > >  aMipMap  )  [inline]

Member Data Documentation

boost::shared_ptr< const MIPMap<RGBColor> > lux::MipMapSphericalFunction::mipMap [private]

Definition at line 84 of file sphericalfunction.h.

Referenced by SetMipMap().


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