|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| struct Mesh * | BKE_mesh_remesh_voxel_fix_poles (struct Mesh *mesh) |
| struct Mesh * | BKE_mesh_remesh_voxel_to_mesh_nomain (struct Mesh *mesh, float voxel_size, float adaptivity, float isovalue) |
| struct Mesh * | BKE_mesh_remesh_quadriflow_to_mesh_nomain (struct Mesh *mesh, int target_faces, int seed, bool preserve_sharp, bool preserve_boundary, bool adaptive_scale, void *update_cb, 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, struct Mesh *source) |
| void | BKE_remesh_reproject_sculpt_face_sets (struct Mesh *target, struct Mesh *source) |
| struct Mesh* BKE_mesh_remesh_quadriflow_to_mesh_nomain | ( | struct Mesh * | mesh, |
| int | target_faces, | ||
| int | seed, | ||
| bool | preserve_sharp, | ||
| bool | preserve_boundary, | ||
| bool | adaptive_scale, | ||
| void * | update_cb, | ||
| void * | update_cb_data | ||
| ) |
Definition at line 261 of file mesh_remesh_voxel.c.
References mesh, NULL, seed, UNUSED_VARS, and update_cb().
Referenced by quadriflow_start_job().
Definition at line 317 of file mesh_remesh_voxel.c.
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, NULL, Mesh::totvert, and BVHTreeFromMesh::tree.
Referenced by quadriflow_start_job(), and voxel_remesh_exec().
Definition at line 437 of file mesh_remesh_voxel.c.
References add_v3_v3(), BKE_id_free(), BKE_mesh_from_bmesh_nomain(), bm, BM_CREATE_NOP, BM_EDGE, BM_edge_collapse(), BM_edge_create(), BM_edge_exists(), BM_edge_face_count(), BM_edge_other_vert(), BM_EDGES_OF_MESH, BM_EDGES_OF_VERT, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, BM_face_kill(), BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_ITER_MESH_MUTABLE, BM_mesh_bm_from_me(), BM_mesh_create(), BM_mesh_delete_hflag_context(), BM_mesh_edgenet(), BM_mesh_elem_hflag_disable_all(), BM_mesh_elem_hflag_enable_all(), BM_mesh_free(), BM_mesh_normals_update(), BM_VERT, BM_vert_edge_count(), BM_VERTS_OF_FACE, BM_VERTS_OF_MESH, BMALLOC_TEMPLATE_FROM_ME, BMO_FLAG_DEFAULTS, BMO_FLAG_RESPECT_HIDE, BMO_op_callf(), BMVert::co, copy_v3_v3(), DEL_VERTS, e, mesh, mid_v3_v3v3(), mul_v3_fl(), NULL, result, v, BMEdge::v1, v1, BMEdge::v2, v2, and zero_v3().
Referenced by voxel_remesh_exec().
| struct Mesh* BKE_mesh_remesh_voxel_to_mesh_nomain | ( | struct Mesh * | mesh, |
| float | voxel_size, | ||
| float | adaptivity, | ||
| float | isovalue | ||
| ) |
Definition at line 296 of file mesh_remesh_voxel.c.
References mesh, NULL, OpenVDBLevelSet_free(), OpenVDBTransform_create(), OpenVDBTransform_create_linear_transform(), OpenVDBTransform_free(), and UNUSED_VARS.
Referenced by voxel_remesh_exec().
Definition at line 357 of file mesh_remesh_voxel.c.
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, NULL, MLoopTri::poly, Mesh::totpoly, and BVHTreeFromMesh::tree.
Referenced by voxel_remesh_exec().
Definition at line 406 of file mesh_remesh_voxel.c.
References BKE_bvhtree_from_mesh_get(), BLI_bvhtree_find_nearest(), BVHTREE_FROM_VERTS, CD_CALLOC, CD_MVERT, CD_PROP_COLOR, MVert::co, MPropCol::color, copy_v4_v4(), CustomData_add_layer_named(), CustomData_get_layer(), CustomData_get_layer_n(), CustomData_get_layer_name(), CustomData_number_of_layers(), BVHTreeNearest::dist_sq, free_bvhtree_from_mesh(), BVHTreeNearest::index, BVHTreeFromMesh::nearest_callback, NULL, Mesh::totvert, and BVHTreeFromMesh::tree.
Referenced by voxel_remesh_exec().