Blender V5.0
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
11/* -------------------------------------------------------------------- */
14
15struct ARegion;
16struct bContext;
17struct bScreen;
18struct RegionView3D;
19struct Scene;
20struct ScrArea;
21struct TransformBounds;
22struct TransInfo;
23struct wmGizmoGroup;
24struct wmGizmoGroupType;
25struct wmMsgBus;
26
27namespace blender::ed::transform {
28
30
31/* -------------------------------------------------------------------- */
34
35/* `transform_gizmo_3d.cc` */
36
37#define GIZMO_AXIS_LINE_WIDTH 2.0f
38
39void gizmo_prepare_mat(const bContext *C, RegionView3D *rv3d, const TransformBounds *tbounds);
41 wmMsgBus *mbus,
42 Scene *scene,
43 bScreen *screen,
44 ScrArea *area,
45 ARegion *region,
46 void (*type_fn)(wmGizmoGroupType *));
47
55
63
68
70
71} // namespace blender::ed::transform
#define C
Definition RandGen.cpp:29
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)