Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
MeshFairingContext Class Reference
Inheritance diagram for MeshFairingContext:
FairingContext

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
 
- Public Member Functions inherited from FairingContext
int vertex_count_get ()
 
int loop_count_get ()
 
MeshElemMapvertex_loop_map_get (const int v)
 
floatvertex_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

Meshmesh_
 
MLoopmloop_
 
MPolympoly_
 
MEdgemedge_
 
Vector< int > loop_to_poly_map_
 
- Protected Attributes inherited from FairingContext
Vector< float * > co_
 
int totvert_
 
int totloop_
 
MeshElemMapvlmap_
 
int * vlmap_mem_
 

Detailed Description

Definition at line 189 of file mesh_fair.cc.

Constructor & Destructor Documentation

◆ MeshFairingContext()

MeshFairingContext::MeshFairingContext ( Mesh mesh,
MVert deform_mverts 
)
inline

◆ ~MeshFairingContext()

MeshFairingContext::~MeshFairingContext ( )
inlineoverride

Definition at line 228 of file mesh_fair.cc.

References MEM_SAFE_FREE, FairingContext::vlmap_, and FairingContext::vlmap_mem_.

Member Function Documentation

◆ adjacents_coords_from_loop()

void 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 MeshFairingContext::other_vertex_index_from_loop ( const int  loop,
const uint  v 
)
inlineoverridevirtual

Implements FairingContext.

Definition at line 245 of file mesh_fair.cc.

References e, MLoop::e, medge_, mloop_, and v.

Member Data Documentation

◆ loop_to_poly_map_

Vector<int> MeshFairingContext::loop_to_poly_map_
protected

Definition at line 259 of file mesh_fair.cc.

Referenced by adjacents_coords_from_loop(), and MeshFairingContext().

◆ medge_

MEdge* MeshFairingContext::medge_
protected

Definition at line 258 of file mesh_fair.cc.

Referenced by MeshFairingContext(), and other_vertex_index_from_loop().

◆ mesh_

Mesh* MeshFairingContext::mesh_
protected

Definition at line 255 of file mesh_fair.cc.

◆ mloop_

MLoop* MeshFairingContext::mloop_
protected

◆ mpoly_

MPoly* MeshFairingContext::mpoly_
protected

Definition at line 257 of file mesh_fair.cc.

Referenced by adjacents_coords_from_loop(), and MeshFairingContext().


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