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

keyingsets.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_scene_types.h"
#include "DNA_object_types.h"
#include "BKE_main.h"
#include "BKE_animsys.h"
#include "BKE_context.h"
#include "BKE_depsgraph.h"
#include "BKE_report.h"
#include "ED_keyframing.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "UI_resources.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.

Classes

struct  tRKS_DSource

Typedefs

typedef struct tRKS_DSource tRKS_DSource

Functions

static int keyingset_poll_default_add (bContext *C)
static int keyingset_poll_active_edit (bContext *C)
static int keyingset_poll_activePath_edit (bContext *C)
static int add_default_keyingset_exec (bContext *C, wmOperator *UNUSED(op))
void ANIM_OT_keying_set_add (wmOperatorType *ot)
static int remove_active_keyingset_exec (bContext *C, wmOperator *op)
void ANIM_OT_keying_set_remove (wmOperatorType *ot)
static int add_empty_ks_path_exec (bContext *C, wmOperator *op)
void ANIM_OT_keying_set_path_add (wmOperatorType *ot)
static int remove_active_ks_path_exec (bContext *C, wmOperator *op)
void ANIM_OT_keying_set_path_remove (wmOperatorType *ot)
static int add_keyingset_button_exec (bContext *C, wmOperator *op)
void ANIM_OT_keyingset_button_add (wmOperatorType *ot)
static int remove_keyingset_button_exec (bContext *C, wmOperator *op)
void ANIM_OT_keyingset_button_remove (wmOperatorType *ot)
static int keyingset_active_menu_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static int keyingset_active_menu_exec (bContext *C, wmOperator *op)
void ANIM_OT_keying_set_active_set (wmOperatorType *ot)
KeyingSetInfo * ANIM_keyingset_info_find_named (const char name[])
KeyingSet * ANIM_builtin_keyingset_get_named (KeyingSet *prevKS, const char name[])
void ANIM_keyingset_info_register (KeyingSetInfo *ksi)
void ANIM_keyingset_info_unregister (Main *bmain, KeyingSetInfo *ksi)
void ANIM_keyingset_infos_exit (void)
KeyingSet * ANIM_scene_get_active_keyingset (Scene *scene)
int ANIM_scene_get_keyingset_index (Scene *scene, KeyingSet *ks)
KeyingSet * ANIM_get_keyingset_for_autokeying (Scene *scene, const char *tranformKSName)
EnumPropertyItem * ANIM_keying_sets_enum_itemf (bContext *C, PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), int *free)
void ANIM_keying_sets_menu_setup (bContext *C, const char title[], const char op_name[])
short ANIM_keyingset_context_ok_poll (bContext *C, KeyingSet *ks)
static void RKS_ITER_overrides_list (KeyingSetInfo *ksi, bContext *C, KeyingSet *ks, ListBase *dsources)
void ANIM_relative_keyingset_add_source (ListBase *dsources, ID *id, StructRNA *srna, void *data)
short ANIM_validate_keyingset (bContext *C, ListBase *dsources, KeyingSet *ks)
int ANIM_apply_keyingset (bContext *C, ListBase *dsources, bAction *act, KeyingSet *ks, short mode, float cfra)

Variables

static ListBase keyingset_type_infos = {NULL, NULL}
ListBase builtin_keyingsets = {NULL, NULL}

Detailed Description

Definition in file keyingsets.c.


Typedef Documentation

typedef struct tRKS_DSource tRKS_DSource

Function Documentation

static int add_default_keyingset_exec ( bContext *  C,
wmOperator *  UNUSEDop 
) [static]
static int add_empty_ks_path_exec ( bContext *  C,
wmOperator *  op 
) [static]
static int add_keyingset_button_exec ( bContext *  C,
wmOperator *  op 
) [static]
int ANIM_apply_keyingset ( bContext *  C,
ListBase *  dsources,
bAction *  act,
KeyingSet *  ks,
short  mode,
float  cfra 
)
KeyingSet* ANIM_builtin_keyingset_get_named ( KeyingSet *  prevKS,
const char  name[] 
) [read]
KeyingSet* ANIM_get_keyingset_for_autokeying ( Scene *  scene,
const char *  tranformKSName 
) [read]
EnumPropertyItem* ANIM_keying_sets_enum_itemf ( bContext *  C,
PointerRNA *  UNUSEDptr,
PropertyRNA *  UNUSEDprop,
int *  free 
)
void ANIM_keying_sets_menu_setup ( bContext *  C,
const char  title[],
const char  op_name[] 
)
short ANIM_keyingset_context_ok_poll ( bContext *  C,
KeyingSet *  ks 
)
KeyingSetInfo* ANIM_keyingset_info_find_named ( const char  name[])

Definition at line 525 of file keyingsets.c.

References BLI_findstring(), and NULL.

Referenced by ANIM_keyingset_context_ok_poll(), and ANIM_validate_keyingset().

void ANIM_keyingset_info_register ( KeyingSetInfo *  ksi)
void ANIM_keyingset_info_unregister ( Main *  bmain,
KeyingSetInfo *  ksi 
)
void ANIM_keyingset_infos_exit ( void  )
void ANIM_OT_keying_set_active_set ( wmOperatorType *  ot)
void ANIM_OT_keying_set_add ( wmOperatorType *  ot)
void ANIM_OT_keying_set_path_add ( wmOperatorType *  ot)
void ANIM_OT_keying_set_path_remove ( wmOperatorType *  ot)
void ANIM_OT_keying_set_remove ( wmOperatorType *  ot)
void ANIM_OT_keyingset_button_add ( wmOperatorType *  ot)
void ANIM_OT_keyingset_button_remove ( wmOperatorType *  ot)
void ANIM_relative_keyingset_add_source ( ListBase *  dsources,
ID *  id,
StructRNA *  srna,
void *  data 
)
KeyingSet* ANIM_scene_get_active_keyingset ( Scene *  scene) [read]
int ANIM_scene_get_keyingset_index ( Scene *  scene,
KeyingSet *  ks 
)

Definition at line 656 of file keyingsets.c.

References BLI_findindex(), Scene::keyingsets, and NULL.

short ANIM_validate_keyingset ( bContext *  C,
ListBase *  dsources,
KeyingSet *  ks 
)
static int keyingset_active_menu_exec ( bContext *  C,
wmOperator *  op 
) [static]
static int keyingset_active_menu_invoke ( bContext *  C,
wmOperator *  op,
wmEvent *  UNUSEDevent 
) [static]
static int keyingset_poll_active_edit ( bContext *  C) [static]
static int keyingset_poll_activePath_edit ( bContext *  C) [static]
static int keyingset_poll_default_add ( bContext *  C) [static]

Definition at line 78 of file keyingsets.c.

References CTX_data_scene(), and NULL.

Referenced by ANIM_OT_keying_set_add().

static int remove_active_keyingset_exec ( bContext *  C,
wmOperator *  op 
) [static]
static int remove_active_ks_path_exec ( bContext *  C,
wmOperator *  op 
) [static]
static int remove_keyingset_button_exec ( bContext *  C,
wmOperator *  op 
) [static]
static void RKS_ITER_overrides_list ( KeyingSetInfo *  ksi,
bContext *  C,
KeyingSet *  ks,
ListBase *  dsources 
) [static]

Variable Documentation

ListBase builtin_keyingsets = {NULL, NULL}

Definition at line 520 of file keyingsets.c.

Referenced by delete_key_exec(), and insert_key_exec().

ListBase keyingset_type_infos = {NULL, NULL} [static]

Definition at line 517 of file keyingsets.c.