|
HighMap library (C++)
|
ValueDelaunayNoise (x, y) function class. More...
#include <functions.hpp>


Public Member Functions | |
| float | operator() (float x, float y, float ctrl_param=0.f) const |
| ValueDelaunayNoiseFunction (glm::vec2 kw, std::uint32_t seed) | |
| Construct a new ValueNoiseFunction object. | |
| void | set_kw (glm::vec2 new_kw) |
| Set the wavenumber attribute. | |
| void | set_seed (std::uint32_t new_seed) |
| Set the seed attribute. | |
| void | update_interpolation_function () |
| Update base interpolation. | |
| Public Member Functions inherited from hmap::NoiseFunction | |
| NoiseFunction () | |
| Default constructor. Initializes with default frequency scaling and seed. | |
| NoiseFunction (glm::vec2 kw) | |
| Constructor to initialize with specific frequency scaling. | |
| NoiseFunction (glm::vec2 kw, std::uint32_t seed) | |
| Constructor to initialize with specific frequency scaling and seed. | |
| glm::vec2 | get_kw () const |
| Get the frequency scaling vector. | |
| std::uint32_t | get_seed () const |
| Get the random seed. | |
| void | set_seed (std::uint32_t new_seed) |
| Set a new random seed for noise generation. | |
| void | set_kw (glm::vec2 new_kw) |
| Set a new frequency scaling vector. | |
Public Attributes | |
| std::function< float(float, float, float)> | itp_fct |
Additional Inherited Members | |
| Protected Attributes inherited from hmap::NoiseFunction | |
| glm::vec2 | kw |
| Frequency scaling vector. | |
| std::uint32_t | seed |
| Random seed for noise generation. | |
ValueDelaunayNoise (x, y) function class.
| hmap::ValueDelaunayNoiseFunction::ValueDelaunayNoiseFunction | ( | glm::vec2 | kw, |
| std::uint32_t | seed ) |
Construct a new ValueNoiseFunction object.
| kw | Noise wavenumber, with respect to a unit domain. |
| seed | Random seed number. |
| float hmap::ValueDelaunayNoiseFunction::operator() | ( | float | x, |
| float | y, | ||
| float | ctrl_param = 0.f ) const |
|
inline |
Set the wavenumber attribute.
| new_kw | New kw. |
|
inline |
Set the seed attribute.
| new_seed | New seed. |
| void hmap::ValueDelaunayNoiseFunction::update_interpolation_function | ( | ) |
Update base interpolation.
| std::function<float(float, float, float)> hmap::ValueDelaunayNoiseFunction::itp_fct |