|
HighMap library (C++)
|
World-coordinate (CoordFrame) terrain interpolation and flattening. More...
Go to the source code of this file.
Namespaces | |
| namespace | hmap |
Functions | |
| void | hmap::flatten_terrain (Array &h_source1, const Array &h_source2, const CoordFrame &t_source1, const CoordFrame &t_source2, bool bilinear=true) |
| Blend a second terrain array in-place onto a base terrain array using their world-space coordinate frames. | |
| void | hmap::flatten_terrain (const std::vector< const Array * > &h_sources, Array &h_target, const std::vector< const CoordFrame * > &t_sources, const CoordFrame &t_target, bool bilinear=true) |
| Flatten multiple terrain arrays into a target array using their world-space coordinate frames. | |
| void | hmap::interpolate_terrain (const Array &h_source, Array &h_target, const CoordFrame &t_source, const CoordFrame &t_target, bool bilinear=true, float fill_value=0.f, Array *p_mask=nullptr) |
| Project and interpolate a source terrain array onto a target terrain array using their world-space coordinate frames. | |
| void | hmap::flatten_terrain (VirtualArray &h_source1, const VirtualArray &h_source2, const CoordFrame &t_source1, const CoordFrame &t_source2, const ComputeMode &cm, bool bilinear=true) |
| Blend a second terrain VirtualArray in-place onto a base terrain VirtualArray using their world-space coordinate frames. | |
| void | hmap::flatten_terrain (const std::vector< const VirtualArray * > &h_sources, VirtualArray &h_target, const std::vector< const CoordFrame * > &t_sources, const CoordFrame &t_target, const ComputeMode &cm, bool bilinear=true) |
| Flatten multiple terrain VirtualArrays into a target VirtualArray using their world-space coordinate frames. | |
| void | hmap::interpolate_terrain (const VirtualArray &h_source, VirtualArray &h_target, const CoordFrame &t_source, const CoordFrame &t_target, const ComputeMode &cm, bool bilinear=true, float fill_value=0.f, VirtualArray *p_mask=nullptr) |
| Project and interpolate a source terrain VirtualArray onto a target terrain VirtualArray using their world-space coordinate frames. | |
World-coordinate (CoordFrame) terrain interpolation and flattening.