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

ED_anim_api.h File Reference

Go to the source code of this file.

Classes

struct  bAnimContext
struct  bAnimListElem
struct  bAnimChannelType

Defines

#define SEL_SCEC(sce)   ((sce->flag & SCE_DS_SELECTED))
#define EXPANDED_SCEC(sce)   ((sce->flag & SCE_DS_COLLAPSED)==0)
#define FILTER_WOR_SCED(wo)   ((wo->flag & WO_DS_EXPAND))
#define SEL_OBJC(base)   ((base->flag & SELECT))
#define EXPANDED_OBJC(ob)   ((ob->nlaflag & OB_ADS_COLLAPSED)==0)
#define FILTER_SKE_OBJD(key)   ((key->flag & KEY_DS_EXPAND))
#define FILTER_MAT_OBJD(ma)   ((ma->flag & MA_DS_EXPAND))
#define FILTER_LAM_OBJD(la)   ((la->flag & LA_DS_EXPAND))
#define FILTER_CAM_OBJD(ca)   ((ca->flag & CAM_DS_EXPAND))
#define FILTER_CUR_OBJD(cu)   ((cu->flag & CU_DS_EXPAND))
#define FILTER_PART_OBJD(part)   ((part->flag & PART_DS_EXPAND))
#define FILTER_MBALL_OBJD(mb)   ((mb->flag2 & MB_DS_EXPAND))
#define FILTER_ARM_OBJD(arm)   ((arm->flag & ARM_DS_EXPAND))
#define FILTER_MESH_OBJD(me)   ((me->flag & ME_DS_EXPAND))
#define FILTER_LATTICE_OBJD(lt)   ((lt->flag & LT_DS_EXPAND))
#define FILTER_SPK_OBJD(spk)   ((spk->flag & SPK_DS_EXPAND))
#define FILTER_NTREE_DATA(ntree)   ((ntree->flag & NTREE_DS_EXPAND))
#define FILTER_TEX_DATA(tex)   ((tex->flag & TEX_DS_EXPAND))
#define SEL_ACTC(actc)   ((actc->flag & ACT_SELECTED))
#define EXPANDED_ACTC(actc)   ((actc->flag & ACT_COLLAPSED)==0)
#define EXPANDED_DRVD(adt)   ((adt->flag & ADT_DRIVERS_COLLAPSED)==0)
#define EDITABLE_AGRP(agrp)   ((agrp->flag & AGRP_PROTECTED)==0)
#define EXPANDED_AGRP(ac, agrp)
#define SEL_AGRP(agrp)   ((agrp->flag & AGRP_SELECTED) || (agrp->flag & AGRP_ACTIVE))
#define EDITABLE_FCU(fcu)   ((fcu->flag & FCURVE_PROTECTED)==0)
#define SEL_FCU(fcu)   (fcu->flag & FCURVE_SELECTED)
#define EDITABLE_SHAPEKEY(kb)   ((kb->flag & KEYBLOCK_LOCKED)==0)
#define SEL_SHAPEKEY(kb)   (kb->flag & KEYBLOCK_SEL)
#define EXPANDED_GPD(gpd)   (gpd->flag & GP_DATA_EXPAND)
#define EDITABLE_GPL(gpl)   ((gpl->flag & GP_LAYER_LOCKED)==0)
#define SEL_GPL(gpl)   (gpl->flag & GP_LAYER_SELECT)
#define SEL_NLT(nlt)   (nlt->flag & NLATRACK_SELECTED)
#define EDITABLE_NLT(nlt)   ((nlt->flag & NLATRACK_PROTECTED)==0)
#define ACHANNEL_FIRST   -16
#define ACHANNEL_HEIGHT   16
#define ACHANNEL_HEIGHT_HALF   8
#define ACHANNEL_SKIP   2
#define ACHANNEL_STEP   (ACHANNEL_HEIGHT + ACHANNEL_SKIP)
#define ACHANNEL_NAMEWIDTH   200
#define ACHANNEL_BUTTON_WIDTH   16
#define NLACHANNEL_FIRST   -16
#define NLACHANNEL_HEIGHT(snla)   ((snla && (snla->flag & SNLA_NOSTRIPCURVES)) ? 16 : 24)
#define NLACHANNEL_HEIGHT_HALF(snla)   ((snla && (snla->flag & SNLA_NOSTRIPCURVES)) ? 8 : 12)
#define NLACHANNEL_SKIP   2
#define NLACHANNEL_STEP(snla)   (NLACHANNEL_HEIGHT(snla) + NLACHANNEL_SKIP)
#define NLACHANNEL_NAMEWIDTH   200
#define NLACHANNEL_BUTTON_WIDTH   16
#define BEZKEYTYPE(bezt)   ((bezt)->hide)
#define ACHANNEL_SET_FLAG(channel, smode, sflag)
#define ACHANNEL_SET_FLAG_NEG(channel, smode, sflag)

Typedefs

typedef struct bAnimContext bAnimContext
typedef enum eAnimCont_Types eAnimCont_Types
typedef struct bAnimListElem bAnimListElem
typedef enum eAnim_ChannelType eAnim_ChannelType
typedef enum eAnim_KeyType eAnim_KeyType
typedef enum eAnimFilter_Flags eAnimFilter_Flags
typedef enum eAnimChannels_SetFlag eAnimChannels_SetFlag
typedef enum eAnimChannel_Settings eAnimChannel_Settings
typedef struct bAnimChannelType bAnimChannelType
typedef enum eAnimUnitConv_Flags eAnimUnitConv_Flags

Enumerations

enum  eAnimCont_Types {
  ANIMCONT_NONE = 0, ANIMCONT_ACTION, ANIMCONT_SHAPEKEY, ANIMCONT_GPENCIL,
  ANIMCONT_DOPESHEET, ANIMCONT_FCURVES, ANIMCONT_DRIVERS, ANIMCONT_NLA,
  ANIMCONT_CHANNEL
}
enum  eAnim_ChannelType {
  ANIMTYPE_NONE = 0, ANIMTYPE_ANIMDATA, ANIMTYPE_SPECIALDATA, ANIMTYPE_SUMMARY,
  ANIMTYPE_SCENE, ANIMTYPE_OBJECT, ANIMTYPE_GROUP, ANIMTYPE_FCURVE,
  ANIMTYPE_FILLACTD, ANIMTYPE_FILLDRIVERS, ANIMTYPE_DSMAT, ANIMTYPE_DSLAM,
  ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSSKEY, ANIMTYPE_DSWOR,
  ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSMBALL, ANIMTYPE_DSARM,
  ANIMTYPE_DSMESH, ANIMTYPE_DSTEX, ANIMTYPE_DSLAT, ANIMTYPE_DSSPK,
  ANIMTYPE_SHAPEKEY, ANIMTYPE_GPDATABLOCK, ANIMTYPE_GPLAYER, ANIMTYPE_NLATRACK,
  ANIMTYPE_NLAACTION, ANIMTYPE_NUM_TYPES
}
enum  eAnim_KeyType {
  ALE_NONE = 0, ALE_FCURVE, ALE_GPFRAME, ALE_NLASTRIP,
  ALE_ALL, ALE_SCE, ALE_OB, ALE_ACT,
  ALE_GROUP
}
enum  eAnimFilter_Flags {
  ANIMFILTER_DATA_VISIBLE = (1<<0), ANIMFILTER_LIST_VISIBLE = (1<<1), ANIMFILTER_CURVE_VISIBLE = (1<<2), ANIMFILTER_LIST_CHANNELS = (1<<3),
  ANIMFILTER_ACTIVE = (1<<4), ANIMFILTER_ACTGROUPED = (1<<5), ANIMFILTER_SEL = (1<<6), ANIMFILTER_UNSEL = (1<<7),
  ANIMFILTER_FOREDIT = (1<<8), ANIMFILTER_SELEDIT = (1<<9), ANIMFILTER_ANIMDATA = (1<<10), ANIMFILTER_NODUPLIS = (1<<11),
  ANIMFILTER_TMP_PEEK = (1<<30)
}
enum  eAnimChannels_SetFlag { ACHANNEL_SETFLAG_CLEAR = 0, ACHANNEL_SETFLAG_ADD, ACHANNEL_SETFLAG_INVERT, ACHANNEL_SETFLAG_TOGGLE }
enum  eAnimChannel_Settings {
  ACHANNEL_SETTING_SELECT = 0, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_EXPAND,
  ACHANNEL_SETTING_VISIBLE, ACHANNEL_SETTING_SOLO
}
enum  { DRAWCFRA_PLAIN = 0, DRAWCFRA_SHOW_NUMBOX = (1<<0), DRAWCFRA_UNIT_SECONDS = (1<<1), DRAWCFRA_WIDE = (1<<2) }
enum  eAnimUnitConv_Flags { ANIM_UNITCONV_RESTORE = (1<<0), ANIM_UNITCONV_ONLYKEYS = (1<<1), ANIM_UNITCONV_ONLYSEL = (1<<2), ANIM_UNITCONV_SELVERTS = (1<<3) }

Functions

size_t ANIM_animdata_filter (bAnimContext *ac, ListBase *anim_data, int filter_mode, void *data, short datatype)
short ANIM_animdata_get_context (const struct bContext *C, bAnimContext *ac)
short ANIM_animdata_context_getdata (bAnimContext *ac)
bAnimChannelTypeANIM_channel_get_typeinfo (bAnimListElem *ale)
void ANIM_channel_debug_print_info (bAnimListElem *ale, short indent_level)
void ANIM_channel_draw (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
void ANIM_channel_draw_widgets (struct bContext *C, bAnimContext *ac, bAnimListElem *ale, struct uiBlock *block, float yminc, float ymaxc, size_t channel_index)
short ANIM_channel_setting_get (bAnimContext *ac, bAnimListElem *ale, int setting)
void ANIM_channel_setting_set (bAnimContext *ac, bAnimListElem *ale, int setting, short mode)
void ANIM_flush_setting_anim_channels (bAnimContext *ac, ListBase *anim_data, bAnimListElem *ale_setting, int setting, short on)
void ANIM_deselect_anim_channels (bAnimContext *ac, void *data, short datatype, short test, short sel)
void ANIM_set_active_channel (bAnimContext *ac, void *data, short datatype, int filter, void *channel_data, short channel_type)
void ANIM_fcurve_delete_from_animdata (bAnimContext *ac, struct AnimData *adt, struct FCurve *fcu)
void ANIM_timecode_string_from_frame (char *str, struct Scene *scene, int power, short timecodes, float cfra)
void ANIM_draw_cfra (const struct bContext *C, struct View2D *v2d, short flag)
void ANIM_draw_previewrange (const struct bContext *C, struct View2D *v2d)
void ANIM_uiTemplate_fmodifier_draw (struct uiLayout *layout, struct ID *id, ListBase *modifiers, struct FModifier *fcm)
void free_fmodifiers_copybuf (void)
short ANIM_fmodifiers_copy_to_buf (ListBase *modifiers, short active)
short ANIM_fmodifiers_paste_from_buf (ListBase *modifiers, short replace)
int getname_anim_fcurve (char *name, struct ID *id, struct FCurve *fcu)
void getcolor_fcurve_rainbow (int cur, int tot, float *out)
struct AnimDataANIM_nla_mapping_get (bAnimContext *ac, bAnimListElem *ale)
void ANIM_nla_mapping_apply_fcurve (struct AnimData *adt, struct FCurve *fcu, short restore, short only_keys)
void ED_nla_postop_refresh (bAnimContext *ac)
float ANIM_unit_mapping_get_factor (struct Scene *scene, struct ID *id, struct FCurve *fcu, short restore)
void ANIM_unit_mapping_apply_fcurve (struct Scene *scene, struct ID *id, struct FCurve *fcu, short flag)
void ANIM_id_update (struct Scene *scene, struct ID *id)
void ANIM_list_elem_update (struct Scene *scene, bAnimListElem *ale)
void ANIM_sync_animchannels_to_data (const struct bContext *C)
void ED_operatortypes_animchannels (void)
void ED_keymap_animchannels (struct wmKeyConfig *keyconf)
void ED_operatortypes_anim (void)
void ED_keymap_anim (struct wmKeyConfig *keyconf)
void ED_operatormacros_graph (void)
void ED_operatormacros_action (void)

Variables

enum { ... }  eAnimEditDraw_CurrentFrame

Detailed Description

Definition in file ED_anim_api.h.


Define Documentation

#define ACHANNEL_BUTTON_WIDTH   16

Definition at line 299 of file ED_anim_api.h.

Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().

#define ACHANNEL_FIRST   -16

Definition at line 289 of file ED_anim_api.h.

Referenced by draw_channel_names(), and graph_draw_channel_names().

#define ACHANNEL_HEIGHT   16
#define ACHANNEL_HEIGHT_HALF   8
#define ACHANNEL_NAMEWIDTH   200

Definition at line 296 of file ED_anim_api.h.

Referenced by animchannels_mouseclick_invoke(), and animchannels_rename_invoke().

#define ACHANNEL_SET_FLAG (   channel,
  smode,
  sflag 
)
Value:
{ \
        if (smode == ACHANNEL_SETFLAG_INVERT)   (channel)->flag ^= (sflag); \
        else if (smode == ACHANNEL_SETFLAG_ADD) (channel)->flag |= (sflag); \
        else                                    (channel)->flag &= ~(sflag); \
    }

