Blender
V3.3
|
Public Member Functions | |
BMeshFairingContext (BMesh *bm) | |
~BMeshFairingContext () override | |
void | adjacents_coords_from_loop (const int loop, float r_adj_next[3], float r_adj_prev[3]) override |
int | other_vertex_index_from_loop (const int loop, const uint v) override |
![]() | |
int | vertex_count_get () |
int | loop_count_get () |
MeshElemMap * | vertex_loop_map_get (const int v) |
float * | vertex_deformation_co_get (const int v) |
virtual | ~FairingContext ()=default |
void | fair_vertices (bool *affected, const eMeshFairingDepth depth, VertexWeight *vertex_weight, LoopWeight *loop_weight) |
Protected Attributes | |
BMesh * | bm |
Vector< BMLoop * > | bmloop_ |
![]() | |
Vector< float * > | co_ |
int | totvert_ |
int | totloop_ |
MeshElemMap * | vlmap_ |
int * | vlmap_mem_ |
Definition at line 262 of file mesh_fair.cc.
|
inline |
Definition at line 264 of file mesh_fair.cc.
References bm, BM_elem_index_get, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOP, BM_LOOPS_OF_VERT, BM_mesh_elem_index_ensure(), BM_mesh_elem_table_ensure(), BM_VERT, BM_vert_at_index(), BM_VERTS_OF_MESH, bmloop_, BMVert::co, FairingContext::co_, MeshElemMap::count, MeshElemMap::indices, l, MEM_calloc_arrayN, MEM_malloc_arrayN, blender::Vector< T, InlineBufferCapacity, Allocator >::reserve(), BMesh::totloop, FairingContext::totloop_, BMesh::totvert, FairingContext::totvert_, v, FairingContext::vlmap_, and FairingContext::vlmap_mem_.
|
inlineoverride |
Definition at line 306 of file mesh_fair.cc.
References MEM_SAFE_FREE, FairingContext::vlmap_, and FairingContext::vlmap_mem_.
|
inlineoverridevirtual |
Implements FairingContext.
Definition at line 312 of file mesh_fair.cc.
References bmloop_, copy_v3_v3(), next, and blender::meshintersect::prev().
|
inlineoverridevirtual |
Implements FairingContext.
Definition at line 320 of file mesh_fair.cc.
References bm, BM_edge_other_vert(), BM_elem_index_get, BM_vert_at_index(), bmloop_, BMLoop::e, l, and v.
|
protected |
Definition at line 329 of file mesh_fair.cc.
Referenced by BMeshFairingContext(), and other_vertex_index_from_loop().
Definition at line 330 of file mesh_fair.cc.
Referenced by adjacents_coords_from_loop(), BMeshFairingContext(), and other_vertex_index_from_loop().