Blender
V3.3
|
Go to the source code of this file.
Functions | |
struct Mesh * | BKE_mesh_remesh_voxel_fix_poles (const struct Mesh *mesh) |
struct Mesh * | BKE_mesh_remesh_voxel (const struct Mesh *mesh, float voxel_size, float adaptivity, float isovalue) |
struct Mesh * | BKE_mesh_remesh_quadriflow (const struct 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) |
void | BKE_mesh_remesh_reproject_paint_mask (struct Mesh *target, struct Mesh *source) |
void | BKE_remesh_reproject_vertex_paint (struct Mesh *target, const struct Mesh *source) |
void | BKE_remesh_reproject_sculpt_face_sets (struct Mesh *target, struct Mesh *source) |
struct Mesh* BKE_mesh_remesh_quadriflow | ( | const struct Mesh * | mesh, |
int | target_faces, | ||
int | seed, | ||
bool | preserve_sharp, | ||
bool | preserve_boundary, | ||
bool | adaptive_scale, | ||
void(*)(void *, float progress, int *cancel) | update_cb, | ||
void * | update_cb_data | ||
) |
Referenced by quadriflow_start_job().
Definition at line 278 of file mesh_remesh_voxel.cc.
References BKE_bvhtree_from_mesh_get(), BLI_bvhtree_find_nearest(), BVHTREE_FROM_VERTS, CD_CALLOC, CD_MVERT, CD_PAINT_MASK, copy_v3_v3(), CustomData_add_layer(), CustomData_get_layer(), CustomData_has_layer(), BVHTreeNearest::dist_sq, free_bvhtree_from_mesh(), BVHTreeNearest::index, BVHTreeFromMesh::nearest_callback, Mesh::totvert, BVHTreeFromMesh::tree, and Mesh::vdata.
Referenced by quadriflow_start_job(), and voxel_remesh_exec().
struct Mesh* BKE_mesh_remesh_voxel | ( | const struct Mesh * | mesh, |
float | voxel_size, | ||
float | adaptivity, | ||
float | isovalue | ||
) |
Referenced by voxel_remesh_exec().
Referenced by voxel_remesh_exec().
Definition at line 316 of file mesh_remesh_voxel.cc.
References BKE_bvhtree_from_mesh_get(), BKE_mesh_calc_poly_center(), BKE_mesh_runtime_looptri_ensure(), BLI_bvhtree_find_nearest(), BVHTREE_FROM_LOOPTRI, CD_CALLOC, CD_MLOOP, CD_MPOLY, CD_MVERT, CD_SCULPT_FACE_SETS, CustomData_add_layer(), CustomData_get_layer(), CustomData_has_layer(), BVHTreeNearest::dist_sq, free_bvhtree_from_mesh(), BVHTreeNearest::index, Mesh::ldata, MPoly::loopstart, BVHTreeFromMesh::nearest_callback, Mesh::pdata, MLoopTri::poly, Mesh::totpoly, BVHTreeFromMesh::tree, and Mesh::vdata.
Referenced by voxel_remesh_exec().
Referenced by voxel_remesh_exec().