Definition at line 562 of file ED_anim_api.h.

Referenced by ANIM_deselect_anim_channels(), ANIM_set_active_channel(), borderselect_anim_channels(), borderselect_nla_strips(), deselect_nla_strips(), mouse_nla_strips(), and nlaedit_select_leftright().

#define ACHANNEL_SET_FLAG_NEG (   channel,
  smode,
  sflag 
)
Value:
{ \
        if (smode == ACHANNEL_SETFLAG_INVERT)   (channel)->flag ^= (sflag); \
        else if (smode == ACHANNEL_SETFLAG_ADD) (channel)->flag &= ~(sflag); \
        else                                    (channel)->flag |= (sflag); \
    }

Definition at line 574 of file ED_anim_api.h.

#define ACHANNEL_SKIP   2

Definition at line 292 of file ED_anim_api.h.

#define ACHANNEL_STEP   (ACHANNEL_HEIGHT + ACHANNEL_SKIP)
#define BEZKEYTYPE (   bezt)    ((bezt)->hide)
#define EDITABLE_AGRP (   agrp)    ((agrp->flag & AGRP_PROTECTED)==0)

Definition at line 262 of file ED_anim_api.h.

Referenced by animfilter_act_group().

#define EDITABLE_FCU (   fcu)    ((fcu->flag & FCURVE_PROTECTED)==0)

Definition at line 268 of file ED_anim_api.h.

Referenced by animfilter_fcurve_next().

#define EDITABLE_GPL (   gpl)    ((gpl->flag & GP_LAYER_LOCKED)==0)

Definition at line 279 of file ED_anim_api.h.

Referenced by animdata_filter_gpencil_data().

#define EDITABLE_NLT (   nlt)    ((nlt->flag & NLATRACK_PROTECTED)==0)

Definition at line 284 of file ED_anim_api.h.

Referenced by draw_nla_channel_list_gl().

#define EDITABLE_SHAPEKEY (   kb)    ((kb->flag & KEYBLOCK_LOCKED)==0)

Definition at line 272 of file ED_anim_api.h.

Referenced by animdata_filter_shapekey().

#define EXPANDED_ACTC (   actc)    ((actc->flag & ACT_COLLAPSED)==0)

Definition at line 255 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obanim(), and animdata_filter_ds_scene().

#define EXPANDED_AGRP (   ac,
  agrp 
)
Value:
( ((!(ac) || ((ac)->spacetype != SPACE_IPO)) && (agrp->flag & AGRP_EXPANDED)) || \
      (( (ac) && ((ac)->spacetype == SPACE_IPO)) && (agrp->flag & AGRP_EXPANDED_G)) )

Definition at line 263 of file ED_anim_api.h.

Referenced by animfilter_act_group(), and rearrange_action_channels().

#define EXPANDED_DRVD (   adt)    ((adt->flag & ADT_DRIVERS_COLLAPSED)==0)
#define EXPANDED_GPD (   gpd)    (gpd->flag & GP_DATA_EXPAND)

Definition at line 277 of file ED_anim_api.h.

Referenced by animdata_filter_gpencil().

#define EXPANDED_OBJC (   ob)    ((ob->nlaflag & OB_ADS_COLLAPSED)==0)

Definition at line 236 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_ob().

#define EXPANDED_SCEC (   sce)    ((sce->flag & SCE_DS_COLLAPSED)==0)

Definition at line 231 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_scene().

#define FILTER_ARM_OBJD (   arm)    ((arm->flag & ARM_DS_EXPAND))

Definition at line 245 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obdata(), and make_new_animlistelem().

#define FILTER_CAM_OBJD (   ca)    ((ca->flag & CAM_DS_EXPAND))

Definition at line 241 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obdata(), and make_new_animlistelem().

#define FILTER_CUR_OBJD (   cu)    ((cu->flag & CU_DS_EXPAND))

Definition at line 242 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obdata(), and make_new_animlistelem().

#define FILTER_LAM_OBJD (   la)    ((la->flag & LA_DS_EXPAND))

Definition at line 240 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obdata(), and make_new_animlistelem().

#define FILTER_LATTICE_OBJD (   lt)    ((lt->flag & LT_DS_EXPAND))

Definition at line 247 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obdata(), and make_new_animlistelem().

#define FILTER_MAT_OBJD (   ma)    ((ma->flag & MA_DS_EXPAND))

Definition at line 239 of file ED_anim_api.h.

Referenced by animdata_filter_ds_materials(), and make_new_animlistelem().

#define FILTER_MBALL_OBJD (   mb)    ((mb->flag2 & MB_DS_EXPAND))

Definition at line 244 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obdata().

#define FILTER_MESH_OBJD (   me)    ((me->flag & ME_DS_EXPAND))

Definition at line 246 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obdata(), and make_new_animlistelem().

#define FILTER_NTREE_DATA (   ntree)    ((ntree->flag & NTREE_DS_EXPAND))

Definition at line 250 of file ED_anim_api.h.

Referenced by animdata_filter_ds_nodetree(), and make_new_animlistelem().

#define FILTER_PART_OBJD (   part)    ((part->flag & PART_DS_EXPAND))

Definition at line 243 of file ED_anim_api.h.

Referenced by animdata_filter_ds_particles(), and make_new_animlistelem().

#define FILTER_SKE_OBJD (   key)    ((key->flag & KEY_DS_EXPAND))

Definition at line 238 of file ED_anim_api.h.

Referenced by animdata_filter_ds_keyanim(), and make_new_animlistelem().

#define FILTER_SPK_OBJD (   spk)    ((spk->flag & SPK_DS_EXPAND))

Definition at line 248 of file ED_anim_api.h.

Referenced by animdata_filter_ds_obdata(), and make_new_animlistelem().

#define FILTER_TEX_DATA (   tex)    ((tex->flag & TEX_DS_EXPAND))

Definition at line 251 of file ED_anim_api.h.

Referenced by animdata_filter_ds_textures(), and make_new_animlistelem().

#define FILTER_WOR_SCED (   wo)    ((wo->flag & WO_DS_EXPAND))

Definition at line 233 of file ED_anim_api.h.

Referenced by animdata_filter_ds_world(), and make_new_animlistelem().

#define NLACHANNEL_BUTTON_WIDTH   16

Definition at line 316 of file ED_anim_api.h.

Referenced by mouse_nla_channels().

#define NLACHANNEL_FIRST   -16

Definition at line 306 of file ED_anim_api.h.

#define NLACHANNEL_HEIGHT (   snla)    ((snla && (snla->flag & SNLA_NOSTRIPCURVES)) ? 16 : 24)
#define NLACHANNEL_HEIGHT_HALF (   snla)    ((snla && (snla->flag & SNLA_NOSTRIPCURVES)) ? 8 : 12)
#define NLACHANNEL_NAMEWIDTH   200

Definition at line 313 of file ED_anim_api.h.

Referenced by animchannels_rename_invoke(), and nlachannels_mouseclick_invoke().

#define NLACHANNEL_SKIP   2

Definition at line 309 of file ED_anim_api.h.

Referenced by draw_nla_channel_list_gl(), and draw_nla_main_data().

#define NLACHANNEL_STEP (   snla)    (NLACHANNEL_HEIGHT(snla) + NLACHANNEL_SKIP)
#define SEL_ACTC (   actc)    ((actc->flag & ACT_SELECTED))

Definition at line 254 of file ED_anim_api.h.

#define SEL_AGRP (   agrp)    ((agrp->flag & AGRP_SELECTED) || (agrp->flag & AGRP_ACTIVE))

Definition at line 266 of file ED_anim_api.h.

Referenced by animfilter_act_group(), and rearrange_animchannel_add_to_islands().

#define SEL_FCU (   fcu)    (fcu->flag & FCURVE_SELECTED)

Definition at line 269 of file ED_anim_api.h.

Referenced by animfilter_fcurve_next(), and rearrange_animchannel_add_to_islands().

#define SEL_GPL (   gpl)    (gpl->flag & GP_LAYER_SELECT)

Definition at line 280 of file ED_anim_api.h.

Referenced by animdata_filter_gpencil_data().

