Blender V5.3
view3d_gizmo_preselect_type.cc File Reference
#include "DNA_mesh_types.h"
#include "DNA_view3d_types.h"
#include "BKE_context.hh"
#include "BKE_editmesh.hh"
#include "BKE_global.hh"
#include "BKE_layer.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_wrapper.hh"
#include "BKE_object.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_vector_c.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_toolsystem.hh"
#include "WM_types.hh"
#include "bmesh.hh"
#include "ED_gizmo_library.hh"
#include "ED_mesh.hh"
#include "ED_screen.hh"
#include "ED_view3d.hh"

Go to the source code of this file.

Classes

struct  blender::MeshElemGizmo3D
struct  blender::MeshEdgeRingGizmo3D

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Shared Internal API
static bool blender::gizmo_preselect_poll_for_draw (const bContext *C, wmGizmo *gz)
Mesh Element (Vert/Edge/Face) Pre-Select Gizmo API
static void blender::gizmo_preselect_elem_draw (const bContext *C, wmGizmo *gz)
static int blender::gizmo_preselect_elem_test_select (bContext *C, wmGizmo *gz, const int mval[2])
static void blender::gizmo_preselect_elem_setup (wmGizmo *gz)
static void blender::gizmo_preselect_elem_free (wmGizmo *gz)
static wmOperatorStatus blender::gizmo_preselect_elem_invoke (bContext *, wmGizmo *, const wmEvent *)
static void blender::GIZMO_GT_mesh_preselect_elem_3d (wmGizmoType *gzt)
Mesh Edge-Ring Pre-Select Gizmo API
static void blender::gizmo_preselect_edgering_draw (const bContext *C, wmGizmo *gz)
static int blender::loopcut_tool_preview_cuts_from_toolsettings (const bContext *C)
static int blender::gizmo_preselect_edgering_test_select (bContext *C, wmGizmo *gz, const int mval[2])
static void blender::gizmo_preselect_edgering_setup (wmGizmo *gz)
static void blender::gizmo_preselect_edgering_free (wmGizmo *gz)
static wmOperatorStatus blender::gizmo_preselect_edgering_invoke (bContext *, wmGizmo *, const wmEvent *)
static void blender::GIZMO_GT_mesh_preselect_edgering_3d (wmGizmoType *gzt)
Gizmo API
void blender::ED_gizmotypes_preselect_3d ()
Gizmo Accessors

This avoids each user of the gizmo needing to write their own lookups to access the information from this gizmo.

void blender::ED_view3d_gizmo_mesh_preselect_get_active (const bContext *C, const wmGizmo *gz, Base **r_base, BMElem **r_ele)
void blender::ED_view3d_gizmo_mesh_preselect_clear (wmGizmo *gz)