|
Blender V4.3
|
#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 141 of file BCAnimationSampler.h.
| BCAnimationSampler::BCAnimationSampler | ( | BCExportSettings & | export_settings, |
| BCObjectSet & | object_set ) |
Definition at line 36 of file BCAnimationSampler.cpp.
References add_object().
| BCAnimationSampler::~BCAnimationSampler | ( | ) |
Definition at line 46 of file BCAnimationSampler.cpp.
| void BCAnimationSampler::add_object | ( | Object * | ob | ) |
Definition at line 55 of file BCAnimationSampler.cpp.
Referenced by BCAnimationSampler().
|
static |
Definition at line 249 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 269 of file BCAnimationSampler.cpp.
References bc_has_animations(), Object::constraints, find_depending_animated(), ListBase::first, LinkNode::next, and node.
Referenced by AnimationExporter::exportAnimations().
Definition at line 302 of file BCAnimationSampler.cpp.
References BCSampleFrameContainer::get_frames().
| bool BCAnimationSampler::get_bone_samples | ( | BCMatrixSampleMap & | samples, |
| Object * | ob, | ||
| Bone * | bone ) |
Definition at line 307 of file BCAnimationSampler.cpp.
References bc_is_animated(), and BCSampleFrameContainer::get_matrices().
| BCAnimationCurveMap * BCAnimationSampler::get_curves | ( | Object * | ob | ) |
Definition at line 65 of file BCAnimationSampler.cpp.
Definition at line 297 of file BCAnimationSampler.cpp.
References BCSampleFrameContainer::get_frames().
| bool BCAnimationSampler::get_object_samples | ( | BCMatrixSampleMap & | samples, |
| Object * | ob ) |
Definition at line 313 of file BCAnimationSampler.cpp.
References bc_is_animated(), and BCSampleFrameContainer::get_matrices().
|
static |
Definition at line 218 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 168 of file BCAnimationSampler.cpp.
References BC_ANIMATION_EXPORT_KEYS, bc_update_scene(), BCAnimation::frame_set, get_sample_frames(), and sample.
Referenced by AnimationExporter::exportAnimations().