|
Blender V4.3
|
#include "BLI_math_geom.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "DNA_defaults.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_screen_types.h"#include "MEM_guardedalloc.h"#include "BKE_deform.hh"#include "BKE_modifier.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "RNA_prototypes.hh"#include "MOD_ui_common.hh"#include "MOD_util.hh"#include "eigen_capi.h"Go to the source code of this file.
Classes | |
| struct | LaplacianSystem |
Variables | |
| ModifierTypeInfo | modifierType_LaplacianSmooth |
|
static |
Definition at line 105 of file MOD_laplaciansmooth.cc.
References fabsf, blender::IndexRange::start(), and volume_tetrahedron_signed_v3().
Referenced by validate_solution().
|
static |
Definition at line 497 of file MOD_laplaciansmooth.cc.
References laplaciansmoothModifier_do(), and ModifierEvalContext::object.
|
static |
Definition at line 57 of file MOD_laplaciansmooth.cc.
References LaplacianSystem::context, EIG_linear_solver_delete(), LaplacianSystem::eweights, LaplacianSystem::fweights, MEM_freeN(), MEM_SAFE_FREE, LaplacianSystem::ne_ed_num, LaplacianSystem::ne_fa_num, LaplacianSystem::ring_areas, LaplacianSystem::vertexCos, LaplacianSystem::vlengths, LaplacianSystem::vweights, and LaplacianSystem::zerola.
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 237 of file MOD_laplaciansmooth.cc.
References LaplacianSystem::context, LaplacianSystem::corner_verts, LaplacianSystem::edges, EIG_linear_solver_matrix_add(), LaplacianSystem::eweights, LaplacianSystem::faces, LaplacianSystem::fweights, LaplacianSystem::ne_ed_num, LaplacianSystem::ne_fa_num, LaplacianSystem::vlengths, LaplacianSystem::vweights, and LaplacianSystem::zerola.
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 463 of file MOD_laplaciansmooth.cc.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 154 of file MOD_laplaciansmooth.cc.
References area_tri_v3(), LaplacianSystem::corner_verts, cotangent_tri_weight_v3(), LaplacianSystem::edges, LaplacianSystem::eweights, LaplacianSystem::faces, LaplacianSystem::fweights, len_v3v3(), LaplacianSystem::ne_ed_num, LaplacianSystem::ne_fa_num, LaplacianSystem::ring_areas, v2, LaplacianSystem::vertexCos, LaplacianSystem::vlengths, LaplacianSystem::vweights, and LaplacianSystem::zerola.
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 87 of file MOD_laplaciansmooth.cc.
References LaplacianSystem::eweights, LaplacianSystem::fweights, MEM_callocN, LaplacianSystem::ne_ed_num, LaplacianSystem::ne_fa_num, LaplacianSystem::ring_areas, LaplacianSystem::verts_num, LaplacianSystem::vlengths, LaplacianSystem::vweights, and LaplacianSystem::zerola.
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 472 of file MOD_laplaciansmooth.cc.
References flag, LaplacianSmoothModifierData::flag, MOD_LAPLACIANSMOOTH_X, MOD_LAPLACIANSMOOTH_Y, and MOD_LAPLACIANSMOOTH_Z.
|
static |
Definition at line 350 of file MOD_laplaciansmooth.cc.
References add_v3_v3(), BKE_defvert_find_weight(), LaplacianSystem::context, LaplacianSystem::corner_verts, LaplacianSmoothModifierData::defgrp_name, delete_laplacian_system(), LaplacianSystem::edges, EIG_linear_least_squares_solver_new(), EIG_linear_solver_delete(), EIG_linear_solver_matrix_add(), EIG_linear_solver_right_hand_side_add(), EIG_linear_solver_solve(), EIG_linear_solver_variable_set(), fabsf, LaplacianSystem::faces, fill_laplacian_matrix(), LaplacianSmoothModifierData::flag, init_laplacian_matrix(), init_laplacian_system(), LaplacianSmoothModifierData::lambda, LaplacianSmoothModifierData::lambda_border, memset_laplacian_system(), LaplacianSystem::min_area, MOD_get_vgroup(), MOD_LAPLACIANSMOOTH_INVERT_VGROUP, MOD_LAPLACIANSMOOTH_NORMALIZED, mul_v3_fl(), LaplacianSystem::ne_ed_num, LaplacianSystem::ne_fa_num, LaplacianSmoothModifierData::repeat, LaplacianSystem::ring_areas, validate_solution(), LaplacianSystem::vert_centroid, LaplacianSystem::vertexCos, LaplacianSystem::vlengths, LaplacianSystem::vweights, w(), and LaplacianSystem::zerola.
Referenced by deform_verts().
|
static |
Definition at line 75 of file MOD_laplaciansmooth.cc.
References LaplacianSystem::corner_verts, LaplacianSystem::edges, LaplacianSystem::eweights, LaplacianSystem::fweights, LaplacianSystem::ne_ed_num, LaplacianSystem::ne_fa_num, LaplacianSystem::ring_areas, blender::Span< T >::size(), LaplacianSystem::verts_num, LaplacianSystem::vlengths, LaplacianSystem::vweights, and LaplacianSystem::zerola.
Referenced by laplaciansmoothModifier_do().
Definition at line 513 of file MOD_laplaciansmooth.cc.
References IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), ptr, UI_ITEM_NONE, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, uiItemR(), uiLayoutRowWithHeading(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 542 of file MOD_laplaciansmooth.cc.
References eModifierType_LaplacianSmooth, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 487 of file MOD_laplaciansmooth.cc.
References CD_MASK_MDEFORMVERT, LaplacianSmoothModifierData::defgrp_name, and CustomData_MeshMasks::vmask.
|
static |
Definition at line 317 of file MOD_laplaciansmooth.cc.
References compute_volume(), LaplacianSystem::context, LaplacianSystem::corner_verts, EIG_linear_solver_variable_get(), LaplacianSystem::faces, flag, float, MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME, MOD_LAPLACIANSMOOTH_X, MOD_LAPLACIANSMOOTH_Y, MOD_LAPLACIANSMOOTH_Z, LaplacianSystem::ne_ed_num, LaplacianSystem::ne_fa_num, LaplacianSystem::vert_centroid, LaplacianSystem::vertexCos, LaplacianSystem::verts_num, volume_preservation(), and LaplacianSystem::zerola.
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 130 of file MOD_laplaciansmooth.cc.
References beta(), flag, MOD_LAPLACIANSMOOTH_X, MOD_LAPLACIANSMOOTH_Y, MOD_LAPLACIANSMOOTH_Z, pow(), LaplacianSystem::vert_centroid, LaplacianSystem::vertexCos, and LaplacianSystem::verts_num.
Referenced by validate_solution().
| ModifierTypeInfo modifierType_LaplacianSmooth |
Definition at line 547 of file MOD_laplaciansmooth.cc.