|
Blender V5.3
|
#include <algorithm>#include "MEM_guardedalloc.h"#include "BLI_heap.hh"#include "BLI_math_base_c.hh"#include "BLI_math_geom_c.hh"#include "BLI_math_rotation_c.hh"#include "BLI_math_vector_c.hh"#include "BKE_customdata.hh"#include "bmesh.hh"#include "intern/bmesh_operators_private.hh"Go to the source code of this file.
Classes | |
| struct | blender::JoinEdgesState |
| struct | blender::JoinEdgesNeighborItem |
| struct | blender::JoinEdgesNeighborInfo |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | ASSERT_VALID_ERROR_METRIC(val) |
| #define | FACE_OUT (1 << 0) |
| #define | FACE_INPUT (1 << 2) |
Functions | |
| static float | blender::quad_calc_error (const float v1[3], const float v2[3], const float v3[3], const float v4[3]) |
| static void | blender::bm_edge_to_quad_verts (const BMEdge *e, const BMVert *r_v_quad[4]) |
| static void | blender::add_without_duplicates (JoinEdgesNeighborInfo &neighbor_info, BMEdge *e, BMLoop *l) |
| static void | blender::add_neighbors (JoinEdgesNeighborInfo &neighbor_info, BMLoop *l_in_quad) |
| static void | blender::rotate_to_plane (const JoinEdgesState &s, const BMVert *quad_verts[4], const BMLoop *l_shared, const float plane_normal[3], float r_quad_coordinates[4][3]) |
| static float | blender::compute_alignment (const JoinEdgesState &s, const float quad_a_vecs[4][3], const BMVert *quad_b_verts[4], const BMLoop *l_shared, const float plane_normal[3]) |
| static void | blender::reprioritize_join (JoinEdgesState &s, BMEdge *e_merge, BMLoop *l_shared, float neighbor_quad_vecs[4][3], const float neighbor_quad_error, const float neighbor_quad_normal[3]) |
| static void | blender::reprioritize_face_neighbors (JoinEdgesState &s, BMFace *f, float f_error) |
| static BMFace * | blender::bm_faces_join_pair_by_edge (BMesh *bm, BMEdge *e) |
| void | blender::bmo_join_triangles_exec (BMesh *bm, BMOperator *op) |
Delimit processing | |
| static bool | blender::bm_edge_is_contiguous_loop_cd_all (const BMEdge *e, const DelimitData_CD *delimit_data) |
| static bool | blender::bm_edge_delimit_cdata (CustomData *ldata, eCustomDataType type, DelimitData_CD *r_delim_cd) |
| static DelimitData | blender::bm_edge_delmimit_data_from_op (BMesh *bm, BMOperator *op) |
| static bool | blender::bm_edge_is_delimit (const BMEdge *e, const DelimitData *delimit_data) |
Variables | |
| constexpr float | blender::maximum_improvement = 0.99f |
Convert triangle to quads.
TODO
Definition in file bmo_join_triangles.cc.
| #define ASSERT_VALID_ERROR_METRIC | ( | val | ) |
Used to keep track of our math for the error values and ensure it's not getting out of control.
Definition at line 35 of file bmo_join_triangles.cc.
Referenced by blender::compute_alignment(), blender::quad_calc_error(), and blender::reprioritize_join().
| #define FACE_INPUT (1 << 2) |
Definition at line 84 of file bmo_join_triangles.cc.
Referenced by blender::bmo_join_triangles_exec().
| #define FACE_OUT (1 << 0) |
Definition at line 83 of file bmo_join_triangles.cc.