#include <Perlin.h>
|
| Perlin (uint8_t aOctaves=4) |
|
| Perlin (uint8_t aOctaves, int32_t aSeed) |
|
void | setSeed (int32_t aSeed) |
|
uint8_t | getOctaves () const |
|
void | setOctaves (uint8_t aOctaves) |
|
float | fBm (float v) const |
|
float | fBm (const vec2 &v) const |
|
float | fBm (float x, float y) const |
|
float | fBm (const vec3 &v) const |
|
float | fBm (float x, float y, float z) const |
|
vec2 | dfBm (const vec2 &v) const |
|
vec2 | dfBm (float x, float y) const |
|
vec3 | dfBm (const vec3 &v) const |
|
vec3 | dfBm (float x, float y, float z) const |
|
float | noise (float x) const |
|
float | noise (float x, float y) const |
|
float | noise (const vec2 &v) const |
|
float | noise (float x, float y, float z) const |
|
float | noise (const vec3 &v) const |
|
vec2 | dnoise (float x, float y) const |
|
vec3 | dnoise (float x, float y, float z) const |
|
cinder::Perlin::Perlin |
( |
uint8_t |
aOctaves = 4 | ) |
|
cinder::Perlin::Perlin |
( |
uint8_t |
aOctaves, |
|
|
int32_t |
aSeed |
|
) |
| |
void cinder::Perlin::setSeed |
( |
int32_t |
aSeed | ) |
|
uint8_t cinder::Perlin::getOctaves |
( |
| ) |
const |
void cinder::Perlin::setOctaves |
( |
uint8_t |
aOctaves | ) |
|
float cinder::Perlin::fBm |
( |
float |
v | ) |
const |
Class Perlin look: fractal Brownian motion by summing 'mOctaves' worth of noise.
float cinder::Perlin::fBm |
( |
const vec2 & |
v | ) |
const |
float cinder::Perlin::fBm |
( |
float |
x, |
|
|
float |
y |
|
) |
| const |
float cinder::Perlin::fBm |
( |
const vec3 & |
v | ) |
const |
float cinder::Perlin::fBm |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
vec2 cinder::Perlin::dfBm |
( |
const vec2 & |
v | ) |
const |
Derivative of fractal Brownian motion, corresponding with the values returned by fBm()
vec2 cinder::Perlin::dfBm |
( |
float |
x, |
|
|
float |
y |
|
) |
| const |
vec3 cinder::Perlin::dfBm |
( |
const vec3 & |
v | ) |
const |
vec3 cinder::Perlin::dfBm |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
float cinder::Perlin::noise |
( |
float |
x | ) |
const |
Calculates a single octave of noise.
float cinder::Perlin::noise |
( |
float |
x, |
|
|
float |
y |
|
) |
| const |
float cinder::Perlin::noise |
( |
const vec2 & |
v | ) |
const |
float cinder::Perlin::noise |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
float cinder::Perlin::noise |
( |
const vec3 & |
v | ) |
const |
vec2 cinder::Perlin::dnoise |
( |
float |
x, |
|
|
float |
y |
|
) |
| const |
Calculates the derivative of a single octave of noise.
vec3 cinder::Perlin::dnoise |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
The documentation for this class was generated from the following files: