Blender  V2.59
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 FILTER_NTREE_SCED(ntree)   ((ntree->flag & NTREE_DS_EXPAND))
#define SEL_OBJC(base)   ((base->flag & SELECT))
#define EXPANDED_OBJC(ob)   ((ob->nlaflag & OB_ADS_COLLAPSED)==0)
#define FILTER_MAT_OBJC(ob)   ((ob->nlaflag & OB_ADS_SHOWMATS))
#define FILTER_PART_OBJC(ob)   ((ob->nlaflag & OB_ADS_SHOWPARTS))
#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 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 FILTER_TEX_MATC(ma)   ((ma->flag & MA_DS_SHOW_TEXS))
#define FILTER_TEX_LAMC(la)   ((la->flag & LA_DS_SHOW_TEXS))
#define FILTER_TEX_WORC(wa)   ((wo->flag & WO_DS_SHOW_TEXS))
#define FILTER_TEX_DATA(tex)   ((tex->flag & TEX_DS_EXPAND))
#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_ACTIVE|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_ACTIVE) || (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   24
#define NLACHANNEL_HEIGHT_HALF   12
#define NLACHANNEL_SKIP   2
#define NLACHANNEL_STEP   (NLACHANNEL_HEIGHT + 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
}
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_FILLMATD, ANIMTYPE_FILLPARTD,
  ANIMTYPE_FILLTEXD, 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_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_VISIBLE = (1<<0), ANIMFILTER_SEL = (1<<1), ANIMFILTER_UNSEL = (1<<2), ANIMFILTER_FOREDIT = (1<<3),
  ANIMFILTER_CURVESONLY = (1<<4), ANIMFILTER_CHANNELS = (1<<5), ANIMFILTER_ACTGROUPED = (1<<6), ANIMFILTER_CURVEVISIBLE = (1<<7),
  ANIMFILTER_ACTIVE = (1<<8), ANIMFILTER_ANIMDATA = (1<<9), ANIMFILTER_NLATRACKS = (1<<10), ANIMFILTER_SELEDIT = (1<<11),
  ANIMFILTER_NODUPLIS = (1<<12), ANIMFILTER_ALLFILTERS = ((1<<12) - 1)
}
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_SHOW_TIMEOFS = (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

int 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 (bAnimContext *ac, bAnimListElem *ale, struct uiBlock *block, float yminc, float ymaxc)
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 290 of file ED_anim_api.h.

Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().

#define ACHANNEL_FIRST   -16

Definition at line 280 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 287 of file ED_anim_api.h.

Referenced by animchannels_mouseclick_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 550 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 562 of file ED_anim_api.h.

#define ACHANNEL_SKIP   2

Definition at line 283 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 253 of file ED_anim_api.h.

Referenced by animdata_filter_action().

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

Definition at line 259 of file ED_anim_api.h.

Referenced by animdata_filter_fcurve_next().

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

Definition at line 270 of file ED_anim_api.h.

Referenced by animdata_filter_gpencil().

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

Definition at line 275 of file ED_anim_api.h.

Referenced by animdata_filter_nla(), and draw_nla_channel_list_gl().

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

Definition at line 263 of file ED_anim_api.h.

Referenced by animdata_filter_shapekey().

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

Definition at line 242 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_ob(), and animdata_filter_dopesheet_scene().

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

Definition at line 254 of file ED_anim_api.h.

Referenced by animdata_filter_action(), 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 268 of file ED_anim_api.h.

Referenced by animdata_filter_gpencil().

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

Definition at line 224 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 218 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 236 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_obdata(), and make_new_animlistelem().

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

Definition at line 232 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_obdata(), and make_new_animlistelem().

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

Definition at line 233 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_obdata(), and make_new_animlistelem().

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

Definition at line 231 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_obdata(), and make_new_animlistelem().

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

Definition at line 238 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_obdata(), and make_new_animlistelem().

#define FILTER_MAT_OBJC (   ob)    ((ob->nlaflag & OB_ADS_SHOWMATS))

Definition at line 226 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_mats(), and make_new_animlistelem().

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

Definition at line 230 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_mats(), and make_new_animlistelem().

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

Definition at line 235 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_obdata().

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

Definition at line 237 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_obdata(), and make_new_animlistelem().

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

Definition at line 221 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_scene(), and make_new_animlistelem().

#define FILTER_PART_OBJC (   ob)    ((ob->nlaflag & OB_ADS_SHOWPARTS))

Definition at line 227 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_particles(), and make_new_animlistelem().

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

Definition at line 234 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_particles(), and make_new_animlistelem().

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

Definition at line 229 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_ob(), and make_new_animlistelem().

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

Definition at line 249 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_texs(), and make_new_animlistelem().

#define FILTER_TEX_LAMC (   la)    ((la->flag & LA_DS_SHOW_TEXS))

Definition at line 247 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_texs(), and make_new_animlistelem().

#define FILTER_TEX_MATC (   ma)    ((ma->flag & MA_DS_SHOW_TEXS))

Definition at line 246 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_texs(), and make_new_animlistelem().

#define FILTER_TEX_WORC (   wa)    ((wo->flag & WO_DS_SHOW_TEXS))

Definition at line 248 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_texs(), and make_new_animlistelem().

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

Definition at line 220 of file ED_anim_api.h.

Referenced by animdata_filter_dopesheet_scene(), and make_new_animlistelem().

#define NLACHANNEL_BUTTON_WIDTH   16

Definition at line 306 of file ED_anim_api.h.

Referenced by mouse_nla_channels().

#define NLACHANNEL_FIRST   -16

Definition at line 296 of file ED_anim_api.h.

#define NLACHANNEL_HEIGHT   24
#define NLACHANNEL_HEIGHT_HALF   12
#define NLACHANNEL_NAMEWIDTH   200

Definition at line 303 of file ED_anim_api.h.

Referenced by nlachannels_mouseclick_invoke().

#define NLACHANNEL_SKIP   2

Definition at line 299 of file ED_anim_api.h.

Referenced by draw_nla_channel_list_gl(), and draw_nla_main_data().

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

Definition at line 241 of file ED_anim_api.h.

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

Definition at line 257 of file ED_anim_api.h.

Referenced by animdata_filter_action(), and rearrange_animchannel_add_to_islands().

#define SEL_FCU (   fcu)    (fcu->flag & (FCURVE_ACTIVE|FCURVE_SELECTED))
#define SEL_GPL (   gpl)    ((gpl->flag & GP_LAYER_ACTIVE) || (gpl->flag & GP_LAYER_SELECT))

Definition at line 271 of file ED_anim_api.h.

Referenced by animdata_filter_gpencil().

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

Definition at line 223 of file ED_anim_api.h.

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

Definition at line 217 of file ED_anim_api.h.

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

Definition at line 264 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_SHOW_TIMEOFS 

Definition at line 446 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_FILLMATD 
ANIMTYPE_FILLPARTD 
ANIMTYPE_FILLTEXD 
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_SHAPEKEY 
ANIMTYPE_GPDATABLOCK 
ANIMTYPE_GPLAYER 
ANIMTYPE_NLATRACK 
ANIMTYPE_NLAACTION 
ANIMTYPE_NUM_TYPES 

Definition at line 130 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 175 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 341 of file ED_anim_api.h.

Enumerator:
ACHANNEL_SETFLAG_CLEAR 
ACHANNEL_SETFLAG_ADD 
ACHANNEL_SETFLAG_INVERT 
ACHANNEL_SETFLAG_TOGGLE 

Definition at line 333 of file ED_anim_api.h.

Enumerator:
ANIMCONT_NONE 
ANIMCONT_ACTION 
ANIMCONT_SHAPEKEY 
ANIMCONT_GPENCIL 
ANIMCONT_DOPESHEET 
ANIMCONT_FCURVES 
ANIMCONT_DRIVERS 
ANIMCONT_NLA 

Definition at line 87 of file ED_anim_api.h.

Enumerator:
ANIMFILTER_VISIBLE 
ANIMFILTER_SEL 
ANIMFILTER_UNSEL 
ANIMFILTER_FOREDIT 
ANIMFILTER_CURVESONLY 
ANIMFILTER_CHANNELS 
ANIMFILTER_ACTGROUPED 
ANIMFILTER_CURVEVISIBLE 
ANIMFILTER_ACTIVE 
ANIMFILTER_ANIMDATA 
ANIMFILTER_NLATRACKS 
ANIMFILTER_SELEDIT 
ANIMFILTER_NODUPLIS 
ANIMFILTER_ALLFILTERS 

Definition at line 192 of file ED_anim_api.h.

Enumerator:
ANIM_UNITCONV_RESTORE 
ANIM_UNITCONV_ONLYKEYS 
ANIM_UNITCONV_ONLYSEL 
ANIM_UNITCONV_SELVERTS 

Definition at line 521 of file ED_anim_api.h.


Function Documentation

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

Definition at line 2599 of file anim_filter.c.

References SpaceAction::ads, ANIMCONT_ACTION, ANIMCONT_DOPESHEET, ANIMCONT_DRIVERS, ANIMCONT_FCURVES, ANIMCONT_GPENCIL, ANIMCONT_NLA, ANIMCONT_SHAPEKEY, animdata_filter_action(), animdata_filter_dopesheet(), animdata_filter_dopesheet_summary(), animdata_filter_gpencil(), animdata_filter_remove_duplis(), animdata_filter_remove_invalid(), animdata_filter_shapekey(), ANIMFILTER_NODUPLIS, ANIMTYPE_NONE, ListBase::first, NULL, bAnimContext::obact, bAnimContext::sa, and ScrArea::spacedata.

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(), 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_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(), paste_action_keys(), paste_graph_keys(), posttrans_action_clean(), recalcData(), sample_action_keys(), sample_graph_keys(), 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 ( bAnimContext ac,
bAnimListElem ale,
struct uiBlock block,
float  yminc,
float  ymaxc 
)
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 709 of file fmodifier_ui.c.

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

Definition at line 184 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