Blender  V3.3
select_draw_utils.c File Reference
#include "BKE_editmesh.h"
#include "BKE_mesh.h"
#include "BKE_object.h"
#include "DNA_mesh_types.h"
#include "DNA_scene_types.h"
#include "ED_view3d.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "DRW_select_buffer.h"
#include "draw_cache_impl.h"
#include "select_private.h"

Go to the source code of this file.

Functions

Draw Utilities
void select_id_object_min_max (Object *obj, float r_min[3], float r_max[3])
 
short select_id_get_object_select_mode (Scene *scene, Object *ob)
 
static bool check_ob_drawface_dot (short select_mode, const View3D *v3d, eDrawType dt)
 
static void draw_select_id_edit_mesh (SELECTID_StorageList *stl, Object *ob, short select_mode, bool draw_facedot, uint initial_offset, uint *r_vert_offset, uint *r_edge_offset, uint *r_face_offset)
 
static void draw_select_id_mesh (SELECTID_StorageList *stl, Object *ob, short select_mode, uint initial_offset, uint *r_vert_offset, uint *r_edge_offset, uint *r_face_offset)
 
void select_id_draw_object (void *vedata, View3D *v3d, Object *ob, short select_mode, uint initial_offset, uint *r_vert_offset, uint *r_edge_offset, uint *r_face_offset)
 

Detailed Description

Engine for drawing a selection map where the pixels indicate the selection indices.

Definition in file select_draw_utils.c.

Function Documentation

◆ check_ob_drawface_dot()

static bool check_ob_drawface_dot ( short  select_mode,
const View3D v3d,
eDrawType  dt 
)
static

◆ draw_select_id_edit_mesh()

static void draw_select_id_edit_mesh ( SELECTID_StorageList stl,
Object ob,
short  select_mode,
bool  draw_facedot,
uint  initial_offset,
uint r_vert_offset,
uint r_edge_offset,
uint r_face_offset 
)
static

◆ draw_select_id_mesh()

static void draw_select_id_mesh ( SELECTID_StorageList stl,
Object ob,
short  select_mode,
uint  initial_offset,
uint r_vert_offset,
uint r_edge_offset,
uint r_face_offset 
)
static

◆ select_id_draw_object()

void select_id_draw_object ( void vedata,
View3D v3d,
Object ob,
short  select_mode,
uint  initial_offset,
uint r_vert_offset,
uint r_edge_offset,
uint r_face_offset 
)

◆ select_id_get_object_select_mode()

short select_id_get_object_select_mode ( Scene scene,
Object ob 
)

◆ select_id_object_min_max()

void select_id_object_min_max ( Object obj,
float  r_min[3],
float  r_max[3] 
)