Blender V5.3
move3d_gizmo.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_math_vector_types.hh"
#include "BKE_context.hh"
#include "GPU_immediate.hh"
#include "GPU_immediate_util.hh"
#include "GPU_matrix.hh"
#include "GPU_select.hh"
#include "GPU_state.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_gizmo_library.hh"
#include "ED_screen.hh"
#include "ED_transform_snap_object_context.hh"
#include "ED_view3d.hh"
#include "../gizmo_library_intern.hh"

Go to the source code of this file.

Classes

struct  blender::MoveGizmo3D
struct  blender::MoveInteraction

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define MVAL_MAX_PX_DIST   12.0f
#define RING_2D_RESOLUTION   32

Functions

static void blender::gizmo_move_matrix_basis_get (const wmGizmo *gz, float r_matrix[4][4])
static wmOperatorStatus blender::gizmo_move_modal (bContext *C, wmGizmo *gz, const wmEvent *event, eWM_GizmoFlagTweak tweak_flag)
static void blender::move_geom_draw (const wmGizmo *gz, const float color[4], const bool select, const int draw_options)
static void blender::move3d_get_translate (const wmGizmo *gz, const wmEvent *event, const ARegion *region, float co_delta[3])
static void blender::move3d_draw_intern (const bContext *C, wmGizmo *gz, const bool select, const bool highlight)
static void blender::gizmo_move_draw_select (const bContext *C, wmGizmo *gz, int select_id)
static void blender::gizmo_move_draw (const bContext *C, wmGizmo *gz)
static void blender::gizmo_move_exit (bContext *C, wmGizmo *gz, const bool cancel)
static wmOperatorStatus blender::gizmo_move_invoke (bContext *C, wmGizmo *gz, const wmEvent *event)
static int blender::gizmo_move_test_select (bContext *C, wmGizmo *gz, const int mval[2])
static void blender::gizmo_move_property_update (wmGizmo *gz, wmGizmoProperty *gz_prop)
static int blender::gizmo_move_cursor_get (wmGizmo *)
Move Gizmo API
static void blender::GIZMO_GT_move_3d (wmGizmoType *gzt)
void blender::ED_gizmotypes_move_3d ()

Macro Definition Documentation

◆ MVAL_MAX_PX_DIST

#define MVAL_MAX_PX_DIST   12.0f

◆ RING_2D_RESOLUTION

#define RING_2D_RESOLUTION   32

Definition at line 50 of file move3d_gizmo.cc.

Referenced by blender::move_geom_draw().