456 FCurveSegment *segment,
469 float sampling_frequency,
470 ButterworthCoefficients *bw_coeff);
476 FCurveSegment *segment,
482 ButterworthCoefficients *bw_coeff);
484 FCurveSegment *segment,
485 const float *original_values,
487 const int sample_count,
490 const double *kernel);
502 FCurveSegment *segment,
515bool decimate_fcurve(bAnimListElem *ale,
float remove_ratio,
float error_sq_max);
560 ListBaseT<bAnimListElem> *anim_data,
#define ENUM_OPERATORS(_enum_type)
These structs are the foundation for all linked lists in the library system.
ButterworthCoefficients * ED_anim_allocate_butterworth_coefficients(const int filter_order)
void ease_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor, const float width)
@ KEYFRAME_PASTE_NOTHING_TO_PASTE
@ KEYFRAME_PASTE_NOWHERE_TO_PASTE
void ANIM_fcurves_copybuf_reset()
KeyframeEditFunc ANIM_editkeyframes_ok(short mode)
void ANIM_fcurves_copybuf_free()
void scale_from_fcurve_segment_neighbor(FCurve *fcu, FCurveSegment *segment, const float factor, const FCurveSegmentAnchor anchor)
KeyframeEditFunc ANIM_editkeyframes_ipo(short mode)
short bezt_to_cfraelem(KeyframeEditData *ked, BezTriple *bezt)
KeyframeEditFunc ANIM_editkeyframes_handles(short mode)
void ED_anim_calculate_butterworth_coefficients(const float cutoff_frequency, const float sampling_frequency, ButterworthCoefficients *bw_coeff)
void smooth_fcurve(FCurve *fcu)
void clean_fcurve(bAnimListElem *ale, float thresh, bool cleardefault, const bool only_selected_keys)
void butterworth_smooth_fcurve_segment(FCurve *fcu, FCurveSegment *segment, float *samples, const int sample_count, const float factor, const int blend_in_out, const int sample_rate, ButterworthCoefficients *bw_coeff)
void blend_offset_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor)
bool duplicate_fcurve_keys(FCurve *fcu)
@ KEYFRAME_PASTE_MERGE_OVER
@ KEYFRAME_PASTE_MERGE_MIX
@ KEYFRAME_PASTE_MERGE_OVER_RANGE_ALL
@ KEYFRAME_PASTE_MERGE_OVER_RANGE
@ KEYFRAME_PASTE_OFFSET_NONE
@ KEYFRAME_PASTE_OFFSET_CFRA_START
@ KEYFRAME_PASTE_OFFSET_CFRA_RELATIVE
@ KEYFRAME_PASTE_OFFSET_CFRA_END
short ANIM_fcurve_keyframes_loop(KeyframeEditData *ked, FCurve *fcu, KeyframeEditFunc key_ok, KeyframeEditFunc key_cb, FcuEditFunc fcu_cb)
void time_offset_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float frame_offset)
void push_pull_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor)
ListBaseT< FCurveSegment > find_fcurve_segments(FCurve *fcu)
bool keyframe_region_lasso_test(const KeyframeEdit_LassoData *data_lasso, const float xy[2])
bool copy_animedit_keys(bAnimContext *ac, ListBaseT< bAnimListElem > *anim_data)
void blend_to_neighbor_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor)
void ANIM_fcurve_equalize_keyframes_loop(FCurve *fcu, const eEditKeyframes_Equalize mode, const float handle_length, const bool flatten)
void bezt_remap_times(KeyframeEditData *ked, BezTriple *bezt)
void breakdown_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor)
void scale_average_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor)
void ANIM_editkeyframes_refresh(bAnimContext *ac)
KeyframeEditFunc ANIM_editkeyframes_select(const eEditKeyframes_Select selectmode)
bool match_slope_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor)
KeyframeEditFunc ANIM_editkeyframes_buildselmap(short mode)
short(*)(KeyframeEditData *ked, BezTriple *bezt) KeyframeEditFunc
@ KEYFRAME_PASTE_VALUE_OFFSET_NONE
@ KEYFRAME_PASTE_VALUE_OFFSET_LEFT_KEY
@ KEYFRAME_PASTE_VALUE_OFFSET_CURSOR
@ KEYFRAME_PASTE_VALUE_OFFSET_RIGHT_KEY
@ KEYFRAME_PASTE_VALUE_OFFSET_CFRA
void(*)(FCurve &fcu) FcuEditFunc
void blend_to_default_fcurve(PointerRNA *id_ptr, FCurve *fcu, const float factor)
void smooth_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float *original_values, float *samples, const int sample_count, const float factor, const int kernel_size, const double *kernel)
void shear_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor, tShearDirection direction)
void ED_anim_free_butterworth_coefficients(ButterworthCoefficients *bw_coeff)
bool keyframe_region_circle_test(const KeyframeEdit_CircleData *data_circle, const float xy[2])
float get_default_rna_value(const FCurve *fcu, PropertyRNA *prop, PointerRNA *ptr)
void ED_ANIM_get_1d_gauss_kernel(const float sigma, const int kernel_size, double *r_kernel)
KeyframeEditFunc ANIM_editkeyframes_snap(short mode)
KeyframeEditFunc ANIM_editkeyframes_keytype(const eBezTriple_KeyframeType keyframe_type)
eKeyPasteError paste_animedit_keys(bAnimContext *ac, ListBaseT< bAnimListElem > *anim_data, const KeyframePasteContext &paste_context)
short bezt_selmap_flush(KeyframeEditData *ked, BezTriple *bezt)
KeyframeEditFunc ANIM_editkeyframes_easing(short mode)
short bezt_calc_average(KeyframeEditData *ked, BezTriple *bezt)
void ANIM_animdata_keyframe_callback(bAnimContext *ac, eAnimFilter_Flags filter, KeyframeEditFunc callback_fn)
@ KEYFRAME_ITER_HANDLES_INVISIBLE
@ KEYFRAME_ITER_INCL_HANDLES
@ KEYFRAME_ITER_HANDLES_DEFAULT_INVISIBLE
bool decimate_fcurve(bAnimListElem *ale, float remove_ratio, float error_sq_max)
short ANIM_animchannel_keyframes_loop(KeyframeEditData *ked, bDopeSheet *ads, bAnimListElem *ale, KeyframeEditFunc key_ok, KeyframeEditFunc key_cb, FcuEditFunc fcu_cb)
void blend_to_ease_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float factor)
KeyframeEditFunc ANIM_editkeyframes_mirror(short mode)
ListBaseT< TimeMarker > time_marker_list
ListBaseT< CfraElem > cfra_elem_list
eKeyframeIterFlags iterflags
eKeyPasteOffset offset_mode
eKeyPasteValueOffset value_offset_mode