Blender V5.3
anim_convert.cc File Reference
#include "DNA_action_types.h"
#include "DNA_anim_types.h"
#include "DNA_object_types.h"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_set.hh"
#include "BKE_context.hh"
#include "BKE_fcurve.hh"
#include "BKE_lib_id.hh"
#include "ANIM_action.hh"
#include "ANIM_action_iterators.hh"
#include "ANIM_fcurve.hh"
#include "ANIM_rna.hh"
#include "DEG_depsgraph.hh"
#include "WM_api.hh"
#include "ED_anim_api.hh"
#include "ED_anim_transformable.hh"

Go to the source code of this file.

Classes

class  blender::KeyframeIterator

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static Vector< std::pair< float, eRotationModes > > blender::get_rotation_mode_ranges (const FCurve &fcurve)
static void blender::convert_rotation_mode_range (const Span< const FCurve * > evaluation_buffer, const Span< FCurve * > insertion_buffer, const eRotationModes from_mode, const eRotationModes to_mode, const Bounds< float > range, const ed::AnimTransformable &transformable, const bool ensure_range_start_key)
static void blender::remove_rotation_fcurves (const ed::AnimTransformable &transformable, RNAFCurveMap &fcu_map, animrig::Channelbag &channelbag, const eRotationModes rotation_mode)
static bool blender::convert_rotation_mode_channelbag (animrig::Channelbag &channelbag, RNAFCurveMap &fcu_map, const eRotationModes to_mode, const Span< std::pair< float, eRotationModes > > ranges, const ed::AnimTransformable &transformable)
bool blender::convert_rotation_keys (const ed::AnimTransformable &transformable, ChannelbagFCurveMap &channelbag_fcurve_map, const eRotationModes to_mode)
static bool blender::is_rotation_mode_path (const StringRefNull rna_path)
ChannelbagFCurveMap blender::build_rotation_fcurve_map (animrig::Action &action, const animrig::slot_handle_t slot_handle)
void blender::bake_rotation_fcurves (const ChannelbagFCurveMap &channelbag_fcurve_map, const ed::AnimTransformable &transformable)
void blender::convert_to_rotation_mode (bContext &C, ed::AnimTransformable &transformable, const eRotationModes to_mode, const bool bake)