library of assembled shared sources

http://lass.cocamware.com

DistributionTransformations

A set of functions to transform samples between distribution. More...


Functions

template<typename T >
const prim::Point3D< T > lass::num::uniformSphere (const prim::Point2D< T > &sample, T &pdf)
template<typename T >
const prim::Point3D< T > lass::num::uniformCone (const prim::Point2D< T > &sample, T minCosTheta, T &pdf)
template<typename T >
const prim::Point2D< T > lass::num::uniformDisk (const prim::Point2D< T > &sample, T &pdf)
template<typename T >
const prim::Point3D< T > lass::num::cosineHemisphere (const prim::Point2D< T > &sample, T &pdf)


Detailed Description

A set of functions to transform samples between distribution.

Function Documentation

template<typename T >
const prim::Point3D<T> lass::num::uniformSphere ( const prim::Point2D< T > &  sample,
T &  pdf 
) [inline]

template<typename T >
const prim::Point3D<T> lass::num::uniformCone ( const prim::Point2D< T > &  sample,
minCosTheta,
T &  pdf 
) [inline]

template<typename T >
const prim::Point2D<T> lass::num::uniformDisk ( const prim::Point2D< T > &  sample,
T &  pdf 
) [inline]

template<typename T >
const prim::Point3D<T> lass::num::cosineHemisphere ( const prim::Point2D< T > &  sample,
T &  pdf 
) [inline]


Generated on Mon Nov 10 14:22:06 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo