Blender
V3.3
source
blender
blenkernel
BKE_armature.hh
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
#pragma once
3
7
#ifndef __cplusplus
8
# error This is a C++ only header.
9
#endif
10
11
#include "
BKE_armature.h
"
12
13
#include "
BLI_function_ref.hh
"
14
#include "
BLI_set.hh
"
15
16
namespace
blender::bke
{
17
18
struct
SelectedBonesResult
{
19
bool
all_bones_selected
=
true
;
20
bool
no_bones_selected
=
true
;
21
};
22
23
using
SelectedBoneCallback
=
blender::FunctionRef
<
void
(
Bone
*bone)>;
24
SelectedBonesResult
BKE_armature_find_selected_bones
(
const
bArmature
*armature,
25
SelectedBoneCallback
callback
);
26
27
using
BoneNameSet
=
blender::Set<std::string>
;
32
BoneNameSet
BKE_armature_find_selected_bone_names
(
const
bArmature
*armature);
33
34
};
// namespace blender::bke
BKE_armature.h
BLI_function_ref.hh
BLI_set.hh
blender::FunctionRef
Definition:
BLI_function_ref.hh:73
blender::Set< std::string >
callback
DEGForeachIDComponentCallback callback
Definition:
depsgraph_query_foreach.cc:115
void
SyclQueue void void size_t num_bytes void
Definition:
dll_interface_template.h:38
blender::bke
Definition:
BKE_action.hh:16
blender::bke::BKE_armature_find_selected_bones
SelectedBonesResult BKE_armature_find_selected_bones(const bArmature *armature, SelectedBoneCallback callback)
Definition:
armature_selection.cc:37
blender::bke::BKE_armature_find_selected_bone_names
BoneNameSet BKE_armature_find_selected_bone_names(const bArmature *armature)
Definition:
armature_selection.cc:48
Bone
Definition:
DNA_armature_types.h:28
bArmature
Definition:
DNA_armature_types.h:105
blender::bke::SelectedBonesResult
Definition:
BKE_armature.hh:18
blender::bke::SelectedBonesResult::all_bones_selected
bool all_bones_selected
Definition:
BKE_armature.hh:19
blender::bke::SelectedBonesResult::no_bones_selected
bool no_bones_selected
Definition:
BKE_armature.hh:20
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1