#include <PerlinNoise.h>
Public Types | |
| typedef PerlinNoise< P, V, F > * | Ptr |
| typedef P | Point |
| typedef VectorTraits< P > | PointTraits |
| typedef VectorTraits< P >::BaseType | PointBaseType |
| typedef V | Value |
| typedef VectorTraits< V > | ValueTraits |
| typedef VectorTraits< V >::BaseType | ValueBaseType |
Public Member Functions | |
| PerlinNoise (unsigned long int seed=0) | |
| PerlinNoise (const PerlinNoise &other) | |
| Copy constructor. | |
| void | initGradients (unsigned long int seed) |
| Value | noise (const Point &p) const |
| Value | noise (const Point &p, PointBaseType filterWidth) const |
| As above but performs antialiasing using frequency clamping. | |
| Value | operator() (const Point &p) const |
| Value | operator() (const Point &p, PointBaseType filterWidth) const |
| As above but performs antialiasing using frequency clamping. | |
| typedef P IECore::PerlinNoise< P, V, F >::Point |
| typedef VectorTraits<P>::BaseType IECore::PerlinNoise< P, V, F >::PointBaseType |
| typedef VectorTraits<P> IECore::PerlinNoise< P, V, F >::PointTraits |
| typedef PerlinNoise<P,V,F>* IECore::PerlinNoise< P, V, F >::Ptr |
| typedef V IECore::PerlinNoise< P, V, F >::Value |
| typedef VectorTraits<V>::BaseType IECore::PerlinNoise< P, V, F >::ValueBaseType |
| typedef VectorTraits<V> IECore::PerlinNoise< P, V, F >::ValueTraits |
| IECore::PerlinNoise< P, V, F >::PerlinNoise | ( | unsigned long int | seed = 0 |
) |
Constructs a new PerlinNoise object, passing the seed used by the random number generator to construct the gradient and permutations tables.
| IECore::PerlinNoise< P, V, F >::PerlinNoise | ( | const PerlinNoise< P, V, F > & | other | ) |
Copy constructor.
| void IECore::PerlinNoise< P, V, F >::initGradients | ( | unsigned long int | seed | ) |
Reinitialises the random gradient table using a potentially different seed.
| Value IECore::PerlinNoise< P, V, F >::noise | ( | const Point & | p, | |
| PointBaseType | filterWidth | |||
| ) | const [inline] |
As above but performs antialiasing using frequency clamping.
| Value IECore::PerlinNoise< P, V, F >::noise | ( | const Point & | p | ) | const [inline] |
Computes the noise value at the given point. The components of the returned value will range from -0.5 to 0.5.
| Value IECore::PerlinNoise< P, V, F >::operator() | ( | const Point & | p, | |
| PointBaseType | filterWidth | |||
| ) | const [inline] |
As above but performs antialiasing using frequency clamping.
| Value IECore::PerlinNoise< P, V, F >::operator() | ( | const Point & | p | ) | const [inline] |
Computes the noise value at the given point. The components of the returned value will range from -0.5 to 0.5.
1.5.8