Blender V4.3
BCSample Class Reference

#include <BCSampleData.h>

Public Member Functions

 BCSample (Object *ob)
 
 ~BCSample ()
 
void add_bone_matrix (Bone *bone, Matrix &mat)
 
bool get_value (std::string channel_target, int array_index, float *val) const
 
const BCMatrixget_matrix () const
 
const BCMatrixget_matrix (Bone *bone) const
 

Detailed Description

Definition at line 27 of file BCSampleData.h.

Constructor & Destructor Documentation

◆ BCSample()

BCSample::BCSample ( Object * ob)
inline

Definition at line 33 of file BCSampleData.h.

◆ ~BCSample()

BCSample::~BCSample ( )

Definition at line 8 of file BCSampleData.cpp.

Member Function Documentation

◆ add_bone_matrix()

void BCSample::add_bone_matrix ( Bone * bone,
Matrix & mat )

Definition at line 16 of file BCSampleData.cpp.

References Bone::name.

◆ get_matrix() [1/2]

const BCMatrix & BCSample::get_matrix ( ) const

Definition at line 78 of file BCSampleData.cpp.

Referenced by BCSampleFrame::get_sample_matrix().

◆ get_matrix() [2/2]

const BCMatrix * BCSample::get_matrix ( Bone * bone) const

Definition at line 69 of file BCSampleData.cpp.

◆ get_value()

bool BCSample::get_value ( std::string channel_target,
int array_index,
float * val ) const

Get channel value.

Definition at line 27 of file BCSampleData.cpp.

References bc_string_after(), bc_string_before(), ELEM, BCMatrix::location(), and Bone::name.


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