Blender V5.0
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 "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
class  Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >

Typedefs

using float3

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.

Typedef Documentation

◆ float3

Definition at line 619 of file BLI_math_vector_types.hh.

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

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

Definition at line 357 of file mesh_fair.cc.

References FairingContext::fair_verts().

Referenced by BKE_mesh_prefair_and_fair_verts().