Blender V5.3
blender::FairingContext Class Referenceabstract

Inherited by blender::MeshFairingContext.

Public Member Functions

virtual void adjacents_coords_from_loop (const int loop, float r_adj_next[3], float r_adj_prev[3])=0
virtual int other_vertex_index_from_loop (const int loop, const int v)=0
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

Vector< float * > co_
int totvert_
int totloop_
GroupedSpan< int > vlmap_

Detailed Description

Definition at line 37 of file mesh_fair.cc.

Constructor & Destructor Documentation

◆ ~FairingContext()

virtual blender::FairingContext::~FairingContext ( )
virtualdefault

Member Function Documentation

◆ adjacents_coords_from_loop()

virtual void blender::FairingContext::adjacents_coords_from_loop ( const int loop,
float r_adj_next[3],
float r_adj_prev[3] )
pure virtual

◆ fair_verts()

void blender::FairingContext::fair_verts ( const bool affected_verts[],
const eMeshFairingDepth depth,
const VertexWeight & vertex_weight,
const LoopWeight & loop_weight )
inline

Definition at line 69 of file mesh_fair.cc.

Referenced by blender::prefair_and_fair_verts().

◆ loop_count_get()

int blender::FairingContext::loop_count_get ( )
inline

Definition at line 52 of file mesh_fair.cc.

References totvert_.

◆ other_vertex_index_from_loop()

virtual int blender::FairingContext::other_vertex_index_from_loop ( const int loop,
const int v )
pure virtual

Implemented in blender::MeshFairingContext.

References blender::v.

◆ vertex_count_get()

int blender::FairingContext::vertex_count_get ( )
inline

◆ vertex_deformation_co_get()

float * blender::FairingContext::vertex_deformation_co_get ( const int v)
inline

Definition at line 62 of file mesh_fair.cc.

References co_, and blender::v.

Referenced by blender::VoronoiVertexWeight::VoronoiVertexWeight().

◆ vertex_loop_map_get()

Span< int > blender::FairingContext::vertex_loop_map_get ( const int v)
inline

Member Data Documentation

◆ co_

◆ totloop_

int blender::FairingContext::totloop_
protected

Definition at line 81 of file mesh_fair.cc.

Referenced by blender::MeshFairingContext::MeshFairingContext().

◆ totvert_

int blender::FairingContext::totvert_
protected

◆ vlmap_

GroupedSpan<int> blender::FairingContext::vlmap_
protected

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