#include <PerlinNoise.hh>
|
| | PerlinNoise (std::uint32_t seed=std::default_random_engine::default_seed) |
| |
| void | reseed (std::uint32_t seed) |
| |
| double | noise (double x) const |
| |
| double | noise (double x, double y) const |
| |
| double | noise (double x, double y, double z) const |
| |
| double | octaveNoise (double x, std::int32_t octaves) const |
| |
| double | octaveNoise (double x, double y, std::int32_t octaves) const |
| |
| double | octaveNoise (double x, double y, double z, std::int32_t octaves) const |
| |
| double | noise0_1 (double x) const |
| |
| double | noise0_1 (double x, double y) const |
| |
| double | noise0_1 (double x, double y, double z) const |
| |
| double | octaveNoise0_1 (double x, std::int32_t octaves) const |
| |
| double | octaveNoise0_1 (double x, double y, std::int32_t octaves) const |
| |
| double | octaveNoise0_1 (double x, double y, double z, std::int32_t octaves) const |
| |
|
| static double | Fade (double t) noexcept |
| |
| static double | Lerp (double t, double a, double b) noexcept |
| |
| static double | Grad (std::int32_t hash, double x, double y, double z) noexcept |
| |
◆ PerlinNoise()
| protocols::electron_density::PerlinNoise::PerlinNoise |
( |
std::uint32_t |
seed = std::default_random_engine::default_seed | ) |
|
|
inlineexplicit |
◆ Fade()
| static double protocols::electron_density::PerlinNoise::Fade |
( |
double |
t | ) |
|
|
inlinestaticprivatenoexcept |
◆ Grad()
| static double protocols::electron_density::PerlinNoise::Grad |
( |
std::int32_t |
hash, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inlinestaticprivatenoexcept |
◆ Lerp()
| static double protocols::electron_density::PerlinNoise::Lerp |
( |
double |
t, |
|
|
double |
a, |
|
|
double |
b |
|
) |
| |
|
inlinestaticprivatenoexcept |
◆ noise() [1/3]
| double protocols::electron_density::PerlinNoise::noise |
( |
double |
x | ) |
const |
|
inline |
◆ noise() [2/3]
| double protocols::electron_density::PerlinNoise::noise |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inline |
◆ noise() [3/3]
| double protocols::electron_density::PerlinNoise::noise |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| const |
|
inline |
◆ noise0_1() [1/3]
| double protocols::electron_density::PerlinNoise::noise0_1 |
( |
double |
x | ) |
const |
|
inline |
◆ noise0_1() [2/3]
| double protocols::electron_density::PerlinNoise::noise0_1 |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inline |
◆ noise0_1() [3/3]
| double protocols::electron_density::PerlinNoise::noise0_1 |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| const |
|
inline |
◆ octaveNoise() [1/3]
| double protocols::electron_density::PerlinNoise::octaveNoise |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
std::int32_t |
octaves |
|
) |
| const |
|
inline |
◆ octaveNoise() [2/3]
| double protocols::electron_density::PerlinNoise::octaveNoise |
( |
double |
x, |
|
|
double |
y, |
|
|
std::int32_t |
octaves |
|
) |
| const |
|
inline |
◆ octaveNoise() [3/3]
| double protocols::electron_density::PerlinNoise::octaveNoise |
( |
double |
x, |
|
|
std::int32_t |
octaves |
|
) |
| const |
|
inline |
◆ octaveNoise0_1() [1/3]
| double protocols::electron_density::PerlinNoise::octaveNoise0_1 |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
std::int32_t |
octaves |
|
) |
| const |
|
inline |
◆ octaveNoise0_1() [2/3]
| double protocols::electron_density::PerlinNoise::octaveNoise0_1 |
( |
double |
x, |
|
|
double |
y, |
|
|
std::int32_t |
octaves |
|
) |
| const |
|
inline |
◆ octaveNoise0_1() [3/3]
| double protocols::electron_density::PerlinNoise::octaveNoise0_1 |
( |
double |
x, |
|
|
std::int32_t |
octaves |
|
) |
| const |
|
inline |
◆ reseed()
| void protocols::electron_density::PerlinNoise::reseed |
( |
std::uint32_t |
seed | ) |
|
|
inline |
| std::int32_t protocols::electron_density::PerlinNoise::p[512] |
|
private |
The documentation for this class was generated from the following file: