Blender  V3.3
Typedefs | Functions
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 *me, float(*verts)[3], int numbones, struct bDeformGroup **dgrouplist, struct bDeformGroup **dgroupflip, float(*root)[3], float(*tip)[3], const int *selected, const char **error_str)
 

Detailed Description

BIF_meshlaplacian.h: Algorithms using the mesh laplacian.

Definition in file meshlaplacian.h.

Typedef Documentation

◆ LaplacianSystem

Definition at line 1 of file meshlaplacian.h.

Function Documentation

◆ heat_bone_weighting()

void heat_bone_weighting ( struct Object ob,
struct Mesh me,
float(*)  verts[3],
int  numbones,
struct bDeformGroup **  dgrouplist,
struct bDeformGroup **  dgroupflip,
float(*)  root[3],
float(*)  tip[3],
const int *  selected,
const char **  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 239 of file meshlaplacian.c.

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

Referenced by heat_laplacian_create().

◆ laplacian_add_vertex()

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

◆ laplacian_begin_solve()

void laplacian_begin_solve ( LaplacianSystem sys,
int  index 
)

◆ laplacian_system_get_solution()

float laplacian_system_get_solution ( LaplacianSystem sys,
int  v 
)

Definition at line 357 of file meshlaplacian.c.

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

Referenced by heat_bone_weighting().

◆ laplacian_system_solve()

int laplacian_system_solve ( LaplacianSystem sys)