Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

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

#include <noise_improved_perlin.h>

List of all members.

Public Types

typedef real_type_ real_type

Public Member Functions

 ImprovedPerlinNoise ()
real_type operator() (real_type const &x, real_type const &y, real_type const &z) const
real_type operator() (real_type const &x, real_type const &y) const
real_type operator() (real_type const &x) const

Protected Member Functions

real_type fade (real_type const &t) const
real_type lerp (real_type const &t, real_type const &a, real_type const &b) const
real_type grad (int hash, real_type const &x, real_type const &y, real_type const &z) const

Protected Attributes

int m_p [512]

Detailed Description

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

Improved Perlin Noise Function.


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename real_type_>
OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::ImprovedPerlinNoise (  )  [inline]

Member Function Documentation

template<typename real_type_>
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::fade ( real_type const &  t  )  const [inline, protected]
template<typename real_type_>
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::grad ( int  hash,
real_type const &  x,
real_type const &  y,
real_type const &  z 
) const [inline, protected]
template<typename real_type_>
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::lerp ( real_type const &  t,
real_type const &  a,
real_type const &  b 
) const [inline, protected]
template<typename real_type_>
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::operator() ( real_type const &  x,
real_type const &  y,
real_type const &  z 
) const [inline]
template<typename real_type_>
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::operator() ( real_type const &  x  )  const [inline]
template<typename real_type_>
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::operator() ( real_type const &  x,
real_type const &  y 
) const [inline]

Member Data Documentation

template<typename real_type_>
int OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::m_p[512] [protected]

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