HighMap library (C++)
|
ValueDelaunayNoise (x, y) function class. More...
#include <functions.hpp>
Public Member Functions | |
ValueDelaunayNoiseFunction (Vec2< float > kw, uint seed) | |
Construct a new ValueNoiseFunction object. | |
void | set_kw (Vec2< float > new_kw) |
Set the wavenumber attribute. | |
void | set_seed (uint new_seed) |
Set the seed attribute. | |
void | update_interpolation_function () |
Update base interpolation. | |
![]() | |
NoiseFunction () | |
Default constructor. Initializes with default frequency scaling and seed. | |
NoiseFunction (Vec2< float > kw) | |
Constructor to initialize with specific frequency scaling. | |
NoiseFunction (Vec2< float > kw, uint seed) | |
Constructor to initialize with specific frequency scaling and seed. | |
Vec2< float > | get_kw () const |
Get the frequency scaling vector. | |
uint | get_seed () const |
Get the random seed. | |
![]() | |
Function () | |
Default constructor. Initializes the delegate function to a default that returns 0. | |
virtual | ~Function ()=default |
Virtual destructor to ensure proper cleanup in derived classes. | |
Function (HMAP_FCT_XY_TYPE delegate) | |
Constructor to initialize with a specific delegate function. | |
HMAP_FCT_XY_TYPE | get_delegate () const |
Get the current delegate function. | |
float | get_value (float x, float y, float ctrl_param) const |
Call the delegate function with given arguments. | |
void | set_delegate (HMAP_FCT_XY_TYPE new_delegate) |
Set a new delegate function. | |
Additional Inherited Members | |
![]() | |
Vec2< float > | kw |
Frequency scaling vector. | |
uint | seed |
Random seed for noise generation. | |
ValueDelaunayNoise (x, y) function class.
Construct a new ValueNoiseFunction object.
kw | Noise wavenumber, with respect to a unit domain. |
seed | Random seed number. |
|
inlinevirtual |
|
inlinevirtual |
void hmap::ValueDelaunayNoiseFunction::update_interpolation_function | ( | ) |
Update base interpolation.