Blender  V2.93
Classes | Typedefs | Functions
armature_intern.h File Reference

Go to the source code of this file.

Classes

struct  tPChanFCurveLink
 

Typedefs

typedef struct tPChanFCurveLink tPChanFCurveLink
 

Functions

void ARMATURE_OT_bone_primitive_add (struct wmOperatorType *ot)
 
void ARMATURE_OT_align (struct wmOperatorType *ot)
 
void ARMATURE_OT_calculate_roll (struct wmOperatorType *ot)
 
void ARMATURE_OT_roll_clear (struct wmOperatorType *ot)
 
void ARMATURE_OT_switch_direction (struct wmOperatorType *ot)
 
void ARMATURE_OT_subdivide (struct wmOperatorType *ot)
 
void ARMATURE_OT_parent_set (struct wmOperatorType *ot)
 
void ARMATURE_OT_parent_clear (struct wmOperatorType *ot)
 
void ARMATURE_OT_select_all (struct wmOperatorType *ot)
 
void ARMATURE_OT_select_mirror (struct wmOperatorType *ot)
 
void ARMATURE_OT_select_more (struct wmOperatorType *ot)
 
void ARMATURE_OT_select_less (struct wmOperatorType *ot)
 
void ARMATURE_OT_select_hierarchy (struct wmOperatorType *ot)
 
void ARMATURE_OT_select_linked_pick (struct wmOperatorType *ot)
 
void ARMATURE_OT_select_linked (struct wmOperatorType *ot)
 
void ARMATURE_OT_select_similar (struct wmOperatorType *ot)
 
void ARMATURE_OT_shortest_path_pick (struct wmOperatorType *ot)
 
void ARMATURE_OT_delete (struct wmOperatorType *ot)
 
void ARMATURE_OT_dissolve (struct wmOperatorType *ot)
 
void ARMATURE_OT_duplicate (struct wmOperatorType *ot)
 
void ARMATURE_OT_symmetrize (struct wmOperatorType *ot)
 
void ARMATURE_OT_extrude (struct wmOperatorType *ot)
 
void ARMATURE_OT_hide (struct wmOperatorType *ot)
 
void ARMATURE_OT_reveal (struct wmOperatorType *ot)
 
void ARMATURE_OT_click_extrude (struct wmOperatorType *ot)
 
void ARMATURE_OT_fill (struct wmOperatorType *ot)
 
void ARMATURE_OT_separate (struct wmOperatorType *ot)
 
void ARMATURE_OT_split (struct wmOperatorType *ot)
 
void ARMATURE_OT_autoside_names (struct wmOperatorType *ot)
 
void ARMATURE_OT_flip_names (struct wmOperatorType *ot)
 
void ARMATURE_OT_layers_show_all (struct wmOperatorType *ot)
 
void ARMATURE_OT_armature_layers (struct wmOperatorType *ot)
 
void ARMATURE_OT_bone_layers (struct wmOperatorType *ot)
 
void POSE_OT_hide (struct wmOperatorType *ot)
 
void POSE_OT_reveal (struct wmOperatorType *ot)
 
void POSE_OT_armature_apply (struct wmOperatorType *ot)
 
void POSE_OT_visual_transform_apply (struct wmOperatorType *ot)
 
void POSE_OT_rot_clear (struct wmOperatorType *ot)
 
void POSE_OT_loc_clear (struct wmOperatorType *ot)
 
void POSE_OT_scale_clear (struct wmOperatorType *ot)
 
void POSE_OT_transforms_clear (struct wmOperatorType *ot)
 
void POSE_OT_user_transforms_clear (struct wmOperatorType *ot)
 
void POSE_OT_copy (struct wmOperatorType *ot)
 
void POSE_OT_paste (struct wmOperatorType *ot)
 
void POSE_OT_select_all (struct wmOperatorType *ot)
 
void POSE_OT_select_parent (struct wmOperatorType *ot)
 
void POSE_OT_select_hierarchy (struct wmOperatorType *ot)
 
void POSE_OT_select_linked (struct wmOperatorType *ot)
 
void POSE_OT_select_linked_pick (struct wmOperatorType *ot)
 
