Blender V2.61 - r43446
Enumerations | Functions

keyframing.c File Reference

#include <stdio.h>
#include <stddef.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_math.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_key_types.h"
#include "DNA_material_types.h"
#include "DNA_scene_types.h"
#include "DNA_object_types.h"
#include "BKE_animsys.h"
#include "BKE_action.h"
#include "BKE_armature.h"
#include "BKE_constraint.h"
#include "BKE_depsgraph.h"
#include "BKE_fcurve.h"
#include "BKE_main.h"
#include "BKE_nla.h"
#include "BKE_global.h"
#include "BKE_context.h"
#include "BKE_report.h"
#include "BKE_key.h"
#include "BKE_material.h"
#include "ED_anim_api.h"
#include "ED_keyframing.h"
#include "ED_keyframes_edit.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "anim_intern.h"

Go to the source code of this file.

Enumerations

enum  { KEYNEEDED_DONTADD = 0, KEYNEEDED_JUSTADD, KEYNEEDED_DELPREV, KEYNEEDED_DELNEXT }
enum  { VISUALKEY_NONE = 0, VISUALKEY_LOC, VISUALKEY_ROT }
enum  { COMMONKEY_MODE_INSERT = 0, COMMONKEY_MODE_DELETE }

Functions

short ANIM_get_keyframing_flags (Scene *scene, short incl_mode)
bActionverify_adt_action (ID *id, short add)
FCurveverify_fcurve (bAction *act, const char group[], const char rna_path[], const int array_index, short add)
int insert_bezt_fcurve (FCurve *fcu, BezTriple *bezt, short flag)
int insert_vert_fcurve (FCurve *fcu, float x, float y, short flag)
static short new_key_needed (FCurve *fcu, float cFrame, float nValue)
static float setting_get_rna_value (PointerRNA *ptr, PropertyRNA *prop, int index)
static short visualkey_can_use (PointerRNA *ptr, PropertyRNA *prop)
static float visualkey_get_value (PointerRNA *ptr, PropertyRNA *prop, int array_index)
short insert_keyframe_direct (ReportList *reports, PointerRNA ptr, PropertyRNA *prop, FCurve *fcu, float cfra, short flag)
short insert_keyframe (ReportList *reports, ID *id, bAction *act, const char group[], const char rna_path[], int array_index, float cfra, short flag)
short delete_keyframe (ReportList *reports, ID *id, bAction *act, const char group[], const char rna_path[], int array_index, float cfra, short UNUSED(flag))
static int modify_key_op_poll (bContext *C)
static int insert_key_exec (bContext *C, wmOperator *op)
void ANIM_OT_keyframe_insert (wmOperatorType *ot)
static int insert_key_menu_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
void ANIM_OT_keyframe_insert_menu (wmOperatorType *ot)
static int delete_key_exec (bContext *C, wmOperator *op)
void ANIM_OT_keyframe_delete (wmOperatorType *ot)
static int delete_key_v3d_exec (bContext *C, wmOperator *op)
void ANIM_OT_keyframe_delete_v3d (wmOperatorType *ot)
static int insert_key_button_exec (bContext *C, wmOperator *op)
void ANIM_OT_keyframe_insert_button (wmOperatorType *ot)
static int delete_key_button_exec (bContext *C, wmOperator *op)
void ANIM_OT_keyframe_delete_button (wmOperatorType *ot)
int autokeyframe_cfra_can_key (Scene *scene, ID *id)
short fcurve_frame_has_keyframe (FCurve *fcu, float frame, short filter)
static short action_frame_has_keyframe (bAction *act, float frame, short filter)
static short object_frame_has_keyframe (Object *ob, float frame, short filter)
short id_frame_has_keyframe (ID *id, float frame, short filter)
int ED_autokeyframe_object (bContext *C, Scene *scene, Object *ob, KeyingSet *ks)
int ED_autokeyframe_pchan (bContext *C, Scene *scene, Object *ob, bPoseChannel *pchan, KeyingSet *ks)

Detailed Description

Definition in file keyframing.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
KEYNEEDED_DONTADD 
KEYNEEDED_JUSTADD 
KEYNEEDED_DELPREV 
KEYNEEDED_DELNEXT 

Definition at line 369 of file keyframing.c.

anonymous enum
Enumerator:
VISUALKEY_NONE 
VISUALKEY_LOC 
VISUALKEY_ROT 

Definition at line 524 of file keyframing.c.

anonymous enum
Enumerator:
COMMONKEY_MODE_INSERT 
COMMONKEY_MODE_DELETE 

Definition at line 1067 of file keyframing.c.


Function Documentation

static short action_frame_has_keyframe ( bAction act,
float  frame,
short  filter 
) [static]
short ANIM_get_keyframing_flags ( Scene scene,
short  incl_mode 
)
void ANIM_OT_keyframe_delete ( wmOperatorType ot)
void ANIM_OT_keyframe_delete_button ( wmOperatorType ot)
void ANIM_OT_keyframe_delete_v3d ( wmOperatorType ot)
void ANIM_OT_keyframe_insert ( wmOperatorType ot)
void ANIM_OT_keyframe_insert_button ( wmOperatorType ot)
void ANIM_OT_keyframe_insert_menu ( wmOperatorType ot)
int autokeyframe_cfra_can_key ( Scene scene,
ID id 
)
static int delete_key_button_exec ( bContext C,
wmOperator op 
) [static]
static int delete_key_exec ( bContext C,
wmOperator op 
) [static]
static int delete_key_v3d_exec ( bContext C,
wmOperator op 
) [static]
short delete_keyframe ( ReportList reports,
ID id,
bAction act,
const char  group[],
const char  rna_path[],
int  array_index,
float  cfra,
short   UNUSEDflag 
)
int ED_autokeyframe_object ( bContext C,
Scene scene,
Object ob,
KeyingSet ks 
)
int ED_autokeyframe_pchan ( bContext C,
Scene scene,
Object ob,
bPoseChannel pchan,
KeyingSet ks 
)
short fcurve_frame_has_keyframe ( FCurve fcu,
float  frame,
short  filter 
)
short id_frame_has_keyframe ( ID id,
float  frame,
short  filter 
)
int insert_bezt_fcurve ( FCurve fcu,
BezTriple bezt,
short  flag 
)
static int insert_key_button_exec ( bContext C,
wmOperator op 
) [static]
static int insert_key_exec ( bContext C,
wmOperator op 
) [static]
static int insert_key_menu_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
short insert_keyframe ( ReportList reports,
ID id,
bAction act,
const char  group[],
const char  rna_path[],
int  array_index,
float  cfra,
short  flag 
)
short insert_keyframe_direct ( ReportList reports,
PointerRNA  ptr,
PropertyRNA prop,
FCurve fcu,
float  cfra,
short  flag 
)
int insert_vert_fcurve ( FCurve fcu,
float  x,
float  y,
short  flag 
)
static int modify_key_op_poll ( bContext C) [static]
static short new_key_needed ( FCurve fcu,
float  cFrame,
float  nValue 
) [static]
static short object_frame_has_keyframe ( Object ob,
float  frame,
short  filter 
) [static]
static float setting_get_rna_value ( PointerRNA ptr,
PropertyRNA prop,
int  index 
) [static]
bAction* verify_adt_action ( ID id,
short  add 
) [read]
FCurve* verify_fcurve ( bAction act,
const char  group[],
const char  rna_path[],
const int  array_index,
short  add 
) [read]
static short visualkey_can_use ( PointerRNA ptr,
PropertyRNA prop 
) [static]
static float visualkey_get_value ( PointerRNA ptr,
PropertyRNA prop,
int  array_index 
) [static]