Blender V5.3
arrow3d_gizmo.cc File Reference
#include "BLI_math_geom_c.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_utildefines.hh"
#include "DNA_view3d_types.h"
#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 "MEM_guardedalloc.h"
#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.hh"
#include "ED_view3d.hh"
#include "../gizmo_geometry.h"
#include "../gizmo_library_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ArrowGizmo3D
struct  blender::ArrowGizmoInteraction

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define ARROW_SELECT_THRESHOLD_PX   (5)

Functions

static void blender::gizmo_arrow_matrix_basis_get (const wmGizmo *gz, float r_matrix[4][4])
static void blender::arrow_draw_geom (const ArrowGizmo3D *arrow, const bool select, const float color[4], const float arrow_length)
static void blender::arrow_draw_intern (ArrowGizmo3D *arrow, const bool select, const bool highlight)
static void blender::gizmo_arrow_draw_select (const bContext *, wmGizmo *gz, int select_id)
static void blender::gizmo_arrow_draw (const bContext *, wmGizmo *gz)
static int blender::gizmo_arrow_test_select (bContext *, wmGizmo *gz, const int mval[2])
static wmOperatorStatus blender::gizmo_arrow_modal (bContext *C, wmGizmo *gz, const wmEvent *event, eWM_GizmoFlagTweak tweak_flag)
static void blender::gizmo_arrow_setup (wmGizmo *gz)
static wmOperatorStatus blender::gizmo_arrow_invoke (bContext *, wmGizmo *gz, const wmEvent *event)
static void blender::gizmo_arrow_property_update (wmGizmo *gz, wmGizmoProperty *gz_prop)
static void blender::gizmo_arrow_exit (bContext *C, wmGizmo *gz, const bool cancel)
Arrow Gizmo API
void blender::ED_gizmo_arrow3d_set_ui_range (wmGizmo *gz, const float min, const float max)
void blender::ED_gizmo_arrow3d_set_range_fac (wmGizmo *gz, const float range_fac)
void blender::ED_gizmo_arrow3d_reset_offset (wmGizmo *gz)
static void blender::GIZMO_GT_arrow_3d (wmGizmoType *gzt)
void blender::ED_gizmotypes_arrow_3d ()

Macro Definition Documentation

◆ ARROW_SELECT_THRESHOLD_PX

#define ARROW_SELECT_THRESHOLD_PX   (5)

Definition at line 59 of file arrow3d_gizmo.cc.

Referenced by blender::gizmo_arrow_test_select().