Blender V5.3
mesh_data.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BLI_array.hh"
#include "BLI_math_constants.hh"
#include "BKE_attribute.h"
#include "BKE_attribute.hh"
#include "BKE_attribute_storage.hh"
#include "BKE_context.hh"
#include "BKE_customdata.hh"
#include "BKE_editmesh.hh"
#include "BKE_key.hh"
#include "BKE_library.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_runtime.hh"
#include "BKE_report.hh"
#include "DEG_depsgraph.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "BLT_translation.hh"
#include "ED_mesh.hh"
#include "ED_object.hh"
#include "ED_paint.hh"
#include "ED_screen.hh"
#include "GEO_mesh_split_edges.hh"
#include "mesh_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

UV Layer API
static void blender::mesh_uv_reset_array (float **fuv, const int len)
static void blender::reset_uvs_bmesh (BMFace *f, const int cd_loop_uv_offset)
static void blender::reset_uvs_mesh (const IndexRange face, MutableSpan< float2 > uv_map)
static void blender::reset_uv_map (Mesh *mesh, const StringRef name)
void blender::ED_mesh_uv_loop_reset (bContext *C, Mesh *mesh)
std::optional< std::string > blender::ED_mesh_uv_add (Mesh *mesh, const char *name, bool active_set, bool do_init, ReportList *reports)
static VArray< bool > blender::get_corner_boolean_attribute (const Mesh &mesh, const StringRef name)
VArray< bool > blender::ED_mesh_uv_map_pin_layer_get (const Mesh *mesh, int uv_index)
static bke::AttributeWriter< bool > blender::ensure_corner_boolean_attribute (Mesh &mesh, const StringRef name)
bke::AttributeWriter< bool > blender::ED_mesh_uv_map_pin_layer_ensure (Mesh *mesh, int uv_index)
void blender::ED_mesh_uv_ensure (Mesh *mesh, const char *name)
Color Layer API
std::optional< std::string > blender::ED_mesh_color_add (Mesh *mesh, const char *name, bool active_set, bool do_init, ReportList *reports)
bool blender::ED_mesh_color_ensure (Mesh *mesh, const char *name)
UV Map Operators
static bool blender::uv_maps_poll (bContext *C)
static bool blender::uv_texture_remove_poll (bContext *C)
static wmOperatorStatus blender::mesh_uv_texture_add_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_uv_texture_add (wmOperatorType *ot)
static wmOperatorStatus blender::mesh_uv_texture_remove_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_uv_texture_remove (wmOperatorType *ot)
Add Geometry
static void blender::mesh_add_verts (Mesh *mesh, int len)
static void blender::mesh_add_edges (Mesh *mesh, int len)
static void blender::mesh_add_loops (Mesh *mesh, int len)
static void blender::mesh_add_faces (Mesh *mesh, int len)
void blender::ED_mesh_verts_add (Mesh *mesh, ReportList *reports, int count)
void blender::ED_mesh_edges_add (Mesh *mesh, ReportList *reports, int count)
void blender::ED_mesh_loops_add (Mesh *mesh, ReportList *reports, int count)
void blender::ED_mesh_faces_add (Mesh *mesh, ReportList *reports, int count)
Remove Geometry
static void blender::mesh_remove_verts (Mesh *mesh, int len)
static void blender::mesh_remove_edges (Mesh *mesh, int len)
static void blender::mesh_remove_loops (Mesh *mesh, int len)
static void blender::mesh_remove_faces (Mesh *mesh, int len)
void blender::ED_mesh_verts_remove (Mesh *mesh, ReportList *reports, int count)
void blender::ED_mesh_edges_remove (Mesh *mesh, ReportList *reports, int count)
void blender::ED_mesh_loops_remove (Mesh *mesh, ReportList *reports, int count)
void blender::ED_mesh_faces_remove (Mesh *mesh, ReportList *reports, int count)
void blender::ED_mesh_geometry_clear (Mesh *mesh)
Miscellaneous Public API
void blender::ED_mesh_report_mirror_ex (ReportList &reports, int totmirr, int totfail, char selectmode)
void blender::ED_mesh_report_mirror (ReportList &reports, int totmirr, int totfail)
KeyBlock * blender::ED_mesh_get_edit_shape_key (const Mesh *me)
Mesh * blender::ED_mesh_context (bContext *C)
void blender::ED_mesh_split_faces (Mesh *mesh)

Custom Data Layer Operators

enum class  blender::SkinState { blender::Invalid = -1 , blender::NoSkin = 0 , blender::HasSkin = 1 }
static bool blender::mesh_customdata_mask_clear_poll (bContext *C)
static wmOperatorStatus blender::mesh_customdata_mask_clear_exec (bContext *C, wmOperator *)
static bool blender::mesh_customdata_face_sets_clear_poll (bContext *C)
static wmOperatorStatus blender::mesh_customdata_face_sets_clear_exec (bContext *C, wmOperator *)
void blender::MESH_OT_customdata_face_sets_clear (wmOperatorType *ot)
void blender::MESH_OT_customdata_mask_clear (wmOperatorType *ot)
static SkinState blender::mesh_customdata_skin_state (bContext *C)
static bool blender::mesh_customdata_skin_add_poll (bContext *C)
static wmOperatorStatus blender::mesh_customdata_skin_add_exec (bContext *C, wmOperator *)
void blender::MESH_OT_customdata_skin_add (wmOperatorType *ot)
static bool blender::mesh_customdata_skin_clear_poll (bContext *C)
static wmOperatorStatus blender::mesh_customdata_skin_clear_exec (bContext *C, wmOperator *)
void blender::MESH_OT_customdata_skin_clear (wmOperatorType *ot)
static wmOperatorStatus blender::mesh_customdata_custom_splitnormals_add_exec (bContext *C, wmOperator *)
void blender::MESH_OT_customdata_custom_splitnormals_add (wmOperatorType *ot)
static wmOperatorStatus blender::mesh_customdata_custom_splitnormals_clear_exec (bContext *C, wmOperator *)
void blender::MESH_OT_customdata_custom_splitnormals_clear (wmOperatorType *ot)