HighMap library (C++)
Loading...
Searching...
No Matches
interpolate_array.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  hmap
namespace  hmap::gpu

Functions

void hmap::interpolate_array_bicubic (const Array &source, Array &target, bool endpoint=false, bool pixel_centered=true)
 Resample an array to a target array using bicubic interpolation.
void hmap::interpolate_array_bicubic (const Array &source, Array &target, const UvRect &uv_rect_source, const UvRect &uv_rect_target, bool endpoint=false, bool pixel_centered=true)
 Resample a source array into a target array using bicubic interpolation between two local axis-aligned bounding boxes.
void hmap::interpolate_array_bilinear (const Array &source, Array &target, bool endpoint=false, bool pixel_centered=true)
 Resample an array to a target array using bilinear interpolation.
void hmap::interpolate_array_bilinear (const Array &source, Array &target, const UvRect &uv_rect_source, const UvRect &uv_rect_target, bool endpoint=false, bool pixel_centered=true)
 Resample a source array into a target array using bilinear interpolation between two local axis-aligned bounding boxes.
void hmap::interpolate_array_nearest (const Array &source, Array &target, bool endpoint=false)
 Resample an array to a target array using nearest-neighbor interpolation.
void hmap::interpolate_array_nearest (const Array &source, Array &target, const UvRect &uv_rect_source, const UvRect &uv_rect_target, bool endpoint=false)
 Resample a source array into a target array using nearest-neighbor interpolation between two local axis-aligned bounding boxes.
Array hmap::resample_bicubic_warp (const Array &src, glm::ivec2 dst_shape, float warp=0.f, std::uint32_t seed=0)
 Resample an array to a target shape using cubic B-spline interpolation with optional domain noise warping.
void hmap::gpu::interpolate_array_bicubic (const Array &source, Array &target)
void hmap::gpu::interpolate_array_bicubic (const Array &source, Array &target, const UvRect &uv_rect_source, const UvRect &uv_rect_target)
void hmap::gpu::interpolate_array_bilinear (const Array &source, Array &target)
void hmap::gpu::interpolate_array_bilinear (const Array &source, Array &target, const UvRect &uv_rect_source, const UvRect &uv_rect_target)
void hmap::gpu::interpolate_array_lagrange (const Array &source, Array &target, int order)
void hmap::gpu::interpolate_array_nearest (const Array &source, Array &target)
void hmap::gpu::interpolate_array_nearest (const Array &source, Array &target, const UvRect &uv_rect_source, const UvRect &uv_rect_target)