Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_mesh.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| struct BMBVHTree; | struct BMBVHTree; | ||||
| struct BMEdge; | struct BMEdge; | ||||
| struct BMFace; | struct BMFace; | ||||
| struct UvVertMap; | struct UvVertMap; | ||||
| struct UvMapVert; | struct UvMapVert; | ||||
| struct ToolSettings; | struct ToolSettings; | ||||
| struct Object; | struct Object; | ||||
| struct rcti; | struct rcti; | ||||
| struct ViewLayer; | |||||
| /* editmesh_utils.c */ | /* editmesh_utils.c */ | ||||
| void EDBM_verts_mirror_cache_begin_ex(struct BMEditMesh *em, const int axis, | void EDBM_verts_mirror_cache_begin_ex(struct BMEditMesh *em, const int axis, | ||||
| const bool use_self, const bool use_select, | const bool use_self, const bool use_select, | ||||
| const bool use_topology, float maxdist, int *r_index); | const bool use_topology, float maxdist, int *r_index); | ||||
| void EDBM_verts_mirror_cache_begin(struct BMEditMesh *em, const int axis, | void EDBM_verts_mirror_cache_begin(struct BMEditMesh *em, const int axis, | ||||
| const bool use_self, const bool use_select, const bool use_toplogy); | const bool use_self, const bool use_select, const bool use_toplogy); | ||||
| void EDBM_verts_mirror_apply(struct BMEditMesh *em, const int sel_from, const int sel_to); | void EDBM_verts_mirror_apply(struct BMEditMesh *em, const int sel_from, const int sel_to); | ||||
| struct BMVert *EDBM_verts_mirror_get(struct BMEditMesh *em, struct BMVert *v); | struct BMVert *EDBM_verts_mirror_get(struct BMEditMesh *em, struct BMVert *v); | ||||
| struct BMEdge *EDBM_verts_mirror_get_edge(struct BMEditMesh *em, struct BMEdge *e); | struct BMEdge *EDBM_verts_mirror_get_edge(struct BMEditMesh *em, struct BMEdge *e); | ||||
| struct BMFace *EDBM_verts_mirror_get_face(struct BMEditMesh *em, struct BMFace *f); | struct BMFace *EDBM_verts_mirror_get_face(struct BMEditMesh *em, struct BMFace *f); | ||||
| void EDBM_verts_mirror_cache_clear(struct BMEditMesh *em, struct BMVert *v); | void EDBM_verts_mirror_cache_clear(struct BMEditMesh *em, struct BMVert *v); | ||||
| void EDBM_verts_mirror_cache_end(struct BMEditMesh *em); | void EDBM_verts_mirror_cache_end(struct BMEditMesh *em); | ||||
| void EDBM_mesh_normals_update(struct BMEditMesh *em); | void EDBM_mesh_normals_update(struct BMEditMesh *em); | ||||
| void EDBM_mesh_clear(struct BMEditMesh *em); | void EDBM_mesh_clear(struct BMEditMesh *em); | ||||
| void EDBM_selectmode_to_scene(struct bContext *C); | void EDBM_selectmode_to_scene(struct bContext *C); | ||||
| void EDBM_mesh_make(struct ToolSettings *ts, struct Object *ob, const bool add_key_index); | void EDBM_mesh_make(struct Object *ob, const int select_mode, const bool add_key_index); | ||||
| void EDBM_mesh_free(struct BMEditMesh *em); | void EDBM_mesh_free(struct BMEditMesh *em); | ||||
| void EDBM_mesh_load(struct Object *ob); | void EDBM_mesh_load(struct Object *ob); | ||||
| struct DerivedMesh *EDBM_mesh_deform_dm_get(struct BMEditMesh *em); | struct DerivedMesh *EDBM_mesh_deform_dm_get(struct BMEditMesh *em); | ||||
| /* flushes based on the current select mode. if in vertex select mode, | /* flushes based on the current select mode. if in vertex select mode, | ||||
| * verts select/deselect edges and faces, if in edge select mode, | * verts select/deselect edges and faces, if in edge select mode, | ||||
| * edges select/deselect faces and vertices, and in face select mode faces select/deselect | * edges select/deselect faces and vertices, and in face select mode faces select/deselect | ||||
| * edges and vertices.*/ | * edges and vertices.*/ | ||||
| ▲ Show 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | |||||
| bool ED_mesh_pick_face(struct bContext *C, struct Object *ob, const int mval[2], unsigned int *index, int size); | bool ED_mesh_pick_face(struct bContext *C, struct Object *ob, const int mval[2], unsigned int *index, int size); | ||||
| bool ED_mesh_pick_face_vert(struct bContext *C, struct Object *ob, const int mval[2], unsigned int *index, int size); | bool ED_mesh_pick_face_vert(struct bContext *C, struct Object *ob, const int mval[2], unsigned int *index, int size); | ||||
| struct MDeformVert *ED_mesh_active_dvert_get_em(struct Object *ob, struct BMVert **r_eve); | struct MDeformVert *ED_mesh_active_dvert_get_em(struct Object *ob, struct BMVert **r_eve); | ||||
| struct MDeformVert *ED_mesh_active_dvert_get_ob(struct Object *ob, int *r_index); | struct MDeformVert *ED_mesh_active_dvert_get_ob(struct Object *ob, int *r_index); | ||||
| struct MDeformVert *ED_mesh_active_dvert_get_only(struct Object *ob); | struct MDeformVert *ED_mesh_active_dvert_get_only(struct Object *ob); | ||||
| void EDBM_mesh_stats_multi(struct ViewLayer *view_layer, int totelem[3], int totelem_sel[3]); | |||||
| void EDBM_mesh_elem_index_ensure_multi(struct ViewLayer *view_layer, const char htype); | |||||
| #define ED_MESH_PICK_DEFAULT_VERT_SIZE 50 | #define ED_MESH_PICK_DEFAULT_VERT_SIZE 50 | ||||
| #define ED_MESH_PICK_DEFAULT_FACE_SIZE 3 | #define ED_MESH_PICK_DEFAULT_FACE_SIZE 3 | ||||
| #define USE_LOOPSLIDE_HACK | #define USE_LOOPSLIDE_HACK | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __ED_MESH_H__ */ | #endif /* __ED_MESH_H__ */ | ||||