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

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
 
- 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

BMeshbm
 
Vector< BMLoop * > bmloop_
 
- Protected Attributes inherited from FairingContext
Vector< float * > co_
 
int totvert_
 
int totloop_
 
MeshElemMapvlmap_
 
int * vlmap_mem_
 

Detailed Description

Definition at line 262 of file mesh_fair.cc.

Constructor & Destructor Documentation

◆ BMeshFairingContext()

BMeshFairingContext::BMeshFairingContext ( BMesh bm)
inline

◆ ~BMeshFairingContext()

BMeshFairingContext::~BMeshFairingContext ( )
inlineoverride

Definition at line 306 of file mesh_fair.cc.

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

Member Function Documentation

◆ adjacents_coords_from_loop()

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

Implements FairingContext.

Definition at line 312 of file mesh_fair.cc.

References bmloop_, copy_v3_v3(), next, and blender::meshintersect::prev().

◆ other_vertex_index_from_loop()

int BMeshFairingContext::other_vertex_index_from_loop ( const int  loop,
const uint  v 
)
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.

Member Data Documentation

◆ bm

BMesh* BMeshFairingContext::bm
protected

Definition at line 329 of file mesh_fair.cc.

Referenced by BMeshFairingContext(), and other_vertex_index_from_loop().

◆ bmloop_

Vector<BMLoop *> BMeshFairingContext::bmloop_
protected

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