Blender V5.3
blender::MeshFairingContext Class Reference

Inherits blender::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 blender::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_
OffsetIndices< int > faces
Span< int2 > edges_
Span< int > loop_to_face_map_
Protected Attributes inherited from blender::FairingContext
Vector< float * > co_
int totvert_
int totloop_
GroupedSpan< int > vlmap_

Detailed Description

Definition at line 179 of file mesh_fair.cc.

Constructor & Destructor Documentation

◆ MeshFairingContext()

Member Function Documentation

◆ adjacents_coords_from_loop()

void blender::MeshFairingContext::adjacents_coords_from_loop ( const int loop,
float r_adj_next[3],
float r_adj_prev[3] )
inlineoverridevirtual

◆ other_vertex_index_from_loop()

int blender::MeshFairingContext::other_vertex_index_from_loop ( const int loop,
const int v )
inlineoverridevirtual

Member Data Documentation

◆ corner_edges_

Span<int> blender::MeshFairingContext::corner_edges_
protected

Definition at line 229 of file mesh_fair.cc.

Referenced by MeshFairingContext(), and other_vertex_index_from_loop().

◆ corner_verts_

Span<int> blender::MeshFairingContext::corner_verts_
protected

Definition at line 228 of file mesh_fair.cc.

Referenced by adjacents_coords_from_loop(), and MeshFairingContext().

◆ edges_

Span<int2> blender::MeshFairingContext::edges_
protected

Definition at line 231 of file mesh_fair.cc.

Referenced by MeshFairingContext(), and other_vertex_index_from_loop().

◆ faces

OffsetIndices<int> blender::MeshFairingContext::faces
protected

Definition at line 230 of file mesh_fair.cc.

Referenced by adjacents_coords_from_loop(), and MeshFairingContext().

◆ loop_to_face_map_

Span<int> blender::MeshFairingContext::loop_to_face_map_
protected

Definition at line 232 of file mesh_fair.cc.

Referenced by adjacents_coords_from_loop(), and MeshFairingContext().

◆ mesh_

Mesh* blender::MeshFairingContext::mesh_
protected

Definition at line 227 of file mesh_fair.cc.


The documentation for this class was generated from the following file: