Blender V5.0
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#ifndef __cplusplus
14# error This is a C++ header.
15#endif
16
17#include "DNA_armature_types.h"
18
19struct bPoseChannel;
20struct ThemeWireColor;
21
22namespace blender::animrig {
23
25class BoneColor : public ::BoneColor {
26 public:
27 BoneColor();
28 BoneColor(const BoneColor &other);
30
31 const ThemeWireColor *effective_color() const;
32
33 /* Support for storing in a #blender::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 blender::animrig
unsigned long long int uint64_t
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 ThemeWireColor * effective_color() const
Definition bonecolor.cc:32
const BoneColor & ANIM_bonecolor_posebone_get(const bPoseChannel *pose_bone)
Definition bonecolor.cc:90