void POSE_OT_select_constraint_target (struct wmOperatorType *ot)
 
void POSE_OT_select_grouped (struct wmOperatorType *ot)
 
void POSE_OT_select_mirror (struct wmOperatorType *ot)
 
void POSE_OT_group_add (struct wmOperatorType *ot)
 
void POSE_OT_group_remove (struct wmOperatorType *ot)
 
void POSE_OT_group_move (struct wmOperatorType *ot)
 
void POSE_OT_group_sort (struct wmOperatorType *ot)
 
void POSE_OT_group_assign (struct wmOperatorType *ot)
 
void POSE_OT_group_unassign (struct wmOperatorType *ot)
 
void POSE_OT_group_select (struct wmOperatorType *ot)
 
void POSE_OT_group_deselect (struct wmOperatorType *ot)
 
void POSE_OT_paths_calculate (struct wmOperatorType *ot)
 
void POSE_OT_paths_update (struct wmOperatorType *ot)
 
void POSE_OT_paths_clear (struct wmOperatorType *ot)
 
void POSE_OT_paths_range_update (struct wmOperatorType *ot)
 
void POSE_OT_autoside_names (struct wmOperatorType *ot)
 
void POSE_OT_flip_names (struct wmOperatorType *ot)
 
void POSE_OT_rotation_mode_set (struct wmOperatorType *ot)
 
void POSE_OT_quaternions_flip (struct wmOperatorType *ot)
 
void POSE_OT_bone_layers (struct wmOperatorType *ot)
 
struct ObjectposeAnim_object_get (struct Object *ob_)
 
void poseAnim_mapping_get (struct bContext *C, ListBase *pfLinks)
 
void poseAnim_mapping_free (ListBase *pfLinks)
 
void poseAnim_mapping_refresh (struct bContext *C, struct Scene *scene, struct Object *ob)
 
void poseAnim_mapping_reset (ListBase *pfLinks)
 
void poseAnim_mapping_autoKeyframe (struct bContext *C, struct Scene *scene, ListBase *pfLinks, float cframe)
 
LinkDataposeAnim_mapping_getNextFCurve (ListBase *fcuLinks, LinkData *prev, const char *path)
 
void POSELIB_OT_new (struct wmOperatorType *ot)
 
void POSELIB_OT_unlink (struct wmOperatorType *ot)
 
void POSELIB_OT_action_sanitize (struct wmOperatorType *ot)
 
void POSELIB_OT_pose_add (struct wmOperatorType *ot)
 
void POSELIB_OT_pose_remove (struct wmOperatorType *ot)
 
void POSELIB_OT_pose_rename (struct wmOperatorType *ot)
 
void POSELIB_OT_pose_move (struct wmOperatorType *ot)
 
void POSELIB_OT_browse_interactive (struct wmOperatorType *ot)
 
void POSELIB_OT_apply_pose (struct wmOperatorType *ot)
 
void POSE_OT_push (struct wmOperatorType *ot)
 
void POSE_OT_relax (struct wmOperatorType *ot)
 
void POSE_OT_push_rest (struct wmOperatorType *ot)
 
void POSE_OT_relax_rest (struct wmOperatorType *ot)
 
void POSE_OT_breakdown (struct wmOperatorType *ot)
 
void POSE_OT_propagate (struct wmOperatorType *ot)
 
struct EditBonemake_boneList (struct ListBase *edbo, struct ListBase *bones, struct Bone *actBone)
 
void preEditBoneDuplicate (struct ListBase *editbones)
 
void postEditBoneDuplicate (struct ListBase *editbones, struct Object *ob)
 
struct EditBoneduplicateEditBone (struct EditBone *cur_bone, const char *name, struct ListBase *editbones, struct Object *ob)
 
struct EditBoneduplicateEditBoneObjects (struct EditBone *cur_bone, const char *name, struct ListBase *editbones, struct Object *src_ob, struct Object *dst_ob)
 
struct EditBoneadd_points_bone (struct Object *obedit, float head[3], float tail[3])
 
void bone_free (struct bArmature *arm, struct EditBone *bone)
 
