Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ZFXMath::SphericalHarmonics::TDevice< PrecisionType, FuncValueType > Struct Template Reference

Spherical Harmonic Lighting Device. More...

#include <SHDevice.h>

List of all members.

Public Member Functions

 TDevice (int numBands, int numSamples)
 Device Constructor.
void Project (const TSphericalFunction< PrecisionType, FuncValueType > &func, TCoeffs< FuncValueType > &dest)
 Compress a Spherical Function into SH Coefficients.


Detailed Description

template<class PrecisionType, class FuncValueType>
struct ZFXMath::SphericalHarmonics::TDevice< PrecisionType, FuncValueType >

Pretty handy Tool


Constructor & Destructor Documentation

template<class PrecisionType, class FuncValueType>
ZFXMath::SphericalHarmonics::TDevice< PrecisionType, FuncValueType >::TDevice int  numBands,
int  numSamples
[inline]
 

Parameters:
numBands SH Order + 1 (accuracy of function reconstruction)
numSamples Number of samples to compress the original function (accuracy of function compression)


Member Function Documentation

template<class PrecisionType, class FuncValueType>
void ZFXMath::SphericalHarmonics::TDevice< PrecisionType, FuncValueType >::Project const TSphericalFunction< PrecisionType, FuncValueType > &  func,
TCoeffs< FuncValueType > &  dest
[inline]
 

Parameters:
func Spherical Function to project (in)
dest Destination projection (out)


The documentation for this struct was generated from the following file:
Generated on Thu Nov 25 04:02:58 2004 for ZFX-Math Library by doxygen 1.3.8