Blender V5.3
paint_vertex_weight_utils.cc File Reference
#include <algorithm>
#include "BLI_listbase.hh"
#include "BLI_string_utils.hh"
#include "DNA_armature_types.h"
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "BKE_action.hh"
#include "BKE_context.hh"
#include "BKE_deform.hh"
#include "BKE_mesh.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_object_deform.h"
#include "BKE_report.hh"
#include "DEG_depsgraph_build.hh"
#include "IMB_imbuf.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "../paint_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

int blender::ED_wpaint_mirror_vgroup_ensure (Object *ob, const int vgroup_active)
Weight Paint Sanity Checks
bool blender::ED_wpaint_ensure_data (bContext *C, ReportList *reports, eWPaintFlag flag, WPaintVGroupIndex *vgroup_index)
bool blender::ED_wpaint_ensure_data (bContext *C, Main *bmain, Object *ob, ReportList *reports, eWPaintFlag flag, WPaintVGroupIndex *vgroup_index)
Weight Blending Modes
BLI_INLINE float blender::wval_blend (const float weight, const float paintval, const float alpha)
BLI_INLINE float blender::wval_add (const float weight, const float paintval, const float alpha)
BLI_INLINE float blender::wval_sub (const float weight, const float paintval, const float alpha)
BLI_INLINE float blender::wval_mul (const float weight, const float paintval, const float alpha)
BLI_INLINE float blender::wval_lighten (const float weight, const float paintval, const float alpha)
BLI_INLINE float blender::wval_darken (const float weight, const float paintval, const float alpha)
BLI_INLINE float blender::wval_colordodge (float weight, float paintval, float fac)
BLI_INLINE float blender::wval_difference (float weight, float paintval, float fac)
BLI_INLINE float blender::wval_screen (float weight, float paintval, float fac)
BLI_INLINE float blender::wval_hardlight (float weight, float paintval, float fac)
BLI_INLINE float blender::wval_overlay (float weight, float paintval, float fac)
BLI_INLINE float blender::wval_softlight (float weight, float paintval, float fac)
BLI_INLINE float blender::wval_exclusion (float weight, float paintval, float fac)
float blender::ED_wpaint_blend_tool (const int tool, const float weight, const float paintval, const float alpha)

Detailed Description

Intended for use by paint_vertex.cc & paint_vertex_weight_ops.cc.

Definition in file paint_vertex_weight_utils.cc.