Blender
V5.3
source
blender
blenkernel
BKE_geometry_nodes_gizmos_transforms.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
5
#pragma once
6
10
11
#include "
BLI_compute_context.hh
"
12
#include "
BLI_map.hh
"
13
#include "
BLI_math_matrix_types.hh
"
14
15
namespace
blender::bke
{
16
22
struct
NodeGizmoID
{
27
ComputeContextHash
compute_context_hash
;
28
int
node_id
;
29
30
friend
bool
operator==
(
const
NodeGizmoID
&a,
const
NodeGizmoID
&
b
) =
default
;
31
32
uint64_t
hash
()
const
33
{
34
return
get_default_hash
(this->compute_context_hash, this->node_id);
35
}
36
};
37
38
struct
GizmoEditHints
{
43
Map<NodeGizmoID, float4x4>
gizmo_transforms
;
44
};
45
46
}
// namespace blender::bke
BLI_compute_context.hh
BLI_map.hh
BLI_math_matrix_types.hh
blender::Map
Definition
BLI_map.hh:129
b
b
Definition
compositor_morphological_distance_infos.hh:36
blender::bke
Definition
AS_asset_library.hh:32
blender::uint64_t
unsigned __int64 uint64_t
Definition
BKE_text.h:91
blender::get_default_hash
constexpr uint64_t get_default_hash(const T &v, const Args &...args)
Definition
BLI_hash.hh:252
blender::ComputeContextHash
Definition
BLI_compute_context.hh:48
blender::bke::GizmoEditHints
Definition
BKE_geometry_nodes_gizmos_transforms.hh:38
blender::bke::GizmoEditHints::gizmo_transforms
Map< NodeGizmoID, float4x4 > gizmo_transforms
Definition
BKE_geometry_nodes_gizmos_transforms.hh:43
blender::bke::NodeGizmoID
Definition
BKE_geometry_nodes_gizmos_transforms.hh:22
blender::bke::NodeGizmoID::operator==
friend bool operator==(const NodeGizmoID &a, const NodeGizmoID &b)=default
blender::bke::NodeGizmoID::hash
uint64_t hash() const
Definition
BKE_geometry_nodes_gizmos_transforms.hh:32
blender::bke::NodeGizmoID::compute_context_hash
ComputeContextHash compute_context_hash
Definition
BKE_geometry_nodes_gizmos_transforms.hh:27
blender::bke::NodeGizmoID::node_id
int node_id
Definition
BKE_geometry_nodes_gizmos_transforms.hh:28
Generated on
for Blender by
doxygen
1.18.0