#define SEL_NLT (   nlt)    (nlt->flag & NLATRACK_SELECTED)
#define SEL_OBJC (   base)    ((base->flag & SELECT))

Definition at line 235 of file ED_anim_api.h.

#define SEL_SCEC (   sce)    ((sce->flag & SCE_DS_SELECTED))

Definition at line 230 of file ED_anim_api.h.

#define SEL_SHAPEKEY (   kb)    (kb->flag & KEYBLOCK_SEL)

Definition at line 273 of file ED_anim_api.h.

Referenced by animdata_filter_shapekey().


Typedef Documentation

typedef struct bAnimContext bAnimContext
typedef struct bAnimListElem bAnimListElem

Enumeration Type Documentation

anonymous enum
Enumerator:
DRAWCFRA_PLAIN 
DRAWCFRA_SHOW_NUMBOX 
DRAWCFRA_UNIT_SECONDS 
DRAWCFRA_WIDE 

Definition at line 458 of file ED_anim_api.h.

Enumerator:
ANIMTYPE_NONE 
ANIMTYPE_ANIMDATA 
ANIMTYPE_SPECIALDATA 
ANIMTYPE_SUMMARY 
ANIMTYPE_SCENE 
ANIMTYPE_OBJECT 
ANIMTYPE_GROUP 
ANIMTYPE_FCURVE 
ANIMTYPE_FILLACTD 
ANIMTYPE_FILLDRIVERS 
ANIMTYPE_DSMAT 
ANIMTYPE_DSLAM 
ANIMTYPE_DSCAM 
ANIMTYPE_DSCUR 
ANIMTYPE_DSSKEY 
ANIMTYPE_DSWOR 
ANIMTYPE_DSNTREE 
ANIMTYPE_DSPART 
ANIMTYPE_DSMBALL 
ANIMTYPE_DSARM 
ANIMTYPE_DSMESH 
ANIMTYPE_DSTEX 
ANIMTYPE_DSLAT 
ANIMTYPE_DSSPK 
ANIMTYPE_SHAPEKEY 
ANIMTYPE_GPDATABLOCK 
ANIMTYPE_GPLAYER 
ANIMTYPE_NLATRACK 
ANIMTYPE_NLAACTION 
ANIMTYPE_NUM_TYPES 

Definition at line 129 of file ED_anim_api.h.

Enumerator:
ALE_NONE 
ALE_FCURVE 
ALE_GPFRAME 
ALE_NLASTRIP 
ALE_ALL 
ALE_SCE 
ALE_OB 
ALE_ACT 
ALE_GROUP 

Definition at line 172 of file ED_anim_api.h.

Enumerator:
ACHANNEL_SETTING_SELECT 
ACHANNEL_SETTING_PROTECT 
ACHANNEL_SETTING_MUTE 
ACHANNEL_SETTING_EXPAND 
ACHANNEL_SETTING_VISIBLE 
ACHANNEL_SETTING_SOLO 

Definition at line 351 of file ED_anim_api.h.

Enumerator:
ACHANNEL_SETFLAG_CLEAR 
ACHANNEL_SETFLAG_ADD 
ACHANNEL_SETFLAG_INVERT 
ACHANNEL_SETFLAG_TOGGLE 

Definition at line 343 of file ED_anim_api.h.

Enumerator:
ANIMCONT_NONE 
ANIMCONT_ACTION 
ANIMCONT_SHAPEKEY 
ANIMCONT_GPENCIL 
ANIMCONT_DOPESHEET 
ANIMCONT_FCURVES 
ANIMCONT_DRIVERS 
ANIMCONT_NLA 
ANIMCONT_CHANNEL 

Definition at line 91 of file ED_anim_api.h.

Enumerator:
ANIMFILTER_DATA_VISIBLE 
ANIMFILTER_LIST_VISIBLE 
ANIMFILTER_CURVE_VISIBLE 
ANIMFILTER_LIST_CHANNELS 
ANIMFILTER_ACTIVE 
ANIMFILTER_ACTGROUPED 
ANIMFILTER_SEL 
ANIMFILTER_UNSEL 
ANIMFILTER_FOREDIT 
ANIMFILTER_SELEDIT 
ANIMFILTER_ANIMDATA 
ANIMFILTER_NODUPLIS 
ANIMFILTER_TMP_PEEK 

Definition at line 188 of file ED_anim_api.h.

