Blender
V4.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
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
{
25
ComputeContextHash
compute_context_hash
;
26
int
node_id
;
27
28
BLI_STRUCT_EQUALITY_OPERATORS_2
(
NodeGizmoID
,
compute_context_hash
,
node_id
)
29
30
uint64_t
hash
()
const
31
{
32
return
get_default_hash
(this->compute_context_hash, this->node_id);
33
}
34
};
35
36
struct
GizmoEditHints
{
41
Map<NodeGizmoID, float4x4>
gizmo_transforms
;
42
};
43
44
}
// namespace blender::bke
BLI_compute_context.hh
BLI_map.hh
BLI_math_matrix_types.hh
BLI_STRUCT_EQUALITY_OPERATORS_2
#define BLI_STRUCT_EQUALITY_OPERATORS_2(Type, m1, m2)
Definition
BLI_struct_equality_utils.hh:29
blender::Map
Definition
BLI_map.hh:129
blender::bke
Definition
AS_asset_library.hh:26
blender::get_default_hash
uint64_t get_default_hash(const T &v)
Definition
BLI_hash.hh:219
uint64_t
unsigned __int64 uint64_t
Definition
stdint.h:90
blender::ComputeContextHash
Definition
BLI_compute_context.hh:51
blender::bke::GizmoEditHints
Definition
BKE_geometry_nodes_gizmos_transforms.hh:36
blender::bke::GizmoEditHints::gizmo_transforms
Map< NodeGizmoID, float4x4 > gizmo_transforms
Definition
BKE_geometry_nodes_gizmos_transforms.hh:41
blender::bke::NodeGizmoID
Definition
BKE_geometry_nodes_gizmos_transforms.hh:22
blender::bke::NodeGizmoID::hash
uint64_t hash() const
Definition
BKE_geometry_nodes_gizmos_transforms.hh:30
blender::bke::NodeGizmoID::compute_context_hash
ComputeContextHash compute_context_hash
Definition
BKE_geometry_nodes_gizmos_transforms.hh:25
blender::bke::NodeGizmoID::node_id
int node_id
Definition
BKE_geometry_nodes_gizmos_transforms.hh:26
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0