Blender  V3.3
Public Member Functions | Static Public Member Functions | List of all members
BCAnimationSampler Class Reference

#include <BCAnimationSampler.h>

Public Member Functions

 BCAnimationSampler (BCExportSettings &export_settings, BCObjectSet &object_set)
 
 ~BCAnimationSampler ()
 
void add_object (Object *ob)
 
void sample_scene (BCExportSettings &export_settings, bool keyframe_at_end)
 
BCAnimationCurveMapget_curves (Object *ob)
 
void get_object_frames (BCFrames &frames, Object *ob)
 
bool get_object_samples (BCMatrixSampleMap &samples, Object *ob)
 
void get_bone_frames (BCFrames &frames, Object *ob, Bone *bone)
 
bool get_bone_samples (BCMatrixSampleMap &samples, Object *ob, Bone *bone)
 

Static Public Member Functions

static void get_animated_from_export_set (std::set< Object * > &animated_objects, LinkNode &export_set)
 
static void find_depending_animated (std::set< Object * > &animated_objects, std::set< Object * > &candidates)
 
static bool is_animated_by_constraint (Object *ob, ListBase *conlist, std::set< Object * > &animated_objects)
 

Detailed Description

Definition at line 141 of file BCAnimationSampler.h.

Constructor & Destructor Documentation

◆ BCAnimationSampler()

BCAnimationSampler::BCAnimationSampler ( BCExportSettings &  export_settings,
BCObjectSet object_set 
)

Definition at line 33 of file BCAnimationSampler.cpp.

References add_object().

◆ ~BCAnimationSampler()

BCAnimationSampler::~BCAnimationSampler ( )

Definition at line 43 of file BCAnimationSampler.cpp.

Member Function Documentation

◆ add_object()

void BCAnimationSampler::add_object ( Object ob)

Definition at line 52 of file BCAnimationSampler.cpp.

References BCAnimation::curve_map, and BCAnimation::frame_set.

Referenced by BCAnimationSampler().

◆ find_depending_animated()

void BCAnimationSampler::find_depending_animated ( std::set< Object * > &  animated_objects,
std::set< Object * > &  candidates 
)
static

◆ get_animated_from_export_set()

void BCAnimationSampler::get_animated_from_export_set ( std::set< Object * > &  animated_objects,
LinkNode export_set 
)
static

◆ get_bone_frames()

void BCAnimationSampler::get_bone_frames ( BCFrames frames,
Object ob,
Bone bone 
)

Definition at line 307 of file BCAnimationSampler.cpp.

References BCSampleFrameContainer::get_frames().

◆ get_bone_samples()

bool BCAnimationSampler::get_bone_samples ( BCMatrixSampleMap samples,
Object ob,
Bone bone 
)

◆ get_curves()

BCAnimationCurveMap * BCAnimationSampler::get_curves ( Object ob)

Definition at line 62 of file BCAnimationSampler.cpp.

References BCAnimation::curve_map.

◆ get_object_frames()

void BCAnimationSampler::get_object_frames ( BCFrames frames,
Object ob 
)

Definition at line 302 of file BCAnimationSampler.cpp.

References BCSampleFrameContainer::get_frames().

◆ get_object_samples()

bool BCAnimationSampler::get_object_samples ( BCMatrixSampleMap samples,
Object ob 
)

◆ is_animated_by_constraint()

bool BCAnimationSampler::is_animated_by_constraint ( Object ob,
ListBase conlist,
std::set< Object * > &  animated_objects 
)
static

◆ sample_scene()

void BCAnimationSampler::sample_scene ( BCExportSettings &  export_settings,
bool  keyframe_at_end 
)

The documentation for this class was generated from the following files: