|
Blender
V3.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 33 of file BCAnimationSampler.cpp.
References add_object().
| BCAnimationSampler::~BCAnimationSampler | ( | ) |
Definition at line 43 of file BCAnimationSampler.cpp.
Definition at line 52 of file BCAnimationSampler.cpp.
References BCAnimation::curve_map, and BCAnimation::frame_set.
Referenced by BCAnimationSampler().
|
static |
Definition at line 253 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 273 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 307 of file BCAnimationSampler.cpp.
References BCSampleFrameContainer::get_frames().
| bool BCAnimationSampler::get_bone_samples | ( | BCMatrixSampleMap & | samples, |
| Object * | ob, | ||
| Bone * | bone | ||
| ) |
Definition at line 312 of file BCAnimationSampler.cpp.
References bc_is_animated(), and BCSampleFrameContainer::get_matrices().
| BCAnimationCurveMap * BCAnimationSampler::get_curves | ( | Object * | ob | ) |
Definition at line 62 of file BCAnimationSampler.cpp.
References BCAnimation::curve_map.
Definition at line 302 of file BCAnimationSampler.cpp.
References BCSampleFrameContainer::get_frames().
| bool BCAnimationSampler::get_object_samples | ( | BCMatrixSampleMap & | samples, |
| Object * | ob | ||
| ) |
Definition at line 318 of file BCAnimationSampler.cpp.
References bc_is_animated(), and BCSampleFrameContainer::get_matrices().
|
static |
Definition at line 220 of file BCAnimationSampler.cpp.
References bc_validateConstraints(), BKE_constraint_targets_flush(), BKE_constraint_targets_get(), ListBase::first, bConstraint::next, bConstraintTarget::next, and bConstraintTarget::tar.
Referenced by find_depending_animated().
Definition at line 169 of file BCAnimationSampler.cpp.
References BC_ANIMATION_EXPORT_KEYS, bc_update_scene(), RenderData::efra, BCAnimation::frame_set, get_sample_frames(), Scene::r, sample, scene, and RenderData::sfra.
Referenced by AnimationExporter::exportAnimations().