|
Blender V4.5
|
#include <cstddef>#include "COLLADAFWAnimation.h"#include "COLLADAFWAnimationCurve.h"#include "COLLADAFWAnimationList.h"#include "COLLADAFWCamera.h"#include "COLLADAFWEffect.h"#include "COLLADAFWLight.h"#include "COLLADAFWNode.h"#include "COLLADAFWRotate.h"#include "COLLADAFWUniqueId.h"#include "DNA_armature_types.h"#include "ED_keyframing.hh"#include "ANIM_action.hh"#include "ANIM_action_legacy.hh"#include "ANIM_animdata.hh"#include "ANIM_fcurve.hh"#include "BLI_math_matrix.h"#include "BLI_string.h"#include "BKE_action.hh"#include "BKE_armature.hh"#include "BKE_fcurve.hh"#include "BKE_object.hh"#include "AnimationImporter.h"#include "ArmatureImporter.h"#include "collada_utils.h"#include <algorithm>Go to the source code of this file.
Functions | |
| template<class T> | |
| static const char * | bc_get_joint_name (T *node) |
| static void | ensure_action_and_slot_for_id (Main *bmain, ID &id) |
| static int | get_animation_axis_index (const COLLADABU::Math::Vector3 &axis) |
| static double | get_aspect_ratio (const COLLADAFW::Camera *camera) |
| static void | report_class_type_unsupported (const char *path, const COLLADAFW::AnimationList::AnimationClass animclass, const COLLADAFW::Transformation::TransformationType type) |
Definition at line 45 of file AnimationImporter.cpp.
References T.
Referenced by AnimationImporter::add_bone_fcurve(), AnimationImporter::apply_matrix_curves(), SkinInfo::get_pose_channel_from_node(), ArmatureImporter::get_rna_path_for_joint(), and SkinInfo::link_armature().
Ensures that the given ID has an action assigned to it and, for layered actions, an assigned slot.
Definition at line 55 of file AnimationImporter.cpp.
References blender::animrig::legacy::action_treat_as_legacy(), blender::animrig::assign_action_ensure_slot_for_keying(), BLI_assert, blender::animrig::id_action_ensure(), and UNUSED_VARS_NDEBUG.
Referenced by AnimationImporter::apply_matrix_curves(), and AnimationImporter::translate_Animations().
|
static |
Definition at line 341 of file AnimationImporter.cpp.
Referenced by AnimationImporter::Assign_transform_animations().
|
static |
Definition at line 796 of file AnimationImporter.cpp.
Referenced by AnimationImporter::translate_Animations().
|
static |
Definition at line 1188 of file AnimationImporter.cpp.
Referenced by AnimationImporter::evaluate_animation().