Blender  V3.3
Public Member Functions | List of all members
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 55 of file BCAnimationSampler.h.

Constructor & Destructor Documentation

◆ ~BCSampleFrame()

BCSampleFrame::~BCSampleFrame ( )
inline

Definition at line 65 of file BCAnimationSampler.h.

References sample.

Member Function Documentation

◆ add()

BCSample & BCSampleFrame::add ( Object ob)

Definition at line 494 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 501 of file BCAnimationSampler.cpp.

Referenced by BCSampleFrameContainer::get_samples().

◆ get_sample_matrix() [1/2]

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

Definition at line 510 of file BCAnimationSampler.cpp.

References sample.

Referenced by BCSampleFrameContainer::get_matrices(), and has_sample_for().

◆ 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 520 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 532 of file BCAnimationSampler.cpp.

Referenced by 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 537 of file BCAnimationSampler.cpp.

References get_sample_matrix().


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