Blender V5.3
ANIM_bonecolor.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10
11#pragma once
12
13#include "BKE_pose.hh"
14
15#include "DNA_armature_types.h"
16
17namespace blender {
18
19struct bPoseChannel;
20struct ThemeWireColor;
21
22namespace animrig {
23
26 public:
27 BoneColor();
28 BoneColor(const BoneColor &other);
30
31 const ThemeWireColor *effective_color() const;
32
33 /* Support for storing in a #Set<BoneColor>. */
34 bool operator==(const BoneColor &other) const;
35 bool operator!=(const BoneColor &other) const;
36 uint64_t hash() const;
37};
38
46
47}; // namespace animrig
48
49} // namespace blender
struct ThemeWireColor ThemeWireColor
const ThemeWireColor * effective_color() const
Definition bonecolor.cc:32
uint64_t hash() const
Definition bonecolor.cc:72
bool operator==(const BoneColor &other) const
Definition bonecolor.cc:46
bool operator!=(const BoneColor &other) const
Definition bonecolor.cc:67
const BoneColor & ANIM_bonecolor_posebone_get(bke::PChanBoneConst pchanbone)
Definition bonecolor.cc:90
PChanBoneT< const bPoseChannel, const Bone > PChanBoneConst
Definition BKE_pose.hh:89
BMesh Iterators.
unsigned __int64 uint64_t
Definition BKE_text.h:91