Blender V4.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
9#pragma once
10
11/* -------------------------------------------------------------------- */
15struct ARegion;
16struct bContext;
17struct bScreen;
18struct RegionView3D;
19struct Scene;
20struct ScrArea;
21struct TransformBounds;
22struct TransInfo;
23struct wmGizmoGroup;
24struct wmGizmoGroupType;
25struct wmMsgBus;
26
29/* -------------------------------------------------------------------- */
33/* `transform_gizmo_3d.cc` */
34
35#define GIZMO_AXIS_LINE_WIDTH 2.0f
36
37void gizmo_prepare_mat(const bContext *C, RegionView3D *rv3d, const TransformBounds *tbounds);
39 wmMsgBus *mbus,
40 Scene *scene,
41 bScreen *screen,
42 ScrArea *area,
43 ARegion *region,
44 void (*type_fn)(wmGizmoGroupType *));
45
53
61
66
void gizmo_xform_message_subscribe(wmGizmoGroup *gzgroup, wmMsgBus *mbus, Scene *scene, bScreen *screen, ScrArea *area, ARegion *region, void(*type_fn)(wmGizmoGroupType *))
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 gizmo_prepare_mat(const bContext *C, RegionView3D *rv3d, const TransformBounds *tbounds)
void transform_gizmo_3d_model_from_constraint_and_mode_restore(TransInfo *t)