Blender V4.5
BCSampleFrame Class Reference

#include <BCAnimationSampler.h>

Public Member Functions

 ~BCSampleFrame ()
BCSampleadd (Object *ob)
const BCSampleget_sample (Object *ob) const
const BCMatrixget_sample_matrix (Object *ob) const
const BCMatrixget_sample_matrix (Object *ob, Bone *bone) const
bool has_sample_for (Object *ob) const
bool has_sample_for (Object *ob, Bone *bone) const

Detailed Description

Definition at line 53 of file BCAnimationSampler.h.

Constructor & Destructor Documentation

◆ ~BCSampleFrame()

BCSampleFrame::~BCSampleFrame ( )
inline

Definition at line 63 of file BCAnimationSampler.h.

References sample.

Member Function Documentation

◆ add()

BCSample & BCSampleFrame::add ( Object * ob)

Definition at line 474 of file BCAnimationSampler.cpp.

References sample.

Referenced by BCSampleFrameContainer::add().

◆ get_sample()

const BCSample * BCSampleFrame::get_sample ( Object * ob) const

Get the matrix for the given key, returns Unity when the key does not exist.

Definition at line 481 of file BCAnimationSampler.cpp.

Referenced by BCSampleFrameContainer::get_samples().

◆ get_sample_matrix() [1/2]

const BCMatrix * BCSampleFrame::get_sample_matrix ( Object * ob) const

◆ get_sample_matrix() [2/2]

const BCMatrix * BCSampleFrame::get_sample_matrix ( Object * ob,
Bone * bone ) const

Get the matrix for the given Bone, returns Unity when the Object is not sampled.

Definition at line 500 of file BCAnimationSampler.cpp.

References sample.

◆ has_sample_for() [1/2]

bool BCSampleFrame::has_sample_for ( Object * ob) const

Check if the key is in this BCSampleFrame.

Definition at line 512 of file BCAnimationSampler.cpp.

Referenced by BCSampleFrameContainer::get_frames(), and BCSampleFrameContainer::get_frames().

◆ has_sample_for() [2/2]

bool BCSampleFrame::has_sample_for ( Object * ob,
Bone * bone ) const

Check if the Bone is in this BCSampleFrame.

Definition at line 517 of file BCAnimationSampler.cpp.

References get_sample_matrix().


The documentation for this class was generated from the following files: