lux::CompositeSphericalFunction Class Reference

#include <sphericalfunction.h>

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

List of all members.

Public Member Functions

 CompositeSphericalFunction ()
void Add (boost::shared_ptr< const SphericalFunction > aFunc)
RGBColor f (float phi, float theta) const

Private Attributes

vector< boost::shared_ptr
< const SphericalFunction > > 
funcs

Detailed Description

A spherical functions that composes multiple spherical functions by multiplying their results.

Definition at line 91 of file sphericalfunction.h.


Constructor & Destructor Documentation

lux::CompositeSphericalFunction::CompositeSphericalFunction (  )  [inline]

Definition at line 93 of file sphericalfunction.h.


Member Function Documentation

void lux::CompositeSphericalFunction::Add ( boost::shared_ptr< const SphericalFunction aFunc  )  [inline]

Definition at line 95 of file sphericalfunction.h.

References funcs.

RGBColor lux::CompositeSphericalFunction::f ( float  phi,
float  theta 
) const [inline, 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 100 of file sphericalfunction.h.

References funcs.


Member Data Documentation

vector< boost::shared_ptr<const SphericalFunction> > lux::CompositeSphericalFunction::funcs [private]

Definition at line 107 of file sphericalfunction.h.

Referenced by Add(), and f().


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