Blender V5.3
blender::SortedFCurveBuffer Class Reference

#include <ED_anim_api.hh>

Public Member Functions

void insert_fcurve (FCurve &fcurve)
void clear ()
Span< FCurve * > fcurves () const
FCurve * get_fcurve_by_array_index (int array_index) const

Detailed Description

A non owning storage buffer for FCurves where they are sorted by FCurve.array_index.

Definition at line 1342 of file ED_anim_api.hh.

Member Function Documentation

◆ clear()

void blender::SortedFCurveBuffer::clear ( )

Definition at line 52 of file anim_convert.cc.

Referenced by blender::remove_rotation_fcurves().

◆ fcurves()

Span< FCurve * > blender::SortedFCurveBuffer::fcurves ( ) const

◆ get_fcurve_by_array_index()

FCurve * blender::SortedFCurveBuffer::get_fcurve_by_array_index ( int array_index) const

Returns the first FCurve with the given array index from the buffer or a nullptr if that index does not exist.

Definition at line 62 of file anim_convert.cc.

Referenced by blender::convert_rotation_mode_channelbag().

◆ insert_fcurve()

void blender::SortedFCurveBuffer::insert_fcurve ( FCurve & fcurve)

Definition at line 38 of file anim_convert.cc.

References blender::FCurve::array_index, and BLI_assert_msg.

Referenced by blender::build_rotation_fcurve_map().


The documentation for this class was generated from the following files: