|
Blender V4.3
|
#include "BKE_editmesh.hh"#include "BKE_mesh.hh"#include "BKE_object.hh"#include "DNA_mesh_types.h"#include "DNA_scene_types.h"#include "ED_view3d.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "DRW_select_buffer.hh"#include "draw_cache_impl.hh"#include "select_private.hh"Go to the source code of this file.
Functions | |
Draw Utilities | |
| 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) |
Engine for drawing a selection map where the pixels indicate the selection indices.
Definition in file select_draw_utils.cc.
Definition at line 58 of file select_draw_utils.cc.
References View3DOverlay::edit_flag, OB_SOLID, View3D::overlay, SCE_SELECT_FACE, V3D_OVERLAY_EDIT_FACE_DOT, and XRAY_FLAG_ENABLED.
Referenced by select_id_draw_object().
|
static |
Definition at line 71 of file select_draw_utils.cc.
References BMEditMesh::bm, BM_EDGE, BM_FACE, BM_mesh_elem_table_ensure(), BM_VERT, Object::data, DRW_shgroup_call_no_cull, DRW_shgroup_create_sub(), DRW_shgroup_uniform_int_copy(), Object::dt, SELECTID_StorageList::g_data, OB_SOLID, SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, SELECTID_PrivateData::shgrp_edge, SELECTID_PrivateData::shgrp_face_flat, SELECTID_PrivateData::shgrp_face_unif, SELECTID_PrivateData::shgrp_vert, BMesh::totedge, BMesh::totface, and BMesh::totvert.
Referenced by select_id_draw_object().
|
static |
Definition at line 138 of file select_draw_utils.cc.
References Object::data, DRW_shgroup_call_no_cull, DRW_shgroup_create_sub(), DRW_shgroup_uniform_int_copy(), SELECTID_StorageList::g_data, SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, SELECTID_PrivateData::shgrp_edge, SELECTID_PrivateData::shgrp_face_flat, SELECTID_PrivateData::shgrp_face_unif, and SELECTID_PrivateData::shgrp_vert.
Referenced by 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 ) |
Definition at line 186 of file select_draw_utils.cc.
References BLI_assert, check_ob_drawface_dot(), draw_select_id_edit_mesh(), draw_select_id_mesh(), Object::dt, Object::mode, OB_CURVES_LEGACY, OB_MESH, OB_MODE_EDIT, OB_SURF, and Object::type.
Referenced by select_cache_populate().
Definition at line 33 of file select_draw_utils.cc.
References Object::data, DEG_get_original_object(), Mesh::editflag, ME_EDIT_PAINT_VERT_SEL, Object::mode, OB_MODE_TEXTURE_PAINT, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_PAINT, SCE_SELECT_FACE, and SCE_SELECT_VERTEX.
Referenced by select_cache_init().