#include <noise_improved_perlin.h>
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] |
Improved Perlin Noise Function.
typedef real_type_ OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::real_type |
OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::ImprovedPerlinNoise | ( | ) | [inline] |
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::fade | ( | real_type const & | t | ) | const [inline, protected] |
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] |
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::lerp | ( | real_type const & | t, | |
real_type const & | a, | |||
real_type const & | b | |||
) | const [inline, protected] |
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::operator() | ( | real_type const & | x, | |
real_type const & | y, | |||
real_type const & | z | |||
) | const [inline] |
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::operator() | ( | real_type const & | x | ) | const [inline] |
real_type OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::operator() | ( | real_type const & | x, | |
real_type const & | y | |||
) | const [inline] |
int OpenTissue::noise::ImprovedPerlinNoise< real_type_ >::m_p[512] [protected] |