Blender V4.3
meshlaplacian.h File Reference

Go to the source code of this file.

Typedefs

typedef struct LaplacianSystem LaplacianSystem
 

Functions

void laplacian_add_vertex (LaplacianSystem *sys, float *co, int pinned)
 
void laplacian_add_triangle (LaplacianSystem *sys, int v1, int v2, int v3)
 
void laplacian_begin_solve (LaplacianSystem *sys, int index)
 
void laplacian_add_right_hand_side (LaplacianSystem *sys, int v, float value)
 
int laplacian_system_solve (LaplacianSystem *sys)
 
float laplacian_system_get_solution (LaplacianSystem *sys, int v)
 
void heat_bone_weighting (struct Object *ob, struct Mesh *mesh, float(*verts)[3], int numbones, struct bDeformGroup **dgrouplist, struct bDeformGroup **dgroupflip, float(*root)[3], float(*tip)[3], const bool *selected, const char **r_error_str)
 

Detailed Description

BIF_meshlaplacian.h: Algorithms using the mesh laplacian.

Definition in file meshlaplacian.h.

Typedef Documentation

◆ LaplacianSystem

typedef struct LaplacianSystem LaplacianSystem

Definition at line 29 of file meshlaplacian.h.

Function Documentation

◆ heat_bone_weighting()

void heat_bone_weighting ( struct Object * ob,
struct Mesh * mesh,
float(*) verts[3],
int numbones,
struct bDeformGroup ** dgrouplist,
struct bDeformGroup ** dgroupflip,
float(*) root[3],
float(*) tip[3],
const bool * selected,
const char ** r_error_str )

◆ laplacian_add_right_hand_side()

void laplacian_add_right_hand_side ( LaplacianSystem * sys,
int v,
float value )

◆ laplacian_add_triangle()

void laplacian_add_triangle ( LaplacianSystem * sys,
int v1,
int v2,
int v3 )

Definition at line 234 of file meshlaplacian.cc.

References LaplacianSystem::faces, LaplacianSystem::faces_num, and v2.

Referenced by heat_laplacian_create().

◆ laplacian_add_vertex()

void laplacian_add_vertex ( LaplacianSystem * sys,
float * co,
int pinned )

◆ laplacian_begin_solve()

◆ laplacian_system_get_solution()

float laplacian_system_get_solution ( LaplacianSystem * sys,
int v )

Definition at line 350 of file meshlaplacian.cc.

References LaplacianSystem::context, EIG_linear_solver_variable_get(), and v.

Referenced by heat_bone_weighting().

◆ laplacian_system_solve()

int laplacian_system_solve ( LaplacianSystem * sys)