|
| 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.
|
|
template<typename P, typename V, typename F>
class IECore::PerlinNoise< P, V, F >
The PerlinNoise class template provides perlin noise functions across arbitrary dimensions of input and output. It uses the VectorTraits.h and VectorOps.h functionality to operate with different input and output types. P is the type of the Point class over which the noise is defined and V is the type of the value computed as the noise result. Both P and V must be types for which VectorTraits have been properly defined. F is the type of a functor providing a falloff function - see SmoothStepFalloff for an example of one of these.
- Todo:
- 4d ones