Blender V4.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
11#pragma once
12
13#ifndef __cplusplus
14# error This is a C++ header.
15#endif
16
17#include "DNA_anim_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);
29 ~BoneColor();
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
uint64_t hash() const
Definition bonecolor.cc:70
bool operator==(const BoneColor &other) const
Definition bonecolor.cc:44
bool operator!=(const BoneColor &other) const
Definition bonecolor.cc:65
const ThemeWireColor * effective_color() const
Definition bonecolor.cc:30
const BoneColor & ANIM_bonecolor_posebone_get(const bPoseChannel *pose_bone)
Definition bonecolor.cc:88
unsigned __int64 uint64_t
Definition stdint.h:90