Blender
V5.0
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
BLI_STRUCT_EQUALITY_OPERATORS_2
(
NodeGizmoID
,
compute_context_hash
,
node_id
)
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
BLI_STRUCT_EQUALITY_OPERATORS_2
#define BLI_STRUCT_EQUALITY_OPERATORS_2(Type, m1, m2)
Definition
BLI_struct_equality_utils.hh:33
uint64_t
unsigned long long int uint64_t
Definition
btConvexHullComputer.cpp:33
blender::Map
Definition
BLI_map.hh:129
blender::bke
Definition
AS_asset_library.hh:27
blender::get_default_hash
uint64_t get_default_hash(const T &v, const Args &...args)
Definition
BLI_hash.hh:233
blender::ComputeContextHash
Definition
BLI_compute_context.hh:49
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::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.16.1