void armature_tag_select_mirrored (struct bArmature *arm)
 
void armature_select_mirrored_ex (struct bArmature *arm, const int flag)
 
void armature_select_mirrored (struct bArmature *arm)
 
void armature_tag_unselect (struct bArmature *arm)
 
struct EditBoneED_armature_pick_ebone (struct bContext *C, const int xy[2], bool findunsel, struct Base **r_base)
 
struct bPoseChannelED_armature_pick_pchan (struct bContext *C, const int xy[2], bool findunsel, struct Base **r_base)
 
struct BoneED_armature_pick_bone (struct bContext *C, const int xy[2], bool findunsel, struct Base **r_base)
 
struct EditBoneED_armature_pick_ebone_from_selectbuffer (struct Base **bases, uint bases_len, const uint *buffer, short hits, bool findunsel, bool do_nearest, struct Base **r_base)
 
struct bPoseChannelED_armature_pick_pchan_from_selectbuffer (struct Base **bases, uint bases_len, const uint *buffer, short hits, bool findunsel, bool do_nearest, struct Base **r_base)
 
struct BoneED_armature_pick_bone_from_selectbuffer (struct Base **bases, uint bases_len, const uint *buffer, short hits, bool findunsel, bool do_nearest, struct Base **r_base)
 
int bone_looper (struct Object *ob, struct Bone *bone, void *data, int(*bone_func)(struct Object *, struct Bone *, void *))
 

Typedef Documentation

◆ tPChanFCurveLink

Function Documentation

◆ add_points_bone()

struct EditBone* add_points_bone ( struct Object obedit,
float  head[3],
float  tail[3] 
)

◆ ARMATURE_OT_align()

void ARMATURE_OT_align ( struct wmOperatorType ot)

◆ ARMATURE_OT_armature_layers()

void ARMATURE_OT_armature_layers ( struct wmOperatorType ot)

◆ ARMATURE_OT_autoside_names()

void ARMATURE_OT_autoside_names ( struct wmOperatorType ot)

◆ ARMATURE_OT_bone_layers()

void ARMATURE_OT_bone_layers ( struct wmOperatorType ot)

◆ ARMATURE_OT_bone_primitive_add()

void ARMATURE_OT_bone_primitive_add ( struct wmOperatorType ot)

◆ ARMATURE_OT_calculate_roll()

void ARMATURE_OT_calculate_roll ( struct wmOperatorType ot)

◆ ARMATURE_OT_click_extrude()

void ARMATURE_OT_click_extrude ( struct wmOperatorType ot)

◆ ARMATURE_OT_delete()

void ARMATURE_OT_delete ( struct wmOperatorType ot)

◆ ARMATURE_OT_dissolve()

void ARMATURE_OT_dissolve ( struct wmOperatorType ot)

◆ ARMATURE_OT_duplicate()

void ARMATURE_OT_duplicate ( struct wmOperatorType ot)

◆ ARMATURE_OT_extrude()

void ARMATURE_OT_extrude ( struct wmOperatorType ot)

◆ ARMATURE_OT_fill()

void ARMATURE_OT_fill ( struct wmOperatorType ot)

◆ ARMATURE_OT_flip_names()

void ARMATURE_OT_flip_names ( struct wmOperatorType ot)

◆ ARMATURE_OT_hide()

void ARMATURE_OT_hide ( struct wmOperatorType ot)

◆ ARMATURE_OT_layers_show_all()

void ARMATURE_OT_layers_show_all ( struct wmOperatorType ot)

◆ ARMATURE_OT_parent_clear()

void ARMATURE_OT_parent_clear ( struct wmOperatorType ot)

◆ ARMATURE_OT_parent_set()

void ARMATURE_OT_parent_set ( struct wmOperatorType ot)

◆ ARMATURE_OT_reveal()

void ARMATURE_OT_reveal ( struct wmOperatorType ot)

◆ ARMATURE_OT_roll_clear()

void ARMATURE_OT_roll_clear ( struct wmOperatorType ot)

◆ ARMATURE_OT_select_all()

void ARMATURE_OT_select_all ( struct wmOperatorType ot)

