|
synfig-core
1.0.3
|
#include <random_noise.h>
Public Types | |
| enum | SmoothType { SMOOTH_DEFAULT = 0, SMOOTH_LINEAR = 1, SMOOTH_COSINE = 2, SMOOTH_SPLINE = 3, SMOOTH_CUBIC = 4, SMOOTH_FAST_SPLINE = 5 } |
Public Member Functions | |
| void | set_seed (int x) |
| int | get_seed () const |
| float | operator() (int subseed, int x, int y=0, int t=0) const |
| float | operator() (SmoothType smooth, int subseed, float x, float y=0, float t=0, int loop=0) const |
| void RandomNoise::set_seed | ( | int | x | ) |
Referenced by synfig::ValueNode_Random::operator()(), and synfig::ValueNode_Random::randomize_seed().
|
inline |
| float RandomNoise::operator() | ( | int | subseed, |
| int | x, | ||
| int | y = 0, |
||
| int | t = 0 |
||
| ) | const |
References quick_rng::f().
| float RandomNoise::operator() | ( | SmoothType | smooth, |
| int | subseed, | ||
| float | x, | ||
| float | y = 0, |
||
| float | t = 0, |
||
| int | loop = 0 |
||
| ) | const |
References f, F, FT, PI, SMOOTH_COSINE, SMOOTH_CUBIC, SMOOTH_DEFAULT, SMOOTH_FAST_SPLINE, SMOOTH_LINEAR, SMOOTH_SPLINE, X, XT, Z, and ZT.
1.8.1.2