Blender V5.3
ANIM_bone_collections.hh File Reference

C++ functions to deal with Armature collections (i.e. the successor of bone layers). More...

#include "BLI_map.hh"
#include "BKE_armature.hh"
#include "DNA_action_types.h"
#include "DNA_armature_types.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::animrig

Enumerations

enum class  blender::MoveLocation { blender::Before , blender::After }

Functions

BoneCollection * blender::ANIM_bonecoll_new (const char *name) ATTR_WARN_UNUSED_RESULT
void blender::ANIM_bonecoll_free (BoneCollection *bcoll, bool do_id_user_count=true)
void blender::ANIM_armature_runtime_refresh (bArmature *armature)
void blender::ANIM_armature_runtime_free (bArmature *armature)
BoneCollection * blender::ANIM_armature_bonecoll_new (bArmature *armature, const char *name, int parent_index=-1)
BoneCollection * blender::ANIM_armature_bonecoll_insert_copy_after (bArmature *armature_dst, const bArmature *armature_src, const BoneCollection *anchor_in_dst, const BoneCollection *bcoll_to_copy)
void blender::ANIM_armature_bonecoll_remove_from_index (bArmature *armature, const int index)
void blender::ANIM_armature_bonecoll_remove (bArmature *armature, BoneCollection *bcoll)
void blender::ANIM_armature_bonecoll_active_set (bArmature *armature, BoneCollection *bcoll)
void blender::ANIM_armature_bonecoll_active_index_set (bArmature *armature, int bone_collection_index)
void blender::ANIM_armature_bonecoll_active_name_set (bArmature *armature, const char *name)
void blender::ANIM_armature_bonecoll_active_runtime_refresh (bArmature *armature)
bool blender::ANIM_armature_bonecoll_is_editable (const bArmature *armature, const BoneCollection *bcoll)
bool blender::ANIM_armature_bonecoll_move_to_index (bArmature *armature, int from_index, int to_index)
int blender::ANIM_armature_bonecoll_move_before_after_index (bArmature *armature, int from_index, int to_index, MoveLocation before_after)
bool blender::ANIM_armature_bonecoll_move (bArmature *armature, BoneCollection *bcoll, int step)
BoneCollection * blender::ANIM_armature_bonecoll_get_by_name (bArmature *armature, const char *name) ATTR_WARN_UNUSED_RESULT
int blender::ANIM_armature_bonecoll_get_index_by_name (bArmature *armature, const char *name) ATTR_WARN_UNUSED_RESULT
void blender::ANIM_armature_bonecoll_name_set (Main &bmain, bArmature *armature, BoneCollection *bcoll, const char *name)
void blender::ANIM_bonecoll_show (bArmature *armature, BoneCollection *bcoll)
void blender::ANIM_bonecoll_hide (bArmature *armature, BoneCollection *bcoll)
void blender::ANIM_armature_bonecoll_is_visible_set (bArmature *armature, BoneCollection *bcoll, bool is_visible)
void blender::ANIM_armature_bonecoll_solo_set (bArmature *armature, BoneCollection *bcoll, bool is_solo)
void blender::ANIM_armature_refresh_solo_active (bArmature *armature)
bool blender::ANIM_armature_bonecoll_is_visible_effectively (const bArmature *armature, const BoneCollection *bcoll)
void blender::ANIM_armature_bonecoll_is_expanded_set (BoneCollection *bcoll, bool is_expanded)
bool blender::ANIM_armature_bonecoll_assign (BoneCollection *bcoll, Bone *bone)
bool blender::ANIM_armature_bonecoll_assign_editbone (BoneCollection *bcoll, EditBone *ebone)
void blender::ANIM_armature_bonecoll_assign_from_other_editbone (EditBone *dst, EditBone *src)
bool blender::ANIM_armature_bonecoll_assign_and_move (BoneCollection *bcoll, Bone *bone)
bool blender::ANIM_armature_bonecoll_assign_and_move_editbone (BoneCollection *bcoll, EditBone *ebone)
bool blender::ANIM_armature_bonecoll_unassign (BoneCollection *bcoll, Bone *bone)
bool blender::ANIM_armature_bonecoll_unassign_editbone (BoneCollection *bcoll, EditBone *ebone)
void blender::ANIM_armature_bonecoll_unassign_all (Bone *bone)
void blender::ANIM_armature_bonecoll_unassign_all_editbone (EditBone *ebone)
void blender::ANIM_armature_bonecoll_assign_active (const bArmature *armature, EditBone *ebone)
bool blender::ANIM_armature_bonecoll_contains_active_bone (const bArmature *armature, const BoneCollection *bcoll)
void blender::ANIM_armature_bonecoll_reconstruct (bArmature *armature)
bool blender::ANIM_bone_in_visible_collection (const bArmature *armature, const Bone *bone)
bool blender::ANIM_bonecoll_is_visible_editbone (const bArmature *armature, const EditBone *ebone)
bool blender::ANIM_bonecoll_is_visible_pchan (const bArmature *armature, const bPoseChannel *pchan)
bool blender::ANIM_bonecoll_is_visible_actbone (const bArmature *armature)
void blender::ANIM_armature_bonecoll_show_all (bArmature *armature)
void blender::ANIM_armature_bonecoll_hide_all (bArmature *armature)
void blender::ANIM_armature_bonecoll_show_from_bone (bArmature *armature, const Bone *bone)
void blender::ANIM_armature_bonecoll_show_from_ebone (bArmature *armature, const EditBone *ebone)
void blender::ANIM_armature_bonecoll_show_from_pchan (bArmature *armature, const bPoseChannel *pchan)
int blender::animrig::armature_bonecoll_find_index (const bArmature *armature, const BoneCollection *bcoll)
int blender::animrig::armature_bonecoll_find_parent_index (const bArmature *armature, int bcoll_index)
int blender::animrig::armature_bonecoll_child_number_find (const bArmature *armature, const BoneCollection *bcoll)
int blender::animrig::armature_bonecoll_child_number_set (bArmature *armature, BoneCollection *bcoll, int new_child_number)
bool blender::animrig::armature_bonecoll_is_root (const bArmature *armature, int bcoll_index)
bool blender::animrig::armature_bonecoll_is_child_of (const bArmature *armature, int potential_parent_index, int potential_child_index)
bool blender::animrig::armature_bonecoll_is_descendant_of (const bArmature *armature, int potential_parent_index, int potential_descendant_index)
bool blender::animrig::bonecoll_has_children (const BoneCollection *bcoll)
void blender::animrig::bonecolls_copy_expanded_flag (Span< BoneCollection * > bcolls_dest, Span< const BoneCollection * > bcolls_source)
int blender::animrig::armature_bonecoll_move_to_parent (bArmature *armature, int from_bcoll_index, int to_child_num, int from_parent_index, int to_parent_index)
Map< BoneCollection *, BoneCollection * > blender::animrig::ANIM_bonecoll_array_copy_no_membership (BoneCollection ***bcoll_array_dst, int *bcoll_array_dst_num, BoneCollection **bcoll_array_src, int bcoll_array_src_num, bool do_id_user)
void blender::animrig::ANIM_bonecoll_array_free (BoneCollection ***bcoll_array, int *bcoll_array_num, bool do_id_user)

Detailed Description

C++ functions to deal with Armature collections (i.e. the successor of bone layers).

Definition in file ANIM_bone_collections.hh.