Blender V4.3
grease_pencil_weight_paint.cc File Reference
#include "BKE_armature.hh"
#include "BKE_brush.hh"
#include "BKE_context.hh"
#include "BKE_crazyspace.hh"
#include "BKE_deform.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_modifier.hh"
#include "BKE_object_deform.h"
#include "BKE_paint.hh"
#include "BKE_report.hh"
#include "BLI_math_geom.h"
#include "BLI_math_matrix.h"
#include "BLI_string.h"
#include "DNA_meshdata_types.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "ED_curves.hh"
#include "ED_grease_pencil.hh"
#include "ED_view3d.hh"
#include "DEG_depsgraph_query.hh"
#include "GEO_smooth_curves.hh"

Go to the source code of this file.

Classes

struct  blender::ed::greasepencil::ClosestGreasePencilDrawing
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::greasepencil
 

Functions

Set< std::string > blender::ed::greasepencil::get_bone_deformed_vertex_group_names (const Object &object)
 
static bool blender::ed::greasepencil::normalize_vertex_weights_try (MDeformVert &dvert, const int vertex_groups_num, const Span< bool > vertex_group_is_bone_deformed, const FunctionRef< bool(int)> vertex_group_is_locked)
 
void blender::ed::greasepencil::normalize_vertex_weights (MDeformVert &dvert, const int active_vertex_group, const Span< bool > vertex_group_is_locked, const Span< bool > vertex_group_is_bone_deformed)
 
static int blender::ed::greasepencil::foreach_bone_in_armature_ex (Object &ob, const Bone *bone, const FunctionRef< bool(Object &, const Bone *)> bone_callback)
 
static int blender::ed::greasepencil::foreach_bone_in_armature (Object &ob, const bArmature &armature, const FunctionRef< bool(Object &, const Bone *)> bone_callback)
 
bool blender::ed::greasepencil::add_armature_vertex_groups (Object &object, const Object &ob_armature)
 
static bool blender::ed::greasepencil::get_skinnable_bones_and_deform_group_names (const bArmature &armature, Object &object, Vector< const Bone * > &r_skinnable_bones, Vector< std::string > &r_deform_group_names)
 
static void blender::ed::greasepencil::get_root_and_tips_of_bones (Span< const Bone * > bones, const float4x4 &transform, MutableSpan< float3 > roots, MutableSpan< float3 > tips)
 
static int blender::ed::greasepencil::lookup_or_add_deform_group_index (CurvesGeometry &curves, const StringRef name)
 
void blender::ed::greasepencil::add_armature_envelope_weights (Scene &scene, Object &object, const Object &ob_armature)
 
void blender::ed::greasepencil::add_armature_automatic_weights (Scene &scene, Object &object, const Object &ob_armature)
 
static int blender::ed::greasepencil::weight_sample_invoke (bContext *C, wmOperator *, const wmEvent *event)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_weight_sample (wmOperatorType *ot)
 
static int blender::ed::greasepencil::toggle_weight_tool_direction (bContext *C, wmOperator *)
 
static bool blender::ed::greasepencil::toggle_weight_tool_direction_poll (bContext *C)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_weight_toggle_direction (wmOperatorType *ot)
 
static int blender::ed::greasepencil::grease_pencil_weight_invert_exec (bContext *C, wmOperator *op)
 
static bool blender::ed::greasepencil::grease_pencil_vertex_group_weight_poll (bContext *C)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_weight_invert (wmOperatorType *ot)
 
static int blender::ed::greasepencil::vertex_group_smooth_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_group_smooth (wmOperatorType *ot)
 
static int blender::ed::greasepencil::vertex_group_normalize_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_group_normalize (wmOperatorType *ot)
 
static int blender::ed::greasepencil::vertex_group_normalize_all_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_vertex_group_normalize_all (wmOperatorType *ot)
 
void ED_operatortypes_grease_pencil_weight_paint ()
 

Function Documentation

◆ ED_operatortypes_grease_pencil_weight_paint()

void ED_operatortypes_grease_pencil_weight_paint ( )

Definition at line 964 of file grease_pencil_weight_paint.cc.

References WM_operatortype_append().

Referenced by ED_operatortypes_grease_pencil().