Public Types | Public Member Functions | Protected Attributes

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

#include <noise_turbulence.h>

List of all members.

Public Types

typedef real_type_ real_type
typedef ImprovedPerlinNoise
< real_type
noise_type

Public Member Functions

 Turbulence (unsigned int 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

unsigned int m_octaves
noise_type m_noise

Detailed Description

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

Turbulence.

F(x,y,z) = {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::Turbulence< real_type_ >::noise_type
template<typename real_type_>
typedef real_type_ OpenTissue::noise::Turbulence< real_type_ >::real_type

Constructor & Destructor Documentation

template<typename real_type_>
OpenTissue::noise::Turbulence< real_type_ >::Turbulence ( unsigned int  octaves  )  [inline]
Parameters:
pixel_size 

Member Function Documentation

template<typename real_type_>
real_type OpenTissue::noise::Turbulence< real_type_ >::operator() ( real_type const &  x,
real_type const &  y 
) const [inline]
template<typename real_type_>
real_type OpenTissue::noise::Turbulence< 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::Turbulence< real_type_ >::m_noise [protected]
template<typename real_type_>
unsigned int OpenTissue::noise::Turbulence< real_type_ >::m_octaves [protected]

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