Blender V4.3
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 57 of file BCAnimationSampler.h.

Constructor & Destructor Documentation

◆ ~BCSampleFrame()

BCSampleFrame::~BCSampleFrame ( )
inline

Definition at line 67 of file BCAnimationSampler.h.

References sample.

Member Function Documentation

◆ add()

BCSample & BCSampleFrame::add ( Object * ob)

Definition at line 478 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 485 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 504 of file BCAnimationSampler.cpp.

References BCMatrix::get_matrix(), and 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 516 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 521 of file BCAnimationSampler.cpp.

References get_sample_matrix().


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