26struct FCurvePathCache;
147FModifier *
add_fmodifier(ListBaseT<FModifier> *modifiers,
int type, FCurve *owner_fcu);
155void copy_fmodifiers(ListBaseT<FModifier> *dst,
const ListBaseT<FModifier> *src);
203 const ListBaseT<FModifier> *modifiers,
212 const ListBaseT<FModifier> *modifiers,
232#define BEZT_BINARYSEARCH_THRESH 0.01f
280FCurve *
BKE_fcurve_find(ListBaseT<FCurve> *list,
const char rna_path[],
int array_index);
303 ID *
id,
void *
data, StructRNA *type,
const char *prop_name,
int index,
bool *r_driven);
324 const char *rna_path,
347 const PointerRNA *ptr,
350 AnimData **r_animdata,
382 bool selected_keys_only,
383 bool include_handles,
384 const float frame_range[2],
497 const BezTriple *a,
int size_a,
const BezTriple *
b,
int size_b,
int *r_merged_size);
631 ChannelDriver *driver_orig,
632 const AnimationEvalContext *anim_eval_context);
643 const AnimationEvalContext *anim_eval_context);
682 ListBaseT<FModifier> *fmodifiers,
These structs are the foundation for all linked lists in the library system.
#define storage(slot, qualifiers)
bool BKE_fcurve_calc_range(const FCurve *fcu, float *r_min, float *r_max, bool selected_keys_only)
void BKE_fcurve_keyframe_move_value_with_handles(BezTriple *keyframe, float new_value)
@ FMI_TYPE_GENERATE_CURVE
@ FMI_TYPE_REPLACE_VALUES
bool BKE_fcurve_delete_keys_selected(FCurve &fcu)
void testhandles_fcurve(FCurve *fcu, eBezTriple_Flag sel_flag, bool use_handle)
BezTriple * BKE_bezier_array_merge(const BezTriple *a, int size_a, const BezTriple *b, int size_b, int *r_merged_size)
float(*) FcuSampleFunc(FCurve *fcu, void *data, float evaltime)
float calculate_fcurve(PathResolvedRNA *anim_rna, FCurve *fcu, const AnimationEvalContext *anim_eval_context)
FCurve * BKE_fcurve_iter_step(FCurve *fcu_iter, const char rna_path[])
bool BKE_fcurve_is_keyframable(const FCurve &fcu)
void BKE_fcurves_free(ListBaseT< FCurve > *list)
uint evaluate_fmodifiers_storage_size_per_modifier(const ListBaseT< FModifier > *modifiers)
void BKE_fcurve_delete_keys(FCurve &fcu, uint2 index_range)
void BKE_fcurve_update_handle_flag_from_opposite(BezTriple &key, HandleSide source_side)
void BKE_fmodifier_ensure_flag(ListBaseT< FModifier > *modifiers)
void BKE_fmodifier_name_set(FModifier *fcm, const char *name)
void copy_fmodifiers(ListBaseT< FModifier > *dst, const ListBaseT< FModifier > *src)
bool BKE_fcurve_bezt_subdivide_handles(BezTriple *bezt, BezTriple *prev, BezTriple *next, float *r_pdelta)
void BKE_fcurve_delete_key(FCurve *fcu, int index)
FCurve * BKE_fcurve_find_by_rna(PointerRNA *ptr, PropertyRNA *prop, int rnaindex, AnimData **r_adt, bAction **r_action, bool *r_driven, bool *r_special)
void BKE_fcurve_handles_recalc_ex(FCurve &fcu, eBezTriple_Flag handle_sel_flag)
void BKE_fcurve_blend_read_data_listbase(BlendDataReader *reader, ListBaseT< FCurve > *fcurves)
void BKE_fcurve_foreach_id(FCurve *fcu, LibraryForeachIDData *data)
const FModifierTypeInfo * fmodifier_get_typeinfo(const FModifier *fcm)
FModifier * add_fmodifier(ListBaseT< FModifier > *modifiers, int type, FCurve *owner_fcu)
float evaluate_fcurve_unmodified(const FCurve *fcu, float evaltime)
void BKE_fcurve_blend_write_data(BlendWriter *writer, FCurve *fcu)
void BKE_fcurve_blend_read_data(BlendDataReader *reader, FCurve *fcu)
void BKE_fcurve_blend_write_listbase(BlendWriter *writer, ListBaseT< FCurve > *fcurves)
bool list_has_suitable_fmodifier(const ListBaseT< FModifier > *modifiers, int mtype, short acttype)
bool remove_fmodifier(ListBaseT< FModifier > *modifiers, FModifier *fcm)
void BKE_fmodifiers_blend_write(BlendWriter *writer, ListBaseT< FModifier > *fmodifiers)
void BKE_fcurve_merge_duplicate_keys(FCurve *fcu, const int sel_flag, const bool use_handle)
void BKE_fcurve_keyframe_move_time_with_handles(BezTriple *keyframe, const float new_time)
bool BKE_fcurve_is_protected(const FCurve &fcu)
void BKE_fcurves_copy(ListBaseT< FCurve > *dst, ListBaseT< FCurve > *src)
void evaluate_value_fmodifiers(FModifiersStackStorage *storage, const ListBaseT< FModifier > *modifiers, const FCurve *fcu, float *cvalue, float evaltime)
void BKE_fcurve_handles_recalc(FCurve &fcu)
bool BKE_fcurve_calc_bounds(const FCurve *fcu, bool selected_keys_only, bool include_handles, const float frame_range[2], rctf *r_bounds)
BMesh const char void * data
void BKE_fcurve_deselect_all_keys(FCurve &fcu)
FCurve * BKE_animadata_fcurve_find_by_rna_path(AnimData *animdata, const char *rna_path, const int rna_index, bAction **r_action, bool *r_driven)
FCurve * BKE_fcurve_copy(const FCurve *fcu)
FModifier * find_active_fmodifier(ListBaseT< FModifier > *modifiers)
eFCU_Cycle_Type BKE_fcurve_get_cycle_type(const FCurve &fcu)
float evaluate_fcurve_driver(PathResolvedRNA *anim_rna, FCurve *fcu, ChannelDriver *driver_orig, const AnimationEvalContext *anim_eval_context)
void free_fmodifiers(ListBaseT< FModifier > *modifiers)
bool BKE_fcurve_is_cyclic(const FCurve &fcu)
void BKE_fcurve_free(FCurve *fcu)
void BKE_fcurve_correct_bezpart(const float v1[2], float v2[2], float v3[2], const float v4[2])
Array< float > BKE_fcurves_calc_keyed_frames_ex(Span< FCurve * > fcurve_array, float interval)
float evaluate_fcurve_only_curve(const FCurve *fcu, float evaltime)
void BKE_fcurve_active_keyframe_set(FCurve *fcu, const BezTriple *active_bezt)
int BKE_fcurve_active_keyframe_index(const FCurve *fcu)
ATTR_WARN_UNUSED_RESULT const BMVert * v2
void fcurve_bake_modifiers(FCurve *fcu, int start, int end)
FModifier * copy_fmodifier(const FModifier *src)
Array< float > BKE_fcurves_calc_keyed_frames(Span< FCurve * > fcurve_array)
bool BKE_fcurve_are_keyframes_usable(const FCurve &fcu)
int BKE_fcm_envelope_find_index(FCM_EnvelopeData *array, float frame, int arraylen, bool *r_exists)
FCurve * id_data_find_fcurve(ID *id, void *data, StructRNA *type, const char *prop_name, int index, bool *r_driven)
void BKE_fmodifiers_blend_read_data(BlendDataReader *reader, ListBaseT< FModifier > *fmodifiers, FCurve *curve)
void BKE_fcurve_delete_keys_all(FCurve &fcu)
bool test_time_fcurve(FCurve &fcu)
int BKE_fcurve_bezt_binarysearch_index(const BezTriple array[], float frame, int arraylen, bool *r_replace)
void BKE_fcurve_bezt_resize(FCurve &fcu, int new_totvert)
bool BKE_fcurve_is_empty(const FCurve *fcu)
void fcurve_store_samples(FCurve *fcu, void *data, int start, int end, FcuSampleFunc sample_cb)
void BKE_fcurve_deduplicate_keys(FCurve *fcu)
FCurve * BKE_fcurve_find_by_rna_context_ui(bContext *C, const PointerRNA *ptr, PropertyRNA *prop, int rnaindex, AnimData **r_animdata, bAction **r_action, bool *r_driven, bool *r_special)
FCurve * BKE_fcurve_find(ListBaseT< FCurve > *list, const char rna_path[], int array_index)
float fcurve_samplingcb_evalcurve(FCurve *fcu, void *data, float evaltime)
bool BKE_fcurve_has_selected_control_points(const FCurve &fcu)
void set_active_fmodifier(ListBaseT< FModifier > *modifiers, FModifier *fcm)
@ FMI_REQUIRES_ORIGINAL_DATA
@ FMI_REQUIRES_RUNTIME_CHECK
const FModifierTypeInfo * get_fmodifier_typeinfo(int type)
float evaluate_time_fmodifiers(FModifiersStackStorage *storage, const ListBaseT< FModifier > *modifiers, const FCurve *fcu, float cvalue, float evaltime)
void fcurve_samples_to_keyframes(FCurve *fcu, int start, int end)
FCurve * BKE_fcurve_create()
void sort_time_fcurve(FCurve &fcu)
float evaluate_fcurve(const FCurve *fcu, float evaltime)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
void(*) free_data(FModifier *fcm)
float(*) evaluate_modifier_time(const FCurve *fcu, const FModifier *fcm, float cvalue, float evaltime, void *storage)
void(*) evaluate_modifier(const FCurve *fcu, const FModifier *fcm, float *cvalue, float evaltime, void *storage)
void(*) new_data(void *mdata)
void(*) copy_data(FModifier *fcm, const FModifier *src)
void(*) verify_data(FModifier *fcm)
std::optional< ParsedRNAPath<> > parsed_rna_path