Blender V4.3
BCAnimationSampler.cpp File Reference
#include <algorithm>
#include <map>
#include <vector>
#include "BCAnimationCurve.h"
#include "BCAnimationSampler.h"
#include "BCMath.h"
#include "ExportSettings.h"
#include "collada_utils.h"
#include "BKE_action.hh"
#include "BKE_constraint.h"
#include "BKE_key.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_material.h"
#include "BLI_listbase.h"
#include "DNA_anim_types.h"
#include "DNA_constraint_types.h"
#include "DNA_key_types.h"
#include "DNA_scene_types.h"
#include "ED_object.hh"
#include "ANIM_action_legacy.hh"

Go to the source code of this file.

Functions

static void get_sample_frames (BCFrameSet &sample_frames, int sampling_rate, bool keyframe_at_end, Scene *scene)
 
static bool is_object_keyframe (Object *ob, int frame_index)
 
static void add_keyframes_from (AnimData *adt, BCFrameSet &frameset)
 

Variables

static std::string EMPTY_STRING
 
static BCAnimationCurveMap BCEmptyAnimationCurves
 

Function Documentation

◆ add_keyframes_from()

static void add_keyframes_from ( AnimData * adt,
BCFrameSet & frameset )
static

◆ get_sample_frames()

static void get_sample_frames ( BCFrameSet & sample_frames,
int sampling_rate,
bool keyframe_at_end,
Scene * scene )
static

Definition at line 74 of file BCAnimationSampler.cpp.

Referenced by BCAnimationSampler::sample_scene().

◆ is_object_keyframe()

static bool is_object_keyframe ( Object * ob,
int frame_index )
static

Definition at line 98 of file BCAnimationSampler.cpp.

Variable Documentation

◆ BCEmptyAnimationCurves

BCAnimationCurveMap BCEmptyAnimationCurves
static

Definition at line 34 of file BCAnimationSampler.cpp.

◆ EMPTY_STRING

std::string EMPTY_STRING
static

Definition at line 33 of file BCAnimationSampler.cpp.