|
Blender V5.0
|
#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_layout.hh"#include "UI_resources.hh"#include "RNA_prototypes.hh"#include "RNA_types.hh"#include "MOD_ui_common.hh"#include "MOD_util.hh"#include "eigen_capi.h"Go to the source code of this file.
Variables | |
| ModifierTypeInfo | modifierType_LaplacianSmooth |
|
static |
Definition at line 110 of file MOD_laplaciansmooth.cc.
References fabsf, faces, i, blender::IndexRange::size(), blender::IndexRange::start(), and volume_tetrahedron_signed_v3().
Referenced by validate_solution().
|
static |
Definition at line 502 of file MOD_laplaciansmooth.cc.
References blender::MutableSpan< T >::data(), blender::MutableSpan< T >::is_empty(), laplaciansmoothModifier_do(), ModifierEvalContext::object, and blender::MutableSpan< T >::size().
|
static |
Definition at line 62 of file MOD_laplaciansmooth.cc.
References LaplacianSystem::context, EIG_linear_solver_delete(), LaplacianSystem::fweights, and MEM_SAFE_FREE.
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 242 of file MOD_laplaciansmooth.cc.
References LaplacianSystem::context, EIG_linear_solver_matrix_add(), LaplacianSystem::faces, LaplacianSystem::fweights, i, blender::IndexRange::size(), and blender::IndexRange::start().
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 468 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 159 of file MOD_laplaciansmooth.cc.
References area_tri_v3(), cotangent_tri_weight_v3(), LaplacianSystem::faces, LaplacianSystem::fweights, i, len_v3v3(), blender::IndexRange::size(), blender::IndexRange::start(), and v2.
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 92 of file MOD_laplaciansmooth.cc.
References LaplacianSystem::fweights, MEM_calloc_arrayN(), and LaplacianSystem::verts_num.
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 477 of file MOD_laplaciansmooth.cc.
References flag, LaplacianSmoothModifierData::flag, MOD_LAPLACIANSMOOTH_X, MOD_LAPLACIANSMOOTH_Y, and MOD_LAPLACIANSMOOTH_Z.
|
static |
Definition at line 355 of file MOD_laplaciansmooth.cc.
References add_v3_v3(), BKE_defvert_find_weight(), LaplacianSystem::context, Mesh::corners_num, LaplacianSmoothModifierData::defgrp_name, delete_laplacian_system(), Mesh::edges_num, 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, i, init_laplacian_matrix(), init_laplacian_system(), LaplacianSmoothModifierData::lambda, LaplacianSmoothModifierData::lambda_border, memset_laplacian_system(), MOD_get_vgroup(), MOD_LAPLACIANSMOOTH_INVERT_VGROUP, MOD_LAPLACIANSMOOTH_NORMALIZED, mul_v3_fl(), LaplacianSmoothModifierData::repeat, validate_solution(), and w().
Referenced by deform_verts().
|
static |
Definition at line 80 of file MOD_laplaciansmooth.cc.
References LaplacianSystem::fweights, and LaplacianSystem::verts_num.
Referenced by laplaciansmoothModifier_do().
Definition at line 518 of file MOD_laplaciansmooth.cc.
References IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), uiLayout::prop(), ptr, uiLayout::row(), UI_ITEM_NONE, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, and uiLayout::use_property_split_set().
|
static |
Definition at line 547 of file MOD_laplaciansmooth.cc.
References eModifierType_LaplacianSmooth, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 492 of file MOD_laplaciansmooth.cc.
References CD_MASK_MDEFORMVERT, LaplacianSmoothModifierData::defgrp_name, and CustomData_MeshMasks::vmask.
|
static |
Definition at line 322 of file MOD_laplaciansmooth.cc.
References compute_volume(), LaplacianSystem::context, EIG_linear_solver_variable_get(), LaplacianSystem::faces, flag, float, i, MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME, MOD_LAPLACIANSMOOTH_X, MOD_LAPLACIANSMOOTH_Y, MOD_LAPLACIANSMOOTH_Z, LaplacianSystem::verts_num, and volume_preservation().
Referenced by laplaciansmoothModifier_do().
|
static |
Definition at line 135 of file MOD_laplaciansmooth.cc.
References beta(), flag, i, MOD_LAPLACIANSMOOTH_X, MOD_LAPLACIANSMOOTH_Y, MOD_LAPLACIANSMOOTH_Z, pow, and LaplacianSystem::verts_num.
Referenced by validate_solution().
| ModifierTypeInfo modifierType_LaplacianSmooth |
Definition at line 552 of file MOD_laplaciansmooth.cc.