Blender  V2.93
bmesh_decimate.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
17 #pragma once
18 
24  const float factor,
25  float *vweights,
26  float vweight_factor,
27  const bool do_triangulate,
28  const int symmetry_axis,
29  const float symmetry_eps);
30 
31 void BM_mesh_decimate_unsubdivide_ex(BMesh *bm, const int iterations, const bool tag_only);
32 void BM_mesh_decimate_unsubdivide(BMesh *bm, const int iterations);
33 
35  const float angle_limit,
36  const bool do_dissolve_boundaries,
37  BMO_Delimit delimit,
38  BMVert **vinput_arr,
39  const int vinput_len,
40  BMEdge **einput_arr,
41  const int einput_len,
42  const short oflag_out);
44  const float angle_limit,
45  const bool do_dissolve_boundaries,
46  const BMO_Delimit delimit);
void BM_mesh_decimate_dissolve(BMesh *bm, const float angle_limit, const bool do_dissolve_boundaries, const BMO_Delimit delimit)
void BM_mesh_decimate_collapse(BMesh *bm, const float factor, float *vweights, float vweight_factor, const bool do_triangulate, const int symmetry_axis, const float symmetry_eps)
BM_mesh_decimate.
void BM_mesh_decimate_unsubdivide(BMesh *bm, const int iterations)
void BM_mesh_decimate_unsubdivide_ex(BMesh *bm, const int iterations, const bool tag_only)
void BM_mesh_decimate_dissolve_ex(BMesh *bm, const float angle_limit, const bool do_dissolve_boundaries, BMO_Delimit delimit, BMVert **vinput_arr, const int vinput_len, BMEdge **einput_arr, const int einput_len, const short oflag_out)
ATTR_WARN_UNUSED_RESULT BMesh * bm