Blender
V3.3
|
#include <BCAnimationSampler.h>
Public Member Functions | |
~BCSampleFrameContainer () | |
BCSample & | add (Object *ob, int frame_index) |
BCSampleFrame * | get_frame (int frame_index) |
int | get_frames (std::vector< int > &frames) const |
int | get_frames (Object *ob, BCFrames &frames) const |
int | get_frames (Object *ob, Bone *bone, BCFrames &frames) const |
int | get_samples (Object *ob, BCFrameSampleMap &samples) const |
int | get_matrices (Object *ob, BCMatrixSampleMap &samples) const |
int | get_matrices (Object *ob, Bone *bone, BCMatrixSampleMap &samples) const |
Definition at line 93 of file BCAnimationSampler.h.
|
inline |
Definition at line 123 of file BCAnimationSampler.h.
Definition at line 545 of file BCAnimationSampler.cpp.
References BCSampleFrame::add().
BCSampleFrame * BCSampleFrameContainer::get_frame | ( | int | frame_index | ) |
Return either the BCSampleFrame or NULL if frame does not exist.
Definition at line 555 of file BCAnimationSampler.cpp.
Definition at line 572 of file BCAnimationSampler.cpp.
References BCSampleFrame::has_sample_for().
Definition at line 585 of file BCAnimationSampler.cpp.
References BCSampleFrame::has_sample_for().
int BCSampleFrameContainer::get_frames | ( | std::vector< int > & | frames | ) | const |
Return a list of all frames that need to be sampled.
Definition at line 562 of file BCAnimationSampler.cpp.
Referenced by BCAnimationSampler::get_bone_frames(), and BCAnimationSampler::get_object_frames().
int BCSampleFrameContainer::get_matrices | ( | Object * | ob, |
BCMatrixSampleMap & | samples | ||
) | const |
Definition at line 612 of file BCAnimationSampler.cpp.
References BCSampleFrame::get_sample_matrix().
Referenced by BCAnimationSampler::get_bone_samples(), and BCAnimationSampler::get_object_samples().
int BCSampleFrameContainer::get_matrices | ( | Object * | ob, |
Bone * | bone, | ||
BCMatrixSampleMap & | samples | ||
) | const |
Definition at line 626 of file BCAnimationSampler.cpp.
References BCSampleFrame::get_sample_matrix(), and sample.
int BCSampleFrameContainer::get_samples | ( | Object * | ob, |
BCFrameSampleMap & | samples | ||
) | const |
Definition at line 598 of file BCAnimationSampler.cpp.
References BCSampleFrame::get_sample(), and sample.