Blender  V3.3
Classes | Functions
mesh_fair.cc File Reference
#include "BLI_map.hh"
#include "BLI_math.h"
#include "BLI_vector.hh"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "BKE_lib_id.h"
#include "BKE_lib_query.h"
#include "BKE_mesh.h"
#include "BKE_mesh_fair.h"
#include "BKE_mesh_mapping.h"
#include "bmesh.h"
#include "bmesh_tools.h"
#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  BMeshFairingContext
 
class  UniformVertexWeight
 
class  VoronoiVertexWeight
 
class  UniformLoopWeight
 

Functions

static void prefair_and_fair_vertices (FairingContext *fairing_context, bool *affected_vertices, const eMeshFairingDepth depth)
 
void BKE_mesh_prefair_and_fair_vertices (struct Mesh *mesh, struct MVert *deform_mverts, bool *affect_vertices, const eMeshFairingDepth depth)
 
void BKE_bmesh_prefair_and_fair_vertices (struct BMesh *bm, bool *affect_vertices, 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_bmesh_prefair_and_fair_vertices()

void BKE_bmesh_prefair_and_fair_vertices ( struct BMesh bm,
bool affect_vertices,
const eMeshFairingDepth  depth 
)

Definition at line 481 of file mesh_fair.cc.

References bm, and prefair_and_fair_vertices().

◆ BKE_mesh_prefair_and_fair_vertices()

void BKE_mesh_prefair_and_fair_vertices ( struct Mesh mesh,
struct MVert deform_mverts,
bool affect_vertices,
const eMeshFairingDepth  depth 
)

Definition at line 471 of file mesh_fair.cc.

References mesh, and prefair_and_fair_vertices().

Referenced by sculpt_face_set_edit_fair_face_set().

◆ prefair_and_fair_vertices()

static void prefair_and_fair_vertices ( FairingContext fairing_context,
bool affected_vertices,
const eMeshFairingDepth  depth 
)
static