2023-08-15 16:20:26 +02:00
|
|
|
/* SPDX-FileCopyrightText: 2019 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2019-09-13 13:12:26 +02:00
|
|
|
|
|
|
|
#pragma once
|
2019-08-14 18:37:46 +02:00
|
|
|
|
|
|
|
/** \file
|
|
|
|
* \ingroup bke
|
|
|
|
*/
|
|
|
|
|
2019-08-14 19:41:36 +02:00
|
|
|
struct Mesh;
|
|
|
|
|
2023-08-03 01:11:28 +02:00
|
|
|
Mesh *BKE_mesh_remesh_voxel_fix_poles(const Mesh *mesh);
|
|
|
|
Mesh *BKE_mesh_remesh_voxel(const Mesh *mesh, float voxel_size, float adaptivity, float isovalue);
|
|
|
|
Mesh *BKE_mesh_remesh_quadriflow(const Mesh *mesh,
|
|
|
|
int target_faces,
|
|
|
|
int seed,
|
|
|
|
bool preserve_sharp,
|
|
|
|
bool preserve_boundary,
|
|
|
|
bool adaptive_scale,
|
|
|
|
void (*update_cb)(void *, float progress, int *cancel),
|
|
|
|
void *update_cb_data);
|
2019-08-14 18:37:46 +02:00
|
|
|
|
2023-11-22 15:21:58 +01:00
|
|
|
namespace blender::bke {
|
|
|
|
void mesh_remesh_reproject_attributes(const Mesh &src, Mesh &dst);
|
2023-11-26 23:30:52 +01:00
|
|
|
}
|