Blender V5.3
transform_gizmo.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11struct TransformBounds;
12struct TransInfo;
13namespace blender {
14
15/* -------------------------------------------------------------------- */
18
19struct ARegion;
20struct bContext;
21struct bScreen;
22struct RegionView3D;
23struct Scene;
24struct ScrArea;
25struct wmGizmoGroup;
26struct wmGizmoGroupType;
27struct wmMsgBus;
28
29namespace ed::transform {
30
32
33/* -------------------------------------------------------------------- */
36
37/* `transform_gizmo_3d.cc` */
38
39#define GIZMO_AXIS_LINE_WIDTH 2.0f
40
41void gizmo_prepare_mat(const bContext *C, RegionView3D *rv3d, const TransformBounds *tbounds);
42void gizmo_xform_message_subscribe(wmGizmoGroup *gzgroup,
43 wmMsgBus *mbus,
44 Scene *scene,
45 bScreen *screen,
46 ScrArea *area,
47 ARegion *region,
48 void (*type_fn)(wmGizmoGroupType *));
49
57
65
70
72
73} // namespace ed::transform
74} // namespace blender
#define C
Definition RandGen.cpp:29
Definition scene.h:133
void gizmo_xform_message_subscribe(wmGizmoGroup *gzgroup, wmMsgBus *mbus, Scene *scene, bScreen *screen, ScrArea *area, ARegion *region, void(*type_fn)(wmGizmoGroupType *))
void gizmo_prepare_mat(const bContext *C, RegionView3D *rv3d, const TransformBounds *tbounds)
void transform_gizmo_3d_model_from_constraint_and_mode_init(TransInfo *t)
void transform_gizmo_3d_model_from_constraint_and_mode_set(TransInfo *t)
void transform_gizmo_3d_model_from_constraint_and_mode_restore(TransInfo *t)
BMesh Iterators.