Om  1.0.0
A universal framework for multimedia simulation
Static Public Member Functions | List of all members
om::math::SHOrder< U, T, 8 > Class Template Reference

A class containing functions that evaluate spherical harmonics of order 8. More...

#include <omSphericalHarmonics.h>

Static Public Member Functions

static void cartesian (U x, U y, U z, T *expansion)
 Compute the spherical harmonic expansion for the given 3D normalized cartesian vector. More...
 
static void accumulate (U x, U y, U z, T weight, T *expansion)
 Multiply-accumulate the spherical harmonic expansion for the given 3D normalized cartesian vector and weight. More...
 

Detailed Description

template<typename U, typename T>
class om::math::SHOrder< U, T, 8 >

A class containing functions that evaluate spherical harmonics of order 8.

Member Function Documentation

template<typename U , typename T >
static void om::math::SHOrder< U, T, 8 >::cartesian ( x,
y,
z,
T *  expansion 
)
inlinestatic

Compute the spherical harmonic expansion for the given 3D normalized cartesian vector.

template<typename U , typename T >
static void om::math::SHOrder< U, T, 8 >::accumulate ( x,
y,
z,
weight,
T *  expansion 
)
inlinestatic

Multiply-accumulate the spherical harmonic expansion for the given 3D normalized cartesian vector and weight.


The documentation for this class was generated from the following file: