#include <noise.h>
Inheritance diagram for NUM::NoiseGenerator_Base< T >:
Public Member Functions | |
NoiseGenerator_Base () | |
virtual | ~NoiseGenerator_Base () |
virtual T | noise1 (T) const |
Calculate one dimensional noise at specified point. | |
virtual T | noise2 (const T *p) const |
Calculate one dimensional noise at specified point. | |
virtual T | noise3 (const T *p) const |
Calculate one dimensional noise at specified point. | |
T | noise2 (T x, T y) const |
Overloaded variant of noise2() for convenience. | |
T | noise3 (T x, T y, T z) const |
Overloaded variant of noise3() for convenience. |
If no class is derived, this implements a null-generator returning 0.5 at any point.
Definition at line 44 of file noise.h.
|
|
|
|
|
Calculate one dimensional noise at specified point.
Reimplemented in NUM::NoiseGenerator_Perlin< T >. |
|
Overloaded variant of noise2() for convenience.
Definition at line 78 of file noise.h. References NUM::NoiseGenerator_Base< T >::noise2(), and NUM::y. |
|
Calculate one dimensional noise at specified point. The passed coordinates are in p[0] and p[1].
Reimplemented in NUM::NoiseGenerator_Perlin< T >. Definition at line 64 of file noise.h. Referenced by NUM::NoiseGenerator_Base< T >::noise2(). |
|
Overloaded variant of noise3() for convenience.
Definition at line 82 of file noise.h. References NUM::NoiseGenerator_Base< T >::noise3(), and NUM::y. |
|
Calculate one dimensional noise at specified point. The passed coordinates are in p[0], p[1] and p[2].
Reimplemented in NUM::NoiseGenerator_Perlin< T >. Definition at line 74 of file noise.h. Referenced by NUM::NoiseGenerator_Base< T >::noise3(). |