Blender V2.61 - r43446
Classes | Typedefs | Functions | Variables

poseobject.c File Reference

#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "BLI_blenlib.h"
#include "BLI_dynstr.h"
#include "BLI_utildefines.h"
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
#include "DNA_constraint_types.h"
#include "DNA_scene_types.h"
#include "DNA_object_types.h"
#include "BKE_animsys.h"
#include "BKE_anim.h"
#include "BKE_idprop.h"
#include "BKE_action.h"
#include "BKE_armature.h"
#include "BKE_context.h"
#include "BKE_constraint.h"
#include "BKE_deform.h"
#include "BKE_depsgraph.h"
#include "BKE_fcurve.h"
#include "BKE_modifier.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_armature.h"
#include "ED_keyframing.h"
#include "ED_mesh.h"
#include "ED_screen.h"
#include "ED_object.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "armature_intern.h"

Go to the source code of this file.

Classes

struct  tSortActionGroup

Typedefs

typedef struct tSortActionGroup tSortActionGroup

Functions

void ED_armature_enter_posemode (bContext *C, Base *base)
void ED_armature_exit_posemode (bContext *C, Base *base)
static int pose_channel_in_IK_chain (Object *ob, bPoseChannel *pchan, int level)
int ED_pose_channel_in_IK_chain (Object *ob, bPoseChannel *pchan)
void ED_pose_recalculate_paths (Scene *scene, Object *ob)
static int pose_calculate_paths_exec (bContext *C, wmOperator *op)
void POSE_OT_paths_calculate (wmOperatorType *ot)
static void ED_pose_clear_paths (Object *ob)
static int pose_clear_paths_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_paths_clear (wmOperatorType *ot)
static int pose_select_constraint_target_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_select_constraint_target (wmOperatorType *ot)
static int pose_select_hierarchy_exec (bContext *C, wmOperator *op)
void POSE_OT_select_hierarchy (wmOperatorType *ot)
static short pose_select_same_group (bContext *C, Object *ob, short extend)
static short pose_select_same_layer (bContext *C, Object *ob, short extend)
static int pose_select_same_keyingset (bContext *C, Object *ob, short extend)
static int pose_select_grouped_exec (bContext *C, wmOperator *op)
void POSE_OT_select_grouped (wmOperatorType *ot)
static int pose_bone_flip_active_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_select_flip_active (wmOperatorType *ot)
void free_posebuf (void)
static void set_pose_keys (Object *ob)
static bPoseChannelpose_bone_do_paste (Object *ob, bPoseChannel *chan, short selOnly, short flip)
static int pose_copy_exec (bContext *C, wmOperator *op)
void POSE_OT_copy (wmOperatorType *ot)
static int pose_paste_exec (bContext *C, wmOperator *op)
void POSE_OT_paste (wmOperatorType *ot)
static int pose_group_add_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_group_add (wmOperatorType *ot)
static int pose_group_remove_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_group_remove (wmOperatorType *ot)
static int pose_groups_menu_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(evt))
static int pose_group_assign_exec (bContext *C, wmOperator *op)
void POSE_OT_group_assign (wmOperatorType *ot)
static int pose_group_unassign_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_group_unassign (wmOperatorType *ot)
static int group_move_exec (bContext *C, wmOperator *op)
void POSE_OT_group_move (wmOperatorType *ot)
static int compare_agroup (const void *sgrp_a_ptr, const void *sgrp_b_ptr)
static int group_sort_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_group_sort (wmOperatorType *ot)
static void pose_group_select (bContext *C, Object *ob, int select)
static int pose_group_select_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_group_select (wmOperatorType *ot)
static int pose_group_deselect_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_group_deselect (wmOperatorType *ot)
static int pose_flip_names_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_flip_names (wmOperatorType *ot)
static int pose_autoside_names_exec (bContext *C, wmOperator *op)
void POSE_OT_autoside_names (wmOperatorType *ot)
static int pose_bone_rotmode_exec (bContext *C, wmOperator *op)
void POSE_OT_rotation_mode_set (wmOperatorType *ot)
static int pose_armature_layers_showall_poll (bContext *C)
static int pose_armature_layers_showall_exec (bContext *C, wmOperator *op)
void ARMATURE_OT_layers_show_all (wmOperatorType *ot)
static int pose_armature_layers_invoke (bContext *C, wmOperator *op, wmEvent *evt)
static int pose_armature_layers_exec (bContext *C, wmOperator *op)
void POSE_OT_armature_layers (wmOperatorType *ot)
void ARMATURE_OT_armature_layers (wmOperatorType *ot)
static int pose_bone_layers_invoke (bContext *C, wmOperator *op, wmEvent *evt)
static int pose_bone_layers_exec (bContext *C, wmOperator *op)
void POSE_OT_bone_layers (wmOperatorType *ot)
static int armature_bone_layers_invoke (bContext *C, wmOperator *op, wmEvent *evt)
static int armature_bone_layers_exec (bContext *C, wmOperator *op)
void ARMATURE_OT_bone_layers (wmOperatorType *ot)
static int pose_flip_quats_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_quaternions_flip (wmOperatorType *ot)
static int pose_clear_user_transforms_exec (bContext *C, wmOperator *UNUSED(op))
void POSE_OT_user_transforms_clear (wmOperatorType *ot)

Variables

static bPoseg_posebuf = NULL

