Home
last modified time | relevance | path

Searched refs:totpoly (Results 1 – 25 of 145) sorted by relevance

123456

/dports/graphics/blender/blender-2.91.0/source/blender/editors/mesh/
H A Deditface.c60 int totpoly; in paintface_flush_flags() local
87 if (me_orig != NULL && me_eval != NULL && me_orig->totpoly == me->totpoly) { in paintface_flush_flags()
100 totpoly = me_eval->totpoly; in paintface_flush_flags()
139 if (me == NULL || me->totpoly == 0) { in paintface_hide()
144 a = me->totpoly; in paintface_hide()
171 if (me == NULL || me->totpoly == 0) { in paintface_reveal()
176 a = me->totpoly; in paintface_reveal()
272 if (me == NULL || me->totpoly == 0) { in paintface_select_linked()
302 a = me->totpoly; in paintface_deselect_all_visible()
315 a = me->totpoly; in paintface_deselect_all_visible()
[all …]
H A Dmesh_data.c103 tot = me->totpoly; in mesh_customdata_get_type()
238 for (int i = 0; i < me->totpoly; i++) { in ED_mesh_uv_loop_reset_ex()
963 me->totpoly, in mesh_customdata_custom_splitnormals_add_exec()
1151 int i, totpoly; in mesh_add_polys() local
1157 totpoly = mesh->totpoly + len; /* new face count */ in mesh_add_polys()
1172 mpoly = &mesh->mpoly[mesh->totpoly]; in mesh_add_polys()
1177 mesh->totpoly = totpoly; in mesh_add_polys()
1261 const int totpoly = mesh->totpoly - len; in mesh_remove_polys() local
1263 mesh->totpoly = totpoly; in mesh_remove_polys()
1314 if (count > mesh->totpoly) { in ED_mesh_polys_remove()
[all …]
H A Dmeshtools.c97 int totpoly, in join_mesh_single() argument
249 if (me->totpoly) { in join_mesh_single()
296 *polyofs += me->totpoly; in join_mesh_single()
297 *mpoly_pp += me->totpoly; in join_mesh_single()
305 if (!mesh->totpoly) { in mesh_join_offset_face_sets_ID()
315 for (int f = 0; f < mesh->totpoly; f++) { in mesh_join_offset_face_sets_ID()
373 totpoly += me->totpoly; in ED_mesh_join_objects_exec()
619 totpoly, in ED_mesh_join_objects_exec()
653 totpoly, in ED_mesh_join_objects_exec()
683 me->totpoly = totpoly; in ED_mesh_join_objects_exec()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/
H A DBKE_mesh_mapping.h100 unsigned int totpoly,
113 int totpoly,
120 int totpoly,
139 const int totpoly,
147 const int totpoly,
209 const int totpoly,
222 const int totpoly,
232 const int totpoly,
241 const int totpoly,
H A DBKE_mesh.h542 int totpoly,
548 int totpoly,
579 int totpoly);
599 const int totpoly);
606 const int totpoly);
614 const int totpoly);
622 const int totpoly);
627 const int totpoly,
653 unsigned int totpoly,
666 const uint totpoly,
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dmesh_mapping.c70 for (a = 0; a < totpoly; a++, mp++) { in BKE_mesh_uv_vert_map_create()
93 for (a = 0; a < totpoly; a++, mp++) { in BKE_mesh_uv_vert_map_create()
220 for (i = 0; i < totpoly; i++) { in mesh_vert_poly_or_loop_map_create()
238 for (i = 0; i < totpoly; i++) { in mesh_vert_poly_or_loop_map_create()
263 int totpoly, in BKE_mesh_vert_poly_map_create() argument
279 int totpoly, in BKE_mesh_vert_loop_map_create() argument
671 if (totpoly == 0) { in poly_edge_loop_islands_calc()
706 if (poly == totpoly) { in poly_edge_loop_islands_calc()
809 int i = totpoly, *gid = poly_groups; in poly_edge_loop_islands_calc()
875 totpoly, in BKE_mesh_calc_smoothgroups()
[all …]
H A Dmesh_convert.c297 totpoly += tot; in BKE_mesh_nurbs_displist_to_mdata()
305 totpoly += tot; in BKE_mesh_nurbs_displist_to_mdata()
514 if (totpoly) { in BKE_mesh_nurbs_displist_to_mdata()
627 me->totpoly = totpoly; in BKE_mesh_from_nurbs_displist()
785 int totpoly = 0; in BKE_mesh_to_curve_nurblist() local
792 totpoly++; in BKE_mesh_to_curve_nurblist()
794 totpoly++; in BKE_mesh_to_curve_nurblist()
809 totpoly++; in BKE_mesh_to_curve_nurblist()
817 totpoly++; in BKE_mesh_to_curve_nurblist()
846 totpoly--; in BKE_mesh_to_curve_nurblist()
[all …]
H A Dmesh_runtime.c102 const unsigned int totpoly = mesh->totpoly; in mesh_ensure_looptri_data() local
103 const int looptris_len = poly_to_tri_count(totpoly, mesh->totloop); in mesh_ensure_looptri_data()
110 (looptris_len < mesh->runtime.looptris.len_alloc * 2) || (totpoly == 0)) { in mesh_ensure_looptri_data()
116 if (totpoly) { in mesh_ensure_looptri_data()
131 BLI_assert(mesh->totpoly == 0 || mesh->runtime.looptris.array_wip != NULL); in BKE_mesh_runtime_looptri_recalc()
137 mesh->totpoly, in BKE_mesh_runtime_looptri_recalc()
150 const int looptri_len = poly_to_tri_count(mesh->totpoly, mesh->totloop); in BKE_mesh_runtime_looptri_len()
330 BLI_dynstr_appendf(dynstr, " 'totpoly': %d,\n", me_eval->totpoly); in BKE_mesh_runtime_debug_info()
415 me_eval->totpoly, in BKE_mesh_runtime_is_valid()
431 me_eval->totpoly, in BKE_mesh_runtime_is_valid()
H A Dmesh_validate.c231 unsigned int totpoly, in BKE_mesh_validate_arrays() argument
304 if (totedge == 0 && totpoly != 0) { in BKE_mesh_validate_arrays()
691 for (i = 1; i < totpoly; i++, sp++) { in BKE_mesh_validate_arrays()
726 for (i = 0; i < totpoly; i++, sp++) { in BKE_mesh_validate_arrays()
886 tot_elem = mesh->totpoly; in BKE_mesh_validate_arrays()
1116 me->totpoly, in BKE_mesh_is_valid()
1152 const int totpoly = me->totpoly; in BKE_mesh_validate_material_indices() local
1243 me->totpoly = b; in BKE_mesh_strip_loose_polysloops()
1369 int totpoly, in mesh_calc_edges_mdata() argument
1474 for (a = 0; a < totpoly; a++, mpoly++) { in mesh_calc_edges_mdata()
[all …]
H A Dmesh_merge.c252 const int totpoly = mesh->totpoly; in BKE_mesh_merge_verts() local
279 MPoly *mp, *mpoly = MEM_malloc_arrayN(totpoly, sizeof(*medge), __func__); in BKE_mesh_merge_verts()
280 int *oldp = MEM_malloc_arrayN(totpoly, sizeof(*oldp), __func__); in BKE_mesh_merge_verts()
296 STACK_INIT(oldp, totpoly); in BKE_mesh_merge_verts()
301 STACK_INIT(mpoly, totpoly); in BKE_mesh_merge_verts()
361 poly_keys = MEM_malloc_arrayN(totpoly, sizeof(PolyKey), __func__); in BKE_mesh_merge_verts()
362 poly_gset = BLI_gset_new_ex(poly_gset_hash_fn, poly_gset_compare_fn, __func__, totpoly); in BKE_mesh_merge_verts()
368 for (i = 0; i < totpoly; i++, mp++, mpgh++) { in BKE_mesh_merge_verts()
383 &poly_map, &poly_map_mem, mesh->mpoly, mesh->mloop, totvert, totpoly, totloop); in BKE_mesh_merge_verts()
388 for (i = 0; i < totpoly; i++, mp++) { in BKE_mesh_merge_verts()
[all …]
H A Dmesh_evaluate.c2330 int i = me->totpoly; in BKE_mesh_calc_area()
2563 int i = me->totpoly; in BKE_mesh_center_median_from_polys()
2577 if (me->totpoly) { in BKE_mesh_center_median_from_polys()
2597 int i = me->totpoly; in BKE_mesh_center_of_surface()
2614 if (me->totpoly) { in BKE_mesh_center_of_surface()
2632 int i = me->totpoly; in BKE_mesh_center_of_volume()
3607 totpoly = totface_i; in BKE_mesh_convert_mfaces_to_mpolys_ex()
3861 int i = totpoly; in BKE_mesh_flush_hidden_from_polys_ex()
3873 i = totpoly; in BKE_mesh_flush_hidden_from_polys_ex()
3916 i = totpoly; in BKE_mesh_flush_select_from_polys_ex()
[all …]
H A Dmultires_reshape_subdivide.c48 const int totpoly = mesh->totpoly; in multires_subdivide_create_object_space_linear_grids() local
49 for (int p = 0; p < totpoly; p++) { in multires_subdivide_create_object_space_linear_grids()
H A Dmesh_mirror.c167 const int maxPolys = mesh->totpoly; in BKE_mesh_mirror_apply_mirror_on_axis()
188 memcpy(result->mpoly, mesh->mpoly, sizeof(*result->mpoly) * mesh->totpoly); in BKE_mesh_mirror_apply_mirror_on_axis()
331 const int totpoly = result->totpoly; in BKE_mesh_mirror_apply_mirror_on_axis() local
336 float(*poly_normals)[3] = MEM_mallocN(sizeof(*poly_normals) * totpoly, __func__); in BKE_mesh_mirror_apply_mirror_on_axis()
352 totpoly, in BKE_mesh_mirror_apply_mirror_on_axis()
365 totpoly, in BKE_mesh_mirror_apply_mirror_on_axis()
H A Dmesh.c518 int ptot = m1->totpoly; in customdata_compare()
624 if (me1->totpoly != me2->totpoly) { in BKE_mesh_cmp()
830 mesh->totpoly = 0; in mesh_clear_geometry()
907 mesh->totpoly = polys_len; in BKE_mesh_new_nomain()
963 me_dst->totpoly = polys_len; in BKE_mesh_new_nomain_from_template_ex()
1402 for (i = 0; i < me->totpoly; i++) { in BKE_mesh_material_remap()
1413 for (int i = 0; i < me->totpoly; i++) { in BKE_mesh_smooth_flag_set()
1418 for (int i = 0; i < me->totpoly; i++) { in BKE_mesh_smooth_flag_set()
1569 mesh->totpoly, in BKE_mesh_tessface_calc()
1990 const int num_polys = mesh->totpoly; in split_faces_prepare_new_edges()
[all …]
H A Dcdderivedmesh.c175 &cddm->pmap, &cddm->pmap_mem, me->mpoly, me->mloop, me->totvert, me->totpoly, me->totloop); in cdDM_getPolyMap()
184 const unsigned int totpoly = dm->numPolyData; in cdDM_recalc_looptri() local
188 BLI_assert(totpoly == 0 || cddm->dm.looptris.array_wip != NULL); in cdDM_recalc_looptri()
191 cddm->mloop, cddm->mpoly, cddm->mvert, totloop, totpoly, cddm->dm.looptris.array_wip); in cdDM_recalc_looptri()
281 mesh->totpoly); in cdDM_from_mesh_ex()
303 CustomData_merge(&mesh->pdata, &dm->polyData, cddata_masks.pmask, alloctype, mesh->totpoly); in cdDM_from_mesh_ex()
H A Dmesh_wrapper.c77 me->totpoly = INT_MAX; in BKE_mesh_wrapper_from_editmesh_with_coords()
82 me->totpoly = 0; in BKE_mesh_wrapper_from_editmesh_with_coords()
118 me->totpoly = 0; in BKE_mesh_wrapper_ensure_mdata()
280 return me->totpoly; in BKE_mesh_wrapper_poly_len()
H A Dmesh_iterators.c205 for (p_idx = 0; p_idx < mesh->totpoly; p_idx++, mp++) { in BKE_mesh_foreach_mapped_loop()
218 for (p_idx = 0; p_idx < mesh->totpoly; p_idx++, mp++) { in BKE_mesh_foreach_mapped_loop()
279 for (int i = 0; i < mesh->totpoly; i++, mp++) { in BKE_mesh_foreach_mapped_face_center()
294 for (int i = 0; i < mesh->totpoly; i++, mp++) { in BKE_mesh_foreach_mapped_face_center()
322 for (int i = 0; i < mesh->totpoly; i++, mp++) { in BKE_mesh_foreach_mapped_subdiv_face_center()
340 for (int i = 0; i < mesh->totpoly; i++, mp++) { in BKE_mesh_foreach_mapped_subdiv_face_center()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/sculpt_paint/
H A Dsculpt_dyntopo.c179 if (me->totpoly != ss->bm->totface) { in SCULPT_dynamic_topology_enable_ex()
213 CustomData_free(&me->pdata, me->totpoly); in SCULPT_dynamic_topology_disable_ex()
219 me->totpoly = geometry->totpoly; in SCULPT_dynamic_topology_disable_ex()
229 &geometry->pdata, &me->pdata, CD_MASK_MESH.pmask, CD_DUPLICATE, geometry->totpoly); in SCULPT_dynamic_topology_disable_ex()
238 CustomData_add_layer(&me->pdata, CD_SCULPT_FACE_SETS, CD_CALLOC, NULL, me->totpoly); in SCULPT_dynamic_topology_disable_ex()
241 for (int i = 0; i < me->totpoly; i++) { in SCULPT_dynamic_topology_disable_ex()
H A Dpaint_vertex_color_ops.c52 (me && me->totpoly && me->dvert); in vertex_weight_paint_mode_poll()
79 for (int i = 0; i < me->totpoly; i++, mp++) { in vertex_color_set()
153 for (int i = 0; i < me->totpoly; i++, mp++) { in vertex_paint_from_weight()
216 if (me->mloopcol == NULL || me->totvert == 0 || me->totpoly == 0) { in vertex_color_smooth_looptag()
223 for (i = 0, mp = me->mpoly; i < me->totpoly; i++, mp++) { in vertex_color_smooth_looptag()
246 for (i = 0, mp = me->mpoly; i < me->totpoly; i++, mp++) { in vertex_color_smooth_looptag()
283 for (i = 0; i < me->totpoly; i++, mp++) { in vertex_color_smooth()
/dports/devel/upp/upp/bazaar/plugin/assimp/code/Blender/
H A DBlenderBMesh.cpp83 return BMesh->totpoly && BMesh->totloop && BMesh->totvert; in ContainsBMesh()
93 for ( int i = 0; i < BMesh->totpoly; ++i ) in TriangulateBMesh()
114 if ( BMesh->totpoly != static_cast<int>( BMesh->mpoly.size( ) ) ) in AssertValidSizes()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Assimp/code/
H A DBlenderBMesh.cpp79 return BMesh->totpoly && BMesh->totloop && BMesh->totvert; in ContainsBMesh()
89 for ( int i = 0; i < BMesh->totpoly; ++i ) in TriangulateBMesh()
110 if ( BMesh->totpoly != static_cast<int>( BMesh->mpoly.size( ) ) ) in AssertValidSizes()
/dports/multimedia/assimp/assimp-5.1.3/code/AssetLib/Blender/
H A DBlenderBMesh.cpp79 return BMesh->totpoly && BMesh->totloop && BMesh->totvert; in ContainsBMesh()
88 for (int i = 0; i < BMesh->totpoly; ++i) { in TriangulateBMesh()
105 if (BMesh->totpoly != static_cast<int>(BMesh->mpoly.size())) { in AssertValidSizes()
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/code/
H A DBlenderBMesh.cpp79 return BMesh->totpoly && BMesh->totloop && BMesh->totvert; in ContainsBMesh()
89 for ( int i = 0; i < BMesh->totpoly; ++i ) in TriangulateBMesh()
110 if ( BMesh->totpoly != static_cast<int>( BMesh->mpoly.size( ) ) ) in AssertValidSizes()
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/3rdparty/assimp/code/
H A DBlenderBMesh.cpp83 return BMesh->totpoly && BMesh->totloop && BMesh->totvert; in ContainsBMesh()
93 for ( int i = 0; i < BMesh->totpoly; ++i ) in TriangulateBMesh()
114 if ( BMesh->totpoly != static_cast<int>( BMesh->mpoly.size( ) ) ) in AssertValidSizes()
/dports/graphics/blender/blender-2.91.0/source/blender/modifiers/intern/
H A DMOD_remesh.c132 BLI_assert(output->curface < mesh->totpoly); in dualcon_add_quad()
213 int i, totpoly = result->totpoly; in modifyMesh() local
216 for (i = 0; i < totpoly; i++) { in modifyMesh()

123456