Blender V5.3
armature_edit.cc File Reference
#include "DNA_armature_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "MEM_guardedalloc.h"
#include "BLT_translation.hh"
#include "BLI_listbase.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BKE_action.hh"
#include "BKE_armature.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_layer.hh"
#include "BKE_main.hh"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "BKE_report.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_prototypes.hh"
#include "UI_interface_icons.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_armature.hh"
#include "ED_object.hh"
#include "ED_outliner.hh"
#include "ED_screen.hh"
#include "ED_view3d.hh"
#include "ANIM_armature.hh"
#include "DEG_depsgraph.hh"
#include "armature_intern.hh"

Go to the source code of this file.

Classes

struct  blender::EditBonePoint

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Object Tools Public API
bArmature * blender::ED_armature_context (const bContext *C)
void blender::ED_armature_edit_transform (bArmature *arm, const float mat[4][4], const bool do_props)
void blender::ED_armature_transform (bArmature *arm, const float mat[4][4], const bool do_props)
void blender::ED_armature_origin_set (Main *bmain, Object *ob, const float cursor[3], int centermode, int around)
Chain-Based Tool Utilities
static void blender::chains_find_tips (ListBaseT< EditBone > *edbo, ListBaseT< LinkData > *list)
Fill Operator
static void blender::fill_add_joint (EditBone *ebo, short eb_tail, ListBaseT< EditBonePoint > *points)
static wmOperatorStatus blender::armature_fill_bones_exec (bContext *C, wmOperator *op)
void blender::ARMATURE_OT_fill (wmOperatorType *ot)
Switch Direction Operator
static void blender::armature_clear_swap_done_flags (bArmature *arm)
static wmOperatorStatus blender::armature_switch_direction_exec (bContext *C, wmOperator *)
void blender::ARMATURE_OT_switch_direction (wmOperatorType *ot)
Align Operator
static void blender::fix_connected_bone (EditBone *ebone)
static void blender::fix_editbone_connected_children (ListBaseT< EditBone > *edbo, EditBone *ebone)
static void blender::bone_align_to_bone (ListBaseT< EditBone > *edbo, EditBone *selbone, EditBone *actbone)
static wmOperatorStatus blender::armature_align_bones_exec (bContext *C, wmOperator *op)
void blender::ARMATURE_OT_align (wmOperatorType *ot)
Split Operator
static wmOperatorStatus blender::armature_split_exec (bContext *C, wmOperator *)
void blender::ARMATURE_OT_split (wmOperatorType *ot)
Delete Operator
static bool blender::armature_delete_ebone_cb (const char *bone_name, void *arm_p)
static wmOperatorStatus blender::armature_delete_selected_exec (bContext *C, wmOperator *)
static wmOperatorStatus blender::armature_delete_selected_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::ARMATURE_OT_delete (wmOperatorType *ot)
static bool blender::armature_dissolve_ebone_cb (const char *bone_name, void *arm_p)
static wmOperatorStatus blender::armature_dissolve_selected_exec (bContext *C, wmOperator *)
void blender::ARMATURE_OT_dissolve (wmOperatorType *ot)
Hide Operator
static wmOperatorStatus blender::armature_hide_exec (bContext *C, wmOperator *op)
void blender::ARMATURE_OT_hide (wmOperatorType *ot)
Reveal Operator
static wmOperatorStatus blender::armature_reveal_exec (bContext *C, wmOperator *op)
void blender::ARMATURE_OT_reveal (wmOperatorType *ot)

Bone Roll Calculate Operator

enum  blender::eCalcRollTypes {
  blender::CALC_ROLL_POS_X = 0 , blender::CALC_ROLL_POS_Y , blender::CALC_ROLL_POS_Z , blender::CALC_ROLL_TAN_POS_X ,
  blender::CALC_ROLL_TAN_POS_Z , blender::CALC_ROLL_NEG_X , blender::CALC_ROLL_NEG_Y , blender::CALC_ROLL_NEG_Z ,
  blender::CALC_ROLL_TAN_NEG_X , blender::CALC_ROLL_TAN_NEG_Z , blender::CALC_ROLL_ACTIVE , blender::CALC_ROLL_VIEW ,
  blender::CALC_ROLL_CURSOR
}
static const EnumPropertyItem blender::prop_calc_roll_types []
float blender::ED_armature_ebone_roll_to_vector (const EditBone *bone, const float align_axis[3], const bool axis_only)
static wmOperatorStatus blender::armature_calc_roll_exec (bContext *C, wmOperator *op)
void blender::ARMATURE_OT_calculate_roll (wmOperatorType *ot)
static wmOperatorStatus blender::armature_roll_clear_exec (bContext *C, wmOperator *op)
void blender::ARMATURE_OT_roll_clear (wmOperatorType *ot)

Detailed Description

Armature EditMode tools - transforms, chain based editing, and other settings.

Definition in file armature_edit.cc.