Public Types | Public Member Functions | Protected Attributes

OpenTissue::noise::FractalSumNoise< real_type_ > Class Template Reference

#include <noise_fractal_sum.h>

List of all members.

Public Types

typedef real_type_ real_type
typedef ImprovedPerlinNoise
< real_type
noise_type

Public Member Functions

 FractalSumNoise (int const &octaves)
real_type operator() (real_type const &x, real_type const &y) const
real_type operator() (real_type const &x, real_type const &y, real_type const &z) const

Protected Attributes

int m_octaves
 Number of octaves.
noise_type m_noise

Detailed Description

template<typename real_type_>
class OpenTissue::noise::FractalSumNoise< real_type_ >

Fractal Sum Noise Function

sum_{i=0}^{octaves-1} {noise(2^i x,2^i y,2^i z) }{ 2^i}


Member Typedef Documentation

template<typename real_type_>
typedef ImprovedPerlinNoise<real_type> OpenTissue::noise::FractalSumNoise< real_type_ >::noise_type
template<typename real_type_>
typedef real_type_ OpenTissue::noise::FractalSumNoise< real_type_ >::real_type

Constructor & Destructor Documentation

template<typename real_type_>
OpenTissue::noise::FractalSumNoise< real_type_ >::FractalSumNoise ( int const &  octaves  )  [inline]

Member Function Documentation

template<typename real_type_>
real_type OpenTissue::noise::FractalSumNoise< real_type_ >::operator() ( real_type const &  x,
real_type const &  y 
) const [inline]
template<typename real_type_>
real_type OpenTissue::noise::FractalSumNoise< real_type_ >::operator() ( real_type const &  x,
real_type const &  y,
real_type const &  z 
) const [inline]

Member Data Documentation

template<typename real_type_>
noise_type OpenTissue::noise::FractalSumNoise< real_type_ >::m_noise [protected]
template<typename real_type_>
int OpenTissue::noise::FractalSumNoise< real_type_ >::m_octaves [protected]

Number of octaves.


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