|
Blender V4.3
|
Inherits FairingContext.
Public Member Functions | |
| MeshFairingContext (Mesh *mesh, MutableSpan< float3 > deform_positions) | |
| 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 int v) override |
Public Member Functions inherited from FairingContext | |
| int | vertex_count_get () |
| int | loop_count_get () |
| Span< int > | vertex_loop_map_get (const int v) |
| float * | vertex_deformation_co_get (const int v) |
| virtual | ~FairingContext ()=default |
| void | fair_verts (const bool affected_verts[], const eMeshFairingDepth depth, const VertexWeight &vertex_weight, const LoopWeight &loop_weight) |
Protected Attributes | |
| Mesh * | mesh_ |
| Span< int > | corner_verts_ |
| Span< int > | corner_edges_ |
| blender::OffsetIndices< int > | faces |
| Span< blender::int2 > | edges_ |
| Span< int > | loop_to_face_map_ |
Protected Attributes inherited from FairingContext | |
| Vector< float * > | co_ |
| int | totvert_ |
| int | totloop_ |
| blender::GroupedSpan< int > | vlmap_ |
Definition at line 186 of file mesh_fair.cc.
|
inline |
Definition at line 188 of file mesh_fair.cc.
References FairingContext::co_, corner_edges_, corner_verts_, edges_, blender::MutableSpan< T >::is_empty(), loop_to_face_map_, FairingContext::totloop_, FairingContext::totvert_, and FairingContext::vlmap_.
|
inlineoverridevirtual |
Implements FairingContext.
Definition at line 216 of file mesh_fair.cc.
References FairingContext::co_, copy_v3_v3(), corner_verts_, and loop_to_face_map_.
|
inlineoverridevirtual |
Implements FairingContext.
Definition at line 228 of file mesh_fair.cc.
References corner_edges_, blender::bke::mesh::edge_other_vert(), edges_, and v.
Definition at line 237 of file mesh_fair.cc.
Referenced by MeshFairingContext(), and other_vertex_index_from_loop().
Definition at line 236 of file mesh_fair.cc.
Referenced by adjacents_coords_from_loop(), and MeshFairingContext().
|
protected |
Definition at line 239 of file mesh_fair.cc.
Referenced by MeshFairingContext(), and other_vertex_index_from_loop().
|
protected |
Definition at line 238 of file mesh_fair.cc.
Definition at line 240 of file mesh_fair.cc.
Referenced by adjacents_coords_from_loop(), and MeshFairingContext().
|
protected |
Definition at line 235 of file mesh_fair.cc.