Blender
V3.3
|
Public Member Functions | |
MeshFairingContext (Mesh *mesh, MVert *deform_mverts) | |
~MeshFairingContext () 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 | |
Mesh * | mesh_ |
MLoop * | mloop_ |
MPoly * | mpoly_ |
MEdge * | medge_ |
Vector< int > | loop_to_poly_map_ |
![]() | |
Vector< float * > | co_ |
int | totvert_ |
int | totloop_ |
MeshElemMap * | vlmap_ |
int * | vlmap_mem_ |
Definition at line 189 of file mesh_fair.cc.
Definition at line 191 of file mesh_fair.cc.
References BKE_mesh_vert_loop_map_create(), MVert::co, FairingContext::co_, l, loop_to_poly_map_, MPoly::loopstart, Mesh::medge, medge_, mesh, Mesh::mloop, mloop_, Mesh::mpoly, mpoly_, Mesh::mvert, blender::Vector< T, InlineBufferCapacity, Allocator >::reserve(), Mesh::totloop, MPoly::totloop, FairingContext::totloop_, Mesh::totpoly, Mesh::totvert, FairingContext::totvert_, FairingContext::vlmap_, and FairingContext::vlmap_mem_.
|
inlineoverride |
Definition at line 228 of file mesh_fair.cc.
References MEM_SAFE_FREE, FairingContext::vlmap_, and FairingContext::vlmap_mem_.
|
inlineoverridevirtual |
Implements FairingContext.
Definition at line 234 of file mesh_fair.cc.
References FairingContext::co_, copy_v3_v3(), loop_to_poly_map_, MPoly::loopstart, ME_POLY_LOOP_NEXT, ME_POLY_LOOP_PREV, mloop_, mpoly_, poly_find_loop_from_vert(), v, and MLoop::v.
|
inlineoverridevirtual |
Implements FairingContext.
Definition at line 245 of file mesh_fair.cc.
|
protected |
Definition at line 259 of file mesh_fair.cc.
Referenced by adjacents_coords_from_loop(), and MeshFairingContext().
|
protected |
Definition at line 258 of file mesh_fair.cc.
Referenced by MeshFairingContext(), and other_vertex_index_from_loop().
|
protected |
Definition at line 255 of file mesh_fair.cc.
|
protected |
Definition at line 256 of file mesh_fair.cc.
Referenced by adjacents_coords_from_loop(), MeshFairingContext(), and other_vertex_index_from_loop().
|
protected |
Definition at line 257 of file mesh_fair.cc.
Referenced by adjacents_coords_from_loop(), and MeshFairingContext().