Blender V5.3
MOD_laplaciandeform.cc File Reference
#include "BLI_utildefines.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string.hh"
#include "BLI_utildefines_stack.hh"
#include "MEM_guardedalloc.h"
#include "BLT_translation.hh"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_screen_types.h"
#include "BKE_deform.hh"
#include "BKE_mesh_mapping.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "BLO_read_write.hh"
#include "RNA_access.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.

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum  {
  blender::LAPDEFORM_SYSTEM_NOT_CHANGE = 0 , blender::LAPDEFORM_SYSTEM_IS_DIFFERENT , blender::LAPDEFORM_SYSTEM_ONLY_CHANGE_ANCHORS , blender::LAPDEFORM_SYSTEM_ONLY_CHANGE_GROUP ,
  blender::LAPDEFORM_SYSTEM_ONLY_CHANGE_MESH , blender::LAPDEFORM_SYSTEM_CHANGE_VERTEXES , blender::LAPDEFORM_SYSTEM_CHANGE_EDGES , blender::LAPDEFORM_SYSTEM_CHANGE_NOT_VALID_GROUP
}

Functions

static LaplacianSystem * blender::newLaplacianSystem ()
static LaplacianSystem * blender::initLaplacianSystem (int verts_num, int edges_num, int tris_num, int anchors_num, const char defgrpName[64], int iterations)
static void blender::deleteLaplacianSystem (LaplacianSystem *sys)
static void blender::createFaceRingMap (const int mvert_tot, Span< int3 > corner_tris, Span< int > corner_verts, MeshElemMap **r_map, int **r_indices)
static void blender::createVertRingMap (const int mvert_tot, const Span< int2 > edges, MeshElemMap **r_map, int **r_indices)
static void blender::initLaplacianMatrix (LaplacianSystem *sys)
static void blender::computeImplictRotations (LaplacianSystem *sys)
static void blender::rotateDifferentialCoordinates (LaplacianSystem *sys)
static void blender::laplacianDeformPreview (LaplacianSystem *sys, float(*vertexCos)[3])
static bool blender::isValidVertexGroup (LaplacianDeformModifierData *lmd, Object *ob, Mesh *mesh)
static void blender::initSystem (LaplacianDeformModifierData *lmd, Object *ob, Mesh *mesh, float(*vertexCos)[3], int verts_num)
static int blender::isSystemDifferent (LaplacianDeformModifierData *lmd, Object *ob, Mesh *mesh, int verts_num)
static void blender::LaplacianDeformModifier_do (LaplacianDeformModifierData *lmd, Object *ob, Mesh *mesh, float(*vertexCos)[3], int verts_num)
static void blender::init_data (ModifierData *md)
static void blender::copy_data (const ModifierData *md, ModifierData *target, const int flag)
static bool blender::is_disabled (const Scene *, ModifierData *md, bool)
static void blender::required_data_mask (ModifierData *md, CustomData_MeshMasks *r_cddata_masks)
static void blender::deform_verts (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh, MutableSpan< float3 > positions)
static void blender::free_data (ModifierData *md)
static void blender::panel_draw (const bContext *, Panel *panel)
static void blender::panel_register (ARegionType *region_type)
static void blender::blend_write (BlendWriter *writer, const ID *id_owner, const ModifierData *md)
static void blender::blend_read (BlendDataReader *reader, ModifierData *md)

Variables

ModifierTypeInfo blender::modifierType_LaplacianDeform