Blender V4.5
BCAnimationSampler.cpp File Reference
#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_material.hh"
#include "BLI_listbase.h"
#include "BLI_string.h"
#include "DNA_anim_types.h"
#include "DNA_constraint_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()

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

◆ get_sample_frames()

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

Definition at line 70 of file BCAnimationSampler.cpp.

References RenderData::efra, Scene::r, and RenderData::sfra.

Referenced by BCAnimationSampler::sample_scene().

◆ is_object_keyframe()

bool is_object_keyframe ( Object * ob,
int frame_index )
static

Definition at line 94 of file BCAnimationSampler.cpp.

Variable Documentation

◆ BCEmptyAnimationCurves

BCAnimationCurveMap BCEmptyAnimationCurves
static

Definition at line 30 of file BCAnimationSampler.cpp.

◆ EMPTY_STRING

std::string EMPTY_STRING
static

Definition at line 29 of file BCAnimationSampler.cpp.