Blender V5.3
MOD_hook.cc File Reference
#include "BLI_utildefines.hh"
#include "BLI_bitmap.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLT_translation.hh"
#include "DNA_color_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "BKE_action.hh"
#include "BKE_colortools.hh"
#include "BKE_deform.hh"
#include "BKE_editmesh.hh"
#include "BKE_lib_query.hh"
#include "BKE_mesh.hh"
#include "BKE_modifier.hh"
#include "BKE_object_types.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "BLO_read_write.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "MEM_guardedalloc.h"
#include "MOD_ui_common.hh"
#include "MOD_util.hh"

Go to the source code of this file.

Classes

struct  blender::HookData_cb

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::init_data (ModifierData *md)
static void blender::copy_data (const ModifierData *md, ModifierData *target, const int flag)
static void blender::required_data_mask (ModifierData *md, CustomData_MeshMasks *r_cddata_masks)
static void blender::free_data (ModifierData *md)
static bool blender::is_disabled (const Scene *, ModifierData *md, bool)
static void blender::foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data)
static void blender::update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx)
static BLI_bitmap * blender::hook_index_array_to_bitmap (HookModifierData *hmd, const int verts_num)
static float blender::hook_falloff (const HookData_cb *hd, const float len_sq)
static void blender::hook_co_apply (HookData_cb *hd, int j, const MDeformVert *dv)
static void blender::deformVerts_do (HookModifierData *hmd, const ModifierEvalContext *, Object *ob, Mesh *mesh, const BMesh *bm, MutableSpan< float3 > positions)
static void blender::deform_verts (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh, MutableSpan< float3 > positions)
static void blender::deform_verts_EM (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh, MutableSpan< float3 > positions)
static void blender::panel_draw (const bContext *, Panel *panel)
static void blender::falloff_panel_draw (const bContext *, Panel *panel)
static void blender::panel_register (ARegionType *region_type)
static void blender::blend_write (BlendWriter *writer, const ID *, const ModifierData *md)
static void blender::blend_read (BlendDataReader *reader, ModifierData *md)

Variables

ModifierTypeInfo blender::modifierType_Hook