|
Blender V4.5
|
#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) |
| BCAnimationCurveMap * | get_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) |
Definition at line 137 of file BCAnimationSampler.h.
| BCAnimationSampler::BCAnimationSampler | ( | BCExportSettings & | export_settings, |
| BCObjectSet & | object_set ) |
Definition at line 32 of file BCAnimationSampler.cpp.
| BCAnimationSampler::~BCAnimationSampler | ( | ) |
Definition at line 42 of file BCAnimationSampler.cpp.
| void BCAnimationSampler::add_object | ( | Object * | ob | ) |
Definition at line 51 of file BCAnimationSampler.cpp.
References BCAnimation::curve_map, BCAnimation::frame_set, and BlenderContext::get_context().
|
static |
Definition at line 245 of file BCAnimationSampler.cpp.
References blender::ed::object::constraint_active_list(), and is_animated_by_constraint().
Referenced by get_animated_from_export_set().
|
static |
Definition at line 265 of file BCAnimationSampler.cpp.
References bc_has_animations(), Object::constraints, find_depending_animated(), ListBase::first, LinkNode::link, and LinkNode::next.
Referenced by AnimationExporter::exportAnimations().
Definition at line 298 of file BCAnimationSampler.cpp.
Referenced by AnimationExporter::export_bone_animations_recursive().
| bool BCAnimationSampler::get_bone_samples | ( | BCMatrixSampleMap & | samples, |
| Object * | ob, | ||
| Bone * | bone ) |
Definition at line 303 of file BCAnimationSampler.cpp.
References bc_is_animated().
Referenced by AnimationExporter::export_bone_animations_recursive().
| BCAnimationCurveMap * BCAnimationSampler::get_curves | ( | Object * | ob | ) |
Definition at line 61 of file BCAnimationSampler.cpp.
References BCAnimation::curve_map.
Referenced by AnimationExporter::export_curve_animation_set().
Definition at line 293 of file BCAnimationSampler.cpp.
Referenced by AnimationExporter::export_matrix_animation().
| bool BCAnimationSampler::get_object_samples | ( | BCMatrixSampleMap & | samples, |
| Object * | ob ) |
Definition at line 309 of file BCAnimationSampler.cpp.
References bc_is_animated().
Referenced by AnimationExporter::export_matrix_animation().
|
static |
Definition at line 214 of file BCAnimationSampler.cpp.
References bc_validateConstraints(), BKE_constraint_targets_flush(), BKE_constraint_targets_get(), and LISTBASE_FOREACH.
Referenced by find_depending_animated().
| void BCAnimationSampler::sample_scene | ( | BCExportSettings & | export_settings, |
| bool | keyframe_at_end ) |
Definition at line 164 of file BCAnimationSampler.cpp.
References BC_ANIMATION_EXPORT_KEYS, bc_update_scene(), RenderData::efra, BCAnimation::frame_set, get_sample_frames(), BlenderContext::get_scene(), Scene::r, sample, and RenderData::sfra.
Referenced by AnimationExporter::exportAnimations().