Blender V5.3
MOD_weightvg_util.cc File Reference
#include "BLI_utildefines.hh"
#include "BLI_math_color_c.hh"
#include "BLI_rand_c.hh"
#include "BLI_string.hh"
#include "BLT_translation.hh"
#include "DNA_color_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BKE_colortools.hh"
#include "BKE_context.hh"
#include "BKE_deform.hh"
#include "BKE_modifier.hh"
#include "BKE_texture.h"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "RNA_access.hh"
#include "DEG_depsgraph_query.hh"
#include "MEM_guardedalloc.h"
#include "MOD_ui_common.hh"
#include "MOD_util.hh"
#include "MOD_weightvg_util.hh"
#include "RE_texture.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

void blender::weightvg_do_map (int num, float *new_w, short falloff_type, const bool do_invert, CurveMapping *cmap, RNG *rng)
void blender::weightvg_do_mask (const ModifierEvalContext *ctx, const int num, const int *indices, float *org_w, const float *new_w, Object *ob, Mesh *mesh, const float fact, const char defgrp_name[MAX_VGROUP_NAME], Scene *, Tex *texture, const int tex_use_channel, const int tex_mapping, Object *tex_map_object, const char *text_map_bone, const char *tex_uvlayer_name, const bool invert_vgroup_mask)
void blender::weightvg_update_vg (MDeformVert *dvert, int defgrp_idx, MDeformWeight **dws, int num, const int *indices, const float *weights, const bool do_add, const float add_thresh, const bool do_rem, const float rem_thresh, const bool do_normalize)
void blender::weightvg_ui_common (const bContext *C, PointerRNA *ob_ptr, PointerRNA *ptr, ui::Layout &layout)