◆ ARMATURE_OT_select_hierarchy()

void ARMATURE_OT_select_hierarchy ( struct wmOperatorType ot)

◆ ARMATURE_OT_select_less()

void ARMATURE_OT_select_less ( struct wmOperatorType ot)

◆ ARMATURE_OT_select_linked()

void ARMATURE_OT_select_linked ( struct wmOperatorType ot)

◆ ARMATURE_OT_select_linked_pick()

void ARMATURE_OT_select_linked_pick ( struct wmOperatorType ot)

◆ ARMATURE_OT_select_mirror()

void ARMATURE_OT_select_mirror ( struct wmOperatorType ot)

◆ ARMATURE_OT_select_more()

void ARMATURE_OT_select_more ( struct wmOperatorType ot)

◆ ARMATURE_OT_select_similar()

void ARMATURE_OT_select_similar ( struct wmOperatorType ot)

◆ ARMATURE_OT_separate()

void ARMATURE_OT_separate ( struct wmOperatorType ot)

◆ ARMATURE_OT_shortest_path_pick()

void ARMATURE_OT_shortest_path_pick ( struct wmOperatorType ot)

◆ ARMATURE_OT_split()

void ARMATURE_OT_split ( struct wmOperatorType ot)

◆ ARMATURE_OT_subdivide()

void ARMATURE_OT_subdivide ( struct wmOperatorType ot)

◆ ARMATURE_OT_switch_direction()

void ARMATURE_OT_switch_direction ( struct wmOperatorType ot)

◆ ARMATURE_OT_symmetrize()

void ARMATURE_OT_symmetrize ( struct wmOperatorType ot)

◆ armature_select_mirrored()

void armature_select_mirrored ( struct bArmature arm)

Definition at line 342 of file armature_utils.c.

References armature_select_mirrored_ex(), and BONE_SELECTED.

Referenced by armature_delete_selected_exec().

◆ armature_select_mirrored_ex()

void armature_select_mirrored_ex ( struct bArmature arm,
const int  flag 
)

◆ armature_tag_select_mirrored()

void armature_tag_select_mirrored ( struct bArmature arm)

◆ armature_tag_unselect()

void armature_tag_unselect ( struct bArmature arm)

◆ bone_free()

void bone_free ( struct bArmature arm,
struct EditBone bone 
)

◆ bone_looper()

int bone_looper ( struct Object ob,
struct Bone bone,
void *  data,
int(*)(struct Object *, struct Bone *, void *)  bone_func 
)

◆ duplicateEditBone()

struct EditBone* duplicateEditBone ( struct EditBone cur_bone,
const char *  name,
struct ListBase editbones,
struct Object ob 
)

◆ duplicateEditBoneObjects()

struct EditBone* duplicateEditBoneObjects ( struct EditBone cur_bone,
const char *  name,
struct ListBase editbones,
struct Object src_ob,
struct Object dst_ob 
)

◆ ED_armature_pick_bone()

struct Bone* ED_armature_pick_bone ( struct bContext C,
const int  xy[2],
bool  findunsel,
struct Base **  r_base 
)

Definition at line 390 of file armature_select.c.

References bPoseChannel::bone, C, ED_armature_pick_pchan(), and NULL.

Referenced by pose_select_connected_invoke().

◆ ED_armature_pick_bone_from_selectbuffer()

struct Bone* ED_armature_pick_bone_from_selectbuffer ( struct Base **  bases,
uint  bases_len,
const uint buffer,
short  hits,
bool  findunsel,
bool  do_nearest,
struct Base **  r_base 
)

◆ ED_armature_pick_ebone()

struct EditBone* ED_armature_pick_ebone ( struct bContext C,
const int  xy[2],
bool  findunsel,
struct Base **  r_base 
)

◆ ED_armature_pick_ebone_from_selectbuffer()

struct EditBone* ED_armature_pick_ebone_from_selectbuffer ( struct Base **  bases,
uint  bases_len,
const uint buffer,
short  hits,
bool  findunsel,
bool  do_nearest,
struct Base **  r_base 
)

Definition at line 270 of file armature_select.c.

References buffer, and ed_armature_pick_bone_from_selectbuffer_impl().

◆ ED_armature_pick_pchan()

struct bPoseChannel* ED_armature_pick_pchan ( struct bContext C,
const int  xy[2],
bool  findunsel,
struct Base **  r_base 
)

Definition at line 384 of file armature_select.c.

References C, and ed_armature_pick_bone_impl().

Referenced by ED_armature_pick_bone().

◆ ED_armature_pick_pchan_from_selectbuffer()

struct bPoseChannel* ED_armature_pick_pchan_from_selectbuffer ( struct Base **  bases,
uint  bases_len,
const uint buffer,
short  hits,
bool  findunsel,
bool  do_nearest,
struct Base **  r_base 
)

◆ make_boneList()

struct EditBone* make_boneList ( struct ListBase edbo,
struct ListBase bones,
struct Bone actBone 
)

◆ POSE_OT_armature_apply()

void POSE_OT_armature_apply ( struct wmOperatorType ot)

◆ POSE_OT_autoside_names()

void POSE_OT_autoside_names ( struct wmOperatorType ot)

◆ POSE_OT_bone_layers()

void POSE_OT_bone_layers ( struct wmOperatorType ot)

◆ POSE_OT_breakdown()

void POSE_OT_breakdown ( struct wmOperatorType ot)

◆ POSE_OT_copy()

void POSE_OT_copy ( struct wmOperatorType ot)

◆ POSE_OT_flip_names()

void POSE_OT_flip_names ( struct wmOperatorType ot)

◆ POSE_OT_group_add()

void POSE_OT_group_add ( struct wmOperatorType ot)

◆ POSE_OT_group_assign()

void POSE_OT_group_assign ( struct wmOperatorType ot)

◆ POSE_OT_group_deselect()

void POSE_OT_group_deselect ( struct wmOperatorType ot)

◆ POSE_OT_group_move()

void POSE_OT_group_move ( struct wmOperatorType ot)

◆ POSE_OT_group_remove()

void POSE_OT_group_remove ( struct wmOperatorType ot)

◆ POSE_OT_group_select()

void POSE_OT_group_select ( struct wmOperatorType ot)

◆ POSE_OT_group_sort()

void POSE_OT_group_sort ( struct wmOperatorType ot)

◆ POSE_OT_group_unassign()

void POSE_OT_group_unassign ( struct wmOperatorType ot)

◆ POSE_OT_hide()

void POSE_OT_hide ( struct wmOperatorType ot)

◆ POSE_OT_loc_clear()

void POSE_OT_loc_clear ( struct wmOperatorType ot)

◆ POSE_OT_paste()

void POSE_OT_paste ( struct wmOperatorType ot)

◆ POSE_OT_paths_calculate()

void POSE_OT_paths_calculate ( struct wmOperatorType ot)

◆ POSE_OT_paths_clear()

void POSE_OT_paths_clear ( struct wmOperatorType ot)

◆ POSE_OT_paths_range_update()

void POSE_OT_paths_range_update ( struct wmOperatorType ot)

◆ POSE_OT_paths_update()

void POSE_OT_paths_update ( struct wmOperatorType ot)

◆ POSE_OT_propagate()

void POSE_OT_propagate ( struct wmOperatorType ot)

◆ POSE_OT_push()

void POSE_OT_push ( struct wmOperatorType ot)

◆ POSE_OT_push_rest()

void POSE_OT_push_rest ( struct wmOperatorType ot)

◆ POSE_OT_quaternions_flip()

void POSE_OT_quaternions_flip ( struct wmOperatorType ot)

◆ POSE_OT_relax()

void POSE_OT_relax ( struct wmOperatorType ot)

◆ POSE_OT_relax_rest()

void POSE_OT_relax_rest ( struct wmOperatorType ot)

◆ POSE_OT_reveal()

void POSE_OT_reveal ( struct wmOperatorType ot)

◆ POSE_OT_rot_clear()

void POSE_OT_rot_clear ( struct wmOperatorType ot)

◆ POSE_OT_rotation_mode_set()

void POSE_OT_rotation_mode_set ( struct wmOperatorType ot)

◆ POSE_OT_scale_clear()

void POSE_OT_scale_clear ( struct wmOperatorType ot)

◆ POSE_OT_select_all()

void POSE_OT_select_all ( struct wmOperatorType ot)

◆ POSE_OT_select_constraint_target()

void POSE_OT_select_constraint_target ( struct wmOperatorType ot)

◆ POSE_OT_select_grouped()

void POSE_OT_select_grouped ( struct wmOperatorType ot)

◆ POSE_OT_select_hierarchy()

void POSE_OT_select_hierarchy ( struct wmOperatorType ot)

◆ POSE_OT_select_linked()

void POSE_OT_select_linked ( struct wmOperatorType ot)

◆ POSE_OT_select_linked_pick()

void POSE_OT_select_linked_pick ( struct wmOperatorType ot)

◆ POSE_OT_select_mirror()

void POSE_OT_select_mirror ( struct wmOperatorType ot)

◆ POSE_OT_select_parent()

void POSE_OT_select_parent ( struct wmOperatorType ot)

◆ POSE_OT_transforms_clear()

void POSE_OT_transforms_clear ( struct wmOperatorType ot)

◆ POSE_OT_user_transforms_clear()

void POSE_OT_user_transforms_clear ( struct wmOperatorType ot)

◆ POSE_OT_visual_transform_apply()

void POSE_OT_visual_transform_apply ( struct wmOperatorType ot)

◆ poseAnim_mapping_autoKeyframe()

void poseAnim_mapping_autoKeyframe ( struct bContext C,
struct Scene scene,
ListBase pfLinks,
float  cframe 
)

◆ poseAnim_mapping_free()

void poseAnim_mapping_free ( ListBase pfLinks)

◆ poseAnim_mapping_get()

void poseAnim_mapping_get ( struct bContext C,
ListBase pfLinks 
)

◆ poseAnim_mapping_getNextFCurve()

LinkData* poseAnim_mapping_getNextFCurve ( ListBase fcuLinks,
LinkData prev,
const char *  path 
)

◆ poseAnim_mapping_refresh()

void poseAnim_mapping_refresh ( struct bContext C,
struct Scene scene,
struct Object ob 
)

◆ poseAnim_mapping_reset()

void poseAnim_mapping_reset ( ListBase pfLinks)

◆ poseAnim_object_get()

struct Object* poseAnim_object_get ( Object ob_)

Returns a valid pose armature for this object, else returns NULL.

Definition at line 139 of file pose_utils.c.

References AnimData::action, Object::adt, BKE_object_pose_armature_get(), Object::data, ELEM, and NULL.

Referenced by pose_slide_init(), poseAnim_mapping_autoKeyframe(), and poseAnim_mapping_get().

◆ POSELIB_OT_action_sanitize()

void POSELIB_OT_action_sanitize ( struct wmOperatorType ot)

◆ POSELIB_OT_apply_pose()

void POSELIB_OT_apply_pose ( struct wmOperatorType ot)

◆ POSELIB_OT_browse_interactive()

void POSELIB_OT_browse_interactive ( struct wmOperatorType ot)

◆ POSELIB_OT_new()

void POSELIB_OT_new ( struct wmOperatorType ot)

◆ POSELIB_OT_pose_add()

void POSELIB_OT_pose_add ( struct wmOperatorType ot)

◆ POSELIB_OT_pose_move()

void POSELIB_OT_pose_move ( struct wmOperatorType ot)

◆ POSELIB_OT_pose_remove()

void POSELIB_OT_pose_remove ( struct wmOperatorType ot)

◆ POSELIB_OT_pose_rename()

void POSELIB_OT_pose_rename ( struct wmOperatorType ot)

◆ POSELIB_OT_unlink()

void POSELIB_OT_unlink ( struct wmOperatorType ot)

◆ postEditBoneDuplicate()

void postEditBoneDuplicate ( struct ListBase editbones,
struct Object ob 
)

◆ preEditBoneDuplicate()

void preEditBoneDuplicate ( struct ListBase editbones)