|
| Array | hmap::cloud_sdf_to_array (const Cloud &cloud, glm::ivec2 shape, glm::vec4 bbox_array={0.f, 1.f, 0.f, 1.f}, const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr) |
| | Compute a distance field from a point cloud.
|
| |
| std::vector< float > | hmap::interpolate_values_from_array (const Cloud &cloud, const Array &array, glm::vec4 bbox) |
| | Interpolate values from an array at the points' (x, y) locations.
|
| |
| void | hmap::rejection_filter_density (Cloud &cloud, const Array &density_mask, uint seed, const glm::vec4 &bbox={0.f, 1.f, 0.f, 1.f}) |
| | Filter a point cloud using rejection sampling based on a density mask.
|
| |