Blender V4.3
mesh_fair.cc File Reference
#include "BLI_map.hh"
#include "BLI_math_geom.h"
#include "BLI_math_vector.h"
#include "BLI_vector.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_fair.hh"
#include "bmesh.hh"
#include "MEM_guardedalloc.h"
#include "eigen_capi.h"

Go to the source code of this file.

Classes

class  VertexWeight
 
class  LoopWeight
 
class  FairingContext
 
class  MeshFairingContext
 
class  UniformVertexWeight
 
class  VoronoiVertexWeight
 
class  UniformLoopWeight
 

Functions

static void prefair_and_fair_verts (FairingContext &fairing_context, const bool affected_verts[], const eMeshFairingDepth depth)
 
void BKE_mesh_prefair_and_fair_verts (Mesh *mesh, blender::MutableSpan< float3 > deform_vert_positions, const bool affected_verts[], const eMeshFairingDepth depth)
 

Detailed Description

Mesh Fairing algorithm designed by Brett Fedack, used in the addon "Mesh Fairing": https://github.com/fedackb/mesh-fairing.

Definition in file mesh_fair.cc.

Function Documentation

◆ BKE_mesh_prefair_and_fair_verts()

void BKE_mesh_prefair_and_fair_verts ( Mesh * mesh,
blender::MutableSpan< float3 > deform_vert_positions,
const bool affected_verts[],
const eMeshFairingDepth depth )

◆ prefair_and_fair_verts()

static void prefair_and_fair_verts ( FairingContext & fairing_context,
const bool affected_verts[],
const eMeshFairingDepth depth )
static

Definition at line 360 of file mesh_fair.cc.

References FairingContext::fair_verts().

Referenced by BKE_mesh_prefair_and_fair_verts().