|
Blender
V2.93
|
#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 148 of file BCAnimationSampler.h.
| BCAnimationSampler::BCAnimationSampler | ( | BCExportSettings & | export_settings, |
| BCObjectSet & | object_set | ||
| ) |
Definition at line 49 of file BCAnimationSampler.cpp.
References add_object().
| BCAnimationSampler::~BCAnimationSampler | ( | ) |
Definition at line 59 of file BCAnimationSampler.cpp.
| void BCAnimationSampler::add_object | ( | Object * | ob | ) |
Definition at line 68 of file BCAnimationSampler.cpp.
References BCAnimation::curve_map, and BCAnimation::frame_set.
Referenced by BCAnimationSampler().
|
static |
Definition at line 265 of file BCAnimationSampler.cpp.
References ED_object_constraint_active_list(), and is_animated_by_constraint().
Referenced by get_animated_from_export_set().
|
static |
Definition at line 285 of file BCAnimationSampler.cpp.
References bc_has_animations(), Object::constraints, find_depending_animated(), ListBase::first, if(), and node.
Referenced by AnimationExporter::exportAnimations().
Definition at line 319 of file BCAnimationSampler.cpp.
References BCSampleFrameContainer::get_frames().
Referenced by AnimationExporter::export_bone_animations_recursive().
| bool BCAnimationSampler::get_bone_samples | ( | BCMatrixSampleMap & | samples, |
| Object * | ob, | ||
| Bone * | bone | ||
| ) |
Definition at line 324 of file BCAnimationSampler.cpp.
References bc_is_animated(), and BCSampleFrameContainer::get_matrices().
Referenced by AnimationExporter::export_bone_animations_recursive().
| BCAnimationCurveMap * BCAnimationSampler::get_curves | ( | Object * | ob | ) |
Definition at line 78 of file BCAnimationSampler.cpp.
References BCAnimation::curve_map.
Referenced by AnimationExporter::export_curve_animation_set().
Definition at line 314 of file BCAnimationSampler.cpp.
References BCSampleFrameContainer::get_frames().
Referenced by AnimationExporter::export_matrix_animation().
| bool BCAnimationSampler::get_object_samples | ( | BCMatrixSampleMap & | samples, |
| Object * | ob | ||
| ) |
Definition at line 330 of file BCAnimationSampler.cpp.
References bc_is_animated(), and BCSampleFrameContainer::get_matrices().
Referenced by AnimationExporter::export_matrix_animation().
|
static |
Definition at line 234 of file BCAnimationSampler.cpp.
References bc_validateConstraints(), BKE_constraint_typeinfo_get(), ListBase::first, bConstraintTypeInfo::get_constraint_targets, bConstraint::next, bConstraintTarget::next, and bConstraintTarget::tar.
Referenced by find_depending_animated().
| void BCAnimationSampler::sample_scene | ( | BCExportSettings & | export_settings, |
| bool | keyframe_at_end | ||
| ) |
Definition at line 183 of file BCAnimationSampler.cpp.
References BC_ANIMATION_EXPORT_KEYS, bc_update_scene(), RenderData::efra, BCAnimation::frame_set, get_sample_frames(), Scene::r, blender::compositor::sample(), scene, and RenderData::sfra.
Referenced by AnimationExporter::exportAnimations().