Detailed Description

Definition in file poseobject.c.


Typedef Documentation


Function Documentation

static int armature_bone_layers_exec ( bContext C,
wmOperator op 
) [static]
static int armature_bone_layers_invoke ( bContext C,
wmOperator op,
wmEvent evt 
) [static]
void ARMATURE_OT_armature_layers ( wmOperatorType ot)
void ARMATURE_OT_bone_layers ( wmOperatorType ot)
void ARMATURE_OT_layers_show_all ( wmOperatorType ot)
static int compare_agroup ( const void *  sgrp_a_ptr,
const void *  sgrp_b_ptr 
) [static]

Definition at line 1558 of file poseobject.c.

References tSortActionGroup::agrp, and bActionGroup::name.

Referenced by group_sort_exec().

void ED_armature_enter_posemode ( bContext C,
Base base 
)
void ED_armature_exit_posemode ( bContext C,
Base base 
)
int ED_pose_channel_in_IK_chain ( Object ob,
bPoseChannel pchan 
)

Definition at line 174 of file poseobject.c.

References pose_channel_in_IK_chain().

Referenced by draw_pose_dofs().

static void ED_pose_clear_paths ( Object ob) [static]
void ED_pose_recalculate_paths ( Scene scene,
Object ob 
)
void free_posebuf ( void  )
static int group_move_exec ( bContext C,
wmOperator op 
) [static]
static int group_sort_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_armature_layers_exec ( bContext C,
wmOperator op 
) [static]
static int pose_armature_layers_invoke ( bContext C,
wmOperator op,
wmEvent evt 
) [static]
static int pose_armature_layers_showall_exec ( bContext C,
wmOperator op 
) [static]
static int pose_armature_layers_showall_poll ( bContext C) [static]

Definition at line 1874 of file poseobject.c.

References ED_operator_editarmature(), and ED_operator_posemode().

Referenced by ARMATURE_OT_layers_show_all().

static int pose_autoside_names_exec ( bContext C,
wmOperator op 
) [static]
static bPoseChannel* pose_bone_do_paste ( Object ob,
bPoseChannel chan,
short  selOnly,
short  flip 
) [static]
static int pose_bone_flip_active_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_bone_layers_exec ( bContext C,
wmOperator op 
) [static]
static int pose_bone_layers_invoke ( bContext C,
wmOperator op,
wmEvent evt 
) [static]
static int pose_bone_rotmode_exec ( bContext C,
wmOperator op 
) [static]
static int pose_calculate_paths_exec ( bContext C,
wmOperator op 
) [static]
static int pose_channel_in_IK_chain ( Object ob,
bPoseChannel pchan,
int  level 
) [static]
static int pose_clear_paths_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_clear_user_transforms_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_copy_exec ( bContext C,
wmOperator op 
) [static]
static int pose_flip_names_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_flip_quats_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_group_add_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_group_assign_exec ( bContext C,
wmOperator op 
) [static]
static int pose_group_deselect_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_group_remove_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static void pose_group_select ( bContext C,
Object ob,
int  select 
) [static]
static int pose_group_select_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_group_unassign_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_groups_menu_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevt 
) [static]
void POSE_OT_armature_layers ( wmOperatorType ot)
void POSE_OT_autoside_names ( wmOperatorType ot)
void POSE_OT_bone_layers ( wmOperatorType ot)
void POSE_OT_copy ( wmOperatorType ot)
void POSE_OT_flip_names ( wmOperatorType ot)
void POSE_OT_group_add ( wmOperatorType ot)
void POSE_OT_group_assign ( wmOperatorType ot)
void POSE_OT_group_deselect ( wmOperatorType ot)
void POSE_OT_group_move ( wmOperatorType ot)
void POSE_OT_group_remove ( wmOperatorType ot)
void POSE_OT_group_select ( wmOperatorType ot)
void POSE_OT_group_sort ( wmOperatorType ot)
void POSE_OT_group_unassign ( wmOperatorType ot)
void POSE_OT_paste ( wmOperatorType ot)
void POSE_OT_paths_calculate ( wmOperatorType ot)
void POSE_OT_paths_clear ( wmOperatorType ot)
void POSE_OT_quaternions_flip ( wmOperatorType ot)
void POSE_OT_rotation_mode_set ( wmOperatorType ot)
void POSE_OT_select_constraint_target ( wmOperatorType ot)
void POSE_OT_select_flip_active ( wmOperatorType ot)
void POSE_OT_select_grouped ( wmOperatorType ot)
void POSE_OT_select_hierarchy ( wmOperatorType ot)
void POSE_OT_user_transforms_clear ( wmOperatorType ot)
static int pose_paste_exec ( bContext C,
wmOperator op 
) [static]
static int pose_select_constraint_target_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int pose_select_grouped_exec ( bContext C,
wmOperator op 
) [static]
static int pose_select_hierarchy_exec ( bContext C,
wmOperator op 
) [static]
static short pose_select_same_group ( bContext C,
Object ob,
short  extend 
) [static]
static int pose_select_same_keyingset ( bContext C,
Object ob,
short  extend 
) [static]
static short pose_select_same_layer ( bContext C,
Object ob,
short  extend 
) [static]
static void set_pose_keys ( Object ob) [static]

Variable Documentation

bPose* g_posebuf = NULL [static]

Definition at line 941 of file poseobject.c.