|
HighMap library (C++)
|
Go to the source code of this file.
Namespaces | |
| namespace | hmap |
Enumerations | |
| enum | hmap::ErosionProfile : int { hmap::EP_COSINE , hmap::EP_COSINE_BULK , hmap::EP_COSINE_PEAK , hmap::EP_PARABOL , hmap::EP_SAW_SHARP , hmap::EP_SAW_SMOOTH , hmap::EP_SHARP_VALLEYS , hmap::EP_SQRT , hmap::EP_TRIANGLE_GRENIER , hmap::EP_TRIANGLE_SHARP , hmap::EP_TRIANGLE_SMOOTH } |
| Procedural erosion angular profile type. More... | |
| enum | hmap::PhasorProfile : int { hmap::PP_COSINE_BULKY , hmap::PP_COSINE_PEAKY , hmap::PP_COSINE_SQUARE , hmap::PP_COSINE_STD , hmap::PP_TRIANGLE , hmap::PP_DUNE } |
| Phasor angular profile type. More... | |
| enum | hmap::RadialProfile : int { hmap::RP_GAIN , hmap::RP_LINEAR , hmap::RP_POW , hmap::RP_SMOOTHSTEP , hmap::RP_SMOOTHSTEP_UPPER , hmap::RP_FLAT_BOTTOM , hmap::RP_SQRT } |
| Radial profile type. More... | |
Functions | |
| std::function< float(float)> | hmap::get_erosion_profile_function (const ErosionProfile &erosion_profile, float delta, float &profile_avg) |
| Generates a function representing an erosion profile based on the specified type and parameters. | |
| std::function< float(float)> | hmap::get_phasor_profile_function (PhasorProfile phasor_profile, float delta, float *p_profile_avg=nullptr) |
| Generates a function representing a phasor profile based on the specified type and parameters. | |
| std::function< float(float)> | hmap::get_radial_profile_function (RadialProfile radial_profile, float delta) |
| Returns a normalized radial profile function. | |