Blender  V3.3
Functions | Variables
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.h"
#include "BKE_constraint.h"
#include "BKE_key.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
#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.h"

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 (bAction *action, BCFrameSet &frameset)
 

Variables

static std::string EMPTY_STRING
 
static BCAnimationCurveMap BCEmptyAnimationCurves
 

Function Documentation

◆ add_keyframes_from()

static void add_keyframes_from ( bAction action,
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 71 of file BCAnimationSampler.cpp.

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

Referenced by BCAnimationSampler::sample_scene().

◆ is_object_keyframe()

static bool is_object_keyframe ( Object ob,
int  frame_index 
)
static

Definition at line 95 of file BCAnimationSampler.cpp.

Variable Documentation

◆ BCEmptyAnimationCurves

BCAnimationCurveMap BCEmptyAnimationCurves
static

Definition at line 31 of file BCAnimationSampler.cpp.

◆ EMPTY_STRING

std::string EMPTY_STRING
static

Definition at line 30 of file BCAnimationSampler.cpp.