Enumerator:
ANIM_UNITCONV_RESTORE 
ANIM_UNITCONV_ONLYKEYS 
ANIM_UNITCONV_ONLYSEL 
ANIM_UNITCONV_SELVERTS 

Definition at line 533 of file ED_anim_api.h.


Function Documentation

short ANIM_animdata_context_getdata ( bAnimContext ac)
size_t ANIM_animdata_filter ( bAnimContext ac,
ListBase anim_data,
int  filter_mode,
void *  data,
short  datatype 
)

Definition at line 2206 of file anim_filter.c.

References bAnimContext::ads, SpaceAction::ads, ANIMCONT_ACTION, ANIMCONT_CHANNEL, ANIMCONT_DOPESHEET, ANIMCONT_DRIVERS, ANIMCONT_FCURVES, ANIMCONT_GPENCIL, ANIMCONT_NLA, ANIMCONT_SHAPEKEY, animdata_filter_animchan(), animdata_filter_dopesheet(), animdata_filter_dopesheet_summary(), animdata_filter_gpencil(), animdata_filter_remove_duplis(), animdata_filter_remove_invalid(), animdata_filter_shapekey(), animfilter_action(), ANIMFILTER_NODUPLIS, NULL, bAnimContext::obact, and bAnimContext::sl.

Referenced by achannel_setting_flush_widget_cb(), actkeys_framejump_exec(), actkeys_mselect_column(), actkeys_select_leftright(), actkeys_select_linked_exec(), ANIM_deselect_anim_channels(), ANIM_editkeyframes_refresh(), ANIM_set_active_channel(), ANIM_sync_animchannels_to_data(), animchannels_delete_exec(), animchannels_enable_exec(), animchannels_rearrange_exec(), animchannels_visibility_set_exec(), animchannels_visibility_toggle_exec(), bake_graph_curves(), borderselect_action(), borderselect_anim_channels(), borderselect_graphkeys(), borderselect_nla_strips(), clean_action_keys(), clean_graph_keys(), columnselect_action_keys(), columnselect_graph_keys(), copy_action_keys(), copy_graph_keys(), createTransActionData(), createTransNlaData(), delete_action_keys(), delete_graph_keys(), deselect_action_keys(), deselect_nla_strips(), draw_channel_names(), draw_channel_strips(), draw_nla_channel_list(), draw_nla_main_data(), duplicate_action_keys(), duplicate_graph_keys(), ED_nla_postop_refresh(), get_active_fcurve_channel(), get_graph_keyframe_extents(), get_keyframe_extents(), get_nearest_fcurve_verts_list(), get_nlastrip_extents(), graph_draw_channel_names(), graph_draw_curves(), graph_fmodifier_add_exec(), graph_fmodifier_paste_exec(), graph_refresh(), graphkeys_euler_filter_exec(), graphkeys_framejump_exec(), graphkeys_mselect_column(), graphkeys_select_leftright(), graphkeys_select_linked_exec(), graphkeys_smooth_exec(), graphop_editable_keyframes_poll(), graphop_selected_fcurve_poll(), graphop_visible_keyframes_poll(), insert_action_keys(), insert_graph_keys(), markers_selectkeys_between(), mirror_action_keys(), mirror_graph_keys(), mouse_action_keys(), mouse_anim_channels(), mouse_nla_channels(), mouse_nla_strips(), nla_fmodifier_add_exec(), nla_fmodifier_copy_exec(), nla_fmodifier_paste_exec(), nla_panel_context(), nlaedit_add_actionclip_exec(), nlaedit_add_meta_exec(), nlaedit_add_sound_exec(), nlaedit_add_tracks_exec(), nlaedit_add_transition_exec(), nlaedit_apply_scale_exec(), nlaedit_bake_exec(), nlaedit_clear_scale_exec(), nlaedit_delete_exec(), nlaedit_delete_tracks_exec(), nlaedit_disable_tweakmode_exec(), nlaedit_duplicate_exec(), nlaedit_enable_tweakmode_exec(), nlaedit_move_down_exec(), nlaedit_move_up_exec(), nlaedit_remove_meta_exec(), nlaedit_select_leftright(), nlaedit_snap_exec(), nlaedit_split_exec(), nlaedit_swap_exec(), nlaedit_sync_actlen_exec(), nlaedit_toggle_mute_exec(), ob_keyframes_loop(), ob_to_keylist(), paste_action_keys(), paste_graph_keys(), posttrans_action_clean(), rename_anim_channels(), sample_action_keys(), sample_graph_keys(), scene_keyframes_loop(), scene_to_keylist(), select_moreless_action_keys(), select_moreless_graph_keys(), setexpo_action_keys(), setexpo_graph_keys(), setflag_anim_channels(), sethandles_action_keys(), sethandles_graph_keys(), setipo_action_keys(), setipo_graph_keys(), setkeytype_action_keys(), snap_action_keys(), snap_graph_keys(), special_aftertrans_update(), summary_keyframes_loop(), and summary_to_keylist().

short ANIM_animdata_get_context ( const struct bContext C,
bAnimContext ac 
)
void ANIM_channel_debug_print_info ( bAnimListElem ale,
short  indent_level 
)
void ANIM_channel_draw ( bAnimContext ac,
bAnimListElem ale,
float  yminc,
float  ymaxc 
)
void ANIM_channel_draw_widgets ( struct bContext C,
bAnimContext ac,
bAnimListElem ale,
struct uiBlock block,
float  yminc,
float  ymaxc,
size_t  channel_index 
)
bAnimChannelType* ANIM_channel_get_typeinfo ( bAnimListElem ale)
short ANIM_channel_setting_get ( bAnimContext ac,
bAnimListElem ale,
int  setting 
)
void ANIM_channel_setting_set ( bAnimContext ac,
bAnimListElem ale,
int  setting,
short  mode 
)
void ANIM_deselect_anim_channels ( bAnimContext ac,
void *  data,
short  datatype,
short  test,
short  sel 
)
void ANIM_draw_cfra ( const struct bContext C,
struct View2D v2d,
short  flag 
)
void ANIM_draw_previewrange ( const struct bContext C,
struct View2D v2d 
)
void ANIM_fcurve_delete_from_animdata ( bAnimContext ac,
struct AnimData adt,
struct FCurve fcu 
)
void ANIM_flush_setting_anim_channels ( bAnimContext ac,
ListBase anim_data,
bAnimListElem ale_setting,
int  setting,
short  on 
)
short ANIM_fmodifiers_copy_to_buf ( ListBase modifiers,
short  active 
)
short ANIM_fmodifiers_paste_from_buf ( ListBase modifiers,
short  replace 
)
void ANIM_id_update ( struct Scene scene,
struct ID id 
)
void ANIM_list_elem_update ( struct Scene scene,
bAnimListElem ale 
)
void ANIM_nla_mapping_apply_fcurve ( struct AnimData adt,
struct FCurve fcu,
short  restore,
short  only_keys 
)
struct AnimData* ANIM_nla_mapping_get ( bAnimContext ac,
bAnimListElem ale 
) [read]
void ANIM_set_active_channel ( bAnimContext ac,
void *  data,
short  datatype,
int  filter,
void *  channel_data,
short  channel_type 
)
void ANIM_sync_animchannels_to_data ( const struct bContext C)
void ANIM_timecode_string_from_frame ( char *  str,
struct Scene scene,
int  power,
short  timecodes,
float  cfra 
)
void ANIM_uiTemplate_fmodifier_draw ( struct uiLayout layout,
struct ID id,
ListBase modifiers,
struct FModifier fcm 
)
void ANIM_unit_mapping_apply_fcurve ( struct Scene scene,
struct ID id,
struct FCurve fcu,
short  flag 
)
float ANIM_unit_mapping_get_factor ( struct Scene scene,
struct ID id,
struct FCurve fcu,
short  restore 
)
void ED_keymap_anim ( struct wmKeyConfig keyconf)
void ED_keymap_animchannels ( struct wmKeyConfig keyconf)
void ED_nla_postop_refresh ( bAnimContext ac)
void ED_operatormacros_action ( void  )
void ED_operatormacros_graph ( void  )
void ED_operatortypes_anim ( void  )
void ED_operatortypes_animchannels ( void  )
void free_fmodifiers_copybuf ( void  )

Definition at line 745 of file fmodifier_ui.c.

void getcolor_fcurve_rainbow ( int  cur,
int  tot,
float *  out 
)

Definition at line 194 of file anim_ipo_utils.c.

References HSV_BANDWIDTH, hsv_to_rgb(), and simple_enum_gen::val.

Referenced by graph_refresh().

int getname_anim_fcurve ( char *  name,
struct ID id,
struct FCurve fcu 
)

Variable Documentation