Blender  V2.93
Classes
view3d_gizmo_preselect_type.c File Reference
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "DNA_mesh_types.h"
#include "BKE_context.h"
#include "BKE_editmesh.h"
#include "BKE_layer.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "WM_api.h"
#include "WM_types.h"
#include "bmesh.h"
#include "ED_gizmo_library.h"
#include "ED_mesh.h"
#include "ED_screen.h"
#include "ED_view3d.h"

Go to the source code of this file.

Classes

struct  MeshElemGizmo3D
 
struct  MeshEdgeRingGizmo3D
 

Functions

Gizmo API
void ED_gizmotypes_preselect_3d (void)
 
Gizmo Accessors

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

void ED_view3d_gizmo_mesh_preselect_get_active (bContext *C, wmGizmo *gz, Base **r_base, BMElem **r_ele)
 

Mesh Element (Vert/Edge/Face) Pre-Select Gizmo API

typedef struct MeshElemGizmo3D MeshElemGizmo3D
 
static void gizmo_preselect_elem_draw (const bContext *UNUSED(C), wmGizmo *gz)
 
static int gizmo_preselect_elem_test_select (bContext *C, wmGizmo *gz, const int mval[2])
 
static void gizmo_preselect_elem_setup (wmGizmo *gz)
 
static void gizmo_preselect_elem_free (wmGizmo *gz)
 
static int gizmo_preselect_elem_invoke (bContext *UNUSED(C), wmGizmo *UNUSED(gz), const wmEvent *UNUSED(event))
 
static void GIZMO_GT_mesh_preselect_elem_3d (wmGizmoType *gzt)
 

Mesh Edge-Ring Pre-Select Gizmo API

typedef struct MeshEdgeRingGizmo3D MeshEdgeRingGizmo3D
 
static void gizmo_preselect_edgering_draw (const bContext *UNUSED(C), wmGizmo *gz)
 
static int gizmo_preselect_edgering_test_select (bContext *C, wmGizmo *gz, const int mval[2])
 
static void gizmo_preselect_edgering_setup (wmGizmo *gz)
 
static void gizmo_preselect_edgering_free (wmGizmo *gz)
 
static int gizmo_preselect_edgering_invoke (bContext *UNUSED(C), wmGizmo *UNUSED(gz), const wmEvent *UNUSED(event))
 
static void GIZMO_GT_mesh_preselect_edgering_3d (wmGizmoType *gzt)
 

Typedef Documentation

◆ MeshEdgeRingGizmo3D

◆ MeshElemGizmo3D

Function Documentation

◆ ED_gizmotypes_preselect_3d()

void ED_gizmotypes_preselect_3d ( void  )

◆ ED_view3d_gizmo_mesh_preselect_get_active()

void ED_view3d_gizmo_mesh_preselect_get_active ( bContext C,
wmGizmo gz,
Base **  r_base,
BMElem **  r_ele 
)

◆ GIZMO_GT_mesh_preselect_edgering_3d()

static void GIZMO_GT_mesh_preselect_edgering_3d ( wmGizmoType gzt)
static

◆ GIZMO_GT_mesh_preselect_elem_3d()

static void GIZMO_GT_mesh_preselect_elem_3d ( wmGizmoType gzt)
static

◆ gizmo_preselect_edgering_draw()

static void gizmo_preselect_edgering_draw ( const bContext UNUSEDC,
wmGizmo gz 
)
static

◆ gizmo_preselect_edgering_free()

static void gizmo_preselect_edgering_free ( wmGizmo gz)
static

◆ gizmo_preselect_edgering_invoke()

static int gizmo_preselect_edgering_invoke ( bContext UNUSEDC,
wmGizmo UNUSEDgz,
const wmEvent UNUSEDevent 
)
static

Definition at line 411 of file view3d_gizmo_preselect_type.c.

References OPERATOR_PASS_THROUGH.

Referenced by GIZMO_GT_mesh_preselect_edgering_3d().

◆ gizmo_preselect_edgering_setup()

static void gizmo_preselect_edgering_setup ( wmGizmo gz)
static

◆ gizmo_preselect_edgering_test_select()

static int gizmo_preselect_edgering_test_select ( bContext C,
wmGizmo gz,
const int  mval[2] 
)
static

◆ gizmo_preselect_elem_draw()

static void gizmo_preselect_elem_draw ( const bContext UNUSEDC,
wmGizmo gz 
)
static

◆ gizmo_preselect_elem_free()

static void gizmo_preselect_elem_free ( wmGizmo gz)
static

◆ gizmo_preselect_elem_invoke()

static int gizmo_preselect_elem_invoke ( bContext UNUSEDC,
wmGizmo UNUSEDgz,
const wmEvent UNUSEDevent 
)
static

Definition at line 253 of file view3d_gizmo_preselect_type.c.

References OPERATOR_PASS_THROUGH.

Referenced by GIZMO_GT_mesh_preselect_elem_3d().

◆ gizmo_preselect_elem_setup()

static void gizmo_preselect_elem_setup ( wmGizmo gz)
static

◆ gizmo_preselect_elem_test_select()

static int gizmo_preselect_elem_test_select ( bContext C,
wmGizmo gz,
const int  mval[2] 
)
static