Blender  V3.3
Public Member Functions | Static Public Member Functions | List of all members
BoneExtended Class Reference

#include <collada_utils.h>

Public Member Functions

 BoneExtended (EditBone *aBone)
 
void set_name (char *aName)
 
char * get_name ()
 
void set_chain_length (int aLength)
 
int get_chain_length ()
 
void set_leaf_bone (bool state)
 
bool is_leaf_bone ()
 
void set_bone_layers (std::string layers, std::vector< std::string > &layer_labels)
 
int get_bone_layers ()
 
void set_roll (float roll)
 
bool has_roll ()
 
float get_roll ()
 
void set_tail (const float vec[])
 
floatget_tail ()
 
bool has_tail ()
 
void set_use_connect (int use_connect)
 
int get_use_connect ()
 

Static Public Member Functions

static std::string get_bone_layers (int bitfield)
 

Detailed Description

Definition at line 351 of file collada_utils.h.

Constructor & Destructor Documentation

◆ BoneExtended()

BoneExtended::BoneExtended ( EditBone aBone)

BoneExtended is a helper class needed for the Bone chain finder See ArmatureImporter::fix_leaf_bones() and ArmatureImporter::connect_bone_chains()

Definition at line 495 of file collada_utils.cpp.

References EditBone::name, and set_name().

Member Function Documentation

◆ get_bone_layers() [1/2]

int BoneExtended::get_bone_layers ( )

Definition at line 639 of file collada_utils.cpp.

◆ get_bone_layers() [2/2]

std::string BoneExtended::get_bone_layers ( int  bitfield)
static

Definition at line 623 of file collada_utils.cpp.

◆ get_chain_length()

int BoneExtended::get_chain_length ( )

Definition at line 521 of file collada_utils.cpp.

◆ get_name()

char * BoneExtended::get_name ( )

Definition at line 511 of file collada_utils.cpp.

◆ get_roll()

float BoneExtended::get_roll ( )

Definition at line 552 of file collada_utils.cpp.

◆ get_tail()

float * BoneExtended::get_tail ( )

Definition at line 570 of file collada_utils.cpp.

◆ get_use_connect()

int BoneExtended::get_use_connect ( )

Definition at line 650 of file collada_utils.cpp.

◆ has_roll()

bool BoneExtended::has_roll ( )

Definition at line 547 of file collada_utils.cpp.

◆ has_tail()

bool BoneExtended::has_tail ( )

Definition at line 565 of file collada_utils.cpp.

◆ is_leaf_bone()

bool BoneExtended::is_leaf_bone ( )

Definition at line 536 of file collada_utils.cpp.

◆ set_bone_layers()

void BoneExtended::set_bone_layers ( std::string  layers,
std::vector< std::string > &  layer_labels 
)

Definition at line 587 of file collada_utils.cpp.

References bc_set_layer(), isInteger(), and pos.

◆ set_chain_length()

void BoneExtended::set_chain_length ( int  aLength)

Definition at line 526 of file collada_utils.cpp.

◆ set_leaf_bone()

void BoneExtended::set_leaf_bone ( bool  state)

Definition at line 531 of file collada_utils.cpp.

References state.

◆ set_name()

void BoneExtended::set_name ( char *  aName)

Definition at line 516 of file collada_utils.cpp.

References BLI_strncpy(), and MAXBONENAME.

Referenced by BoneExtended().

◆ set_roll()

void BoneExtended::set_roll ( float  roll)

Definition at line 541 of file collada_utils.cpp.

◆ set_tail()

void BoneExtended::set_tail ( const float  vec[])

Definition at line 557 of file collada_utils.cpp.

◆ set_use_connect()

void BoneExtended::set_use_connect ( int  use_connect)

Definition at line 645 of file collada_utils.cpp.


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