Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_mesh.h
| Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | |||||
| /* editmesh_tools.c (could be moved) */ | /* editmesh_tools.c (could be moved) */ | ||||
| void EDBM_project_snap_verts(struct bContext *C, struct ARegion *ar, struct BMEditMesh *em); | void EDBM_project_snap_verts(struct bContext *C, struct ARegion *ar, struct BMEditMesh *em); | ||||
| /* editface.c */ | /* editface.c */ | ||||
| void paintface_flush_flags(struct bContext *C, struct Object *ob, short flag); | void paintface_flush_flags(struct bContext *C, struct Object *ob, short flag); | ||||
| bool paintface_mouse_select(struct bContext *C, struct Object *ob, const int mval[2], bool extend, bool deselect, bool toggle); | bool paintface_mouse_select(struct bContext *C, struct Object *ob, const int mval[2], bool extend, bool deselect, bool toggle); | ||||
| int do_paintface_box_select(struct ViewContext *vc, struct rcti *rect, int sel_op); | int do_paintface_box_select(struct ViewContext *vc, const struct rcti *rect, int sel_op); | ||||
| void paintface_deselect_all_visible(struct bContext *C, struct Object *ob, int action, bool flush_flags); | void paintface_deselect_all_visible(struct bContext *C, struct Object *ob, int action, bool flush_flags); | ||||
| void paintface_select_linked(struct bContext *C, struct Object *ob, const int mval[2], const bool select); | void paintface_select_linked(struct bContext *C, struct Object *ob, const int mval[2], const bool select); | ||||
| bool paintface_minmax(struct Object *ob, float r_min[3], float r_max[3]); | bool paintface_minmax(struct Object *ob, float r_min[3], float r_max[3]); | ||||
| void paintface_hide(struct bContext *C, struct Object *ob, const bool unselected); | void paintface_hide(struct bContext *C, struct Object *ob, const bool unselected); | ||||
| void paintface_reveal(struct bContext *C, struct Object *ob, const bool select); | void paintface_reveal(struct bContext *C, struct Object *ob, const bool select); | ||||
| void paintvert_deselect_all_visible(struct Object *ob, int action, bool flush_flags); | void paintvert_deselect_all_visible(struct Object *ob, int action, bool flush_flags); | ||||
| ▲ Show 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | |||||
| int mesh_get_x_mirror_vert(struct Object *ob, struct Mesh *me_eval, int index, const bool use_topology); | int mesh_get_x_mirror_vert(struct Object *ob, struct Mesh *me_eval, int index, const bool use_topology); | ||||
| struct BMVert *editbmesh_get_x_mirror_vert(struct Object *ob, struct BMEditMesh *em, | struct BMVert *editbmesh_get_x_mirror_vert(struct Object *ob, struct BMEditMesh *em, | ||||
| struct BMVert *eve, const float co[3], | struct BMVert *eve, const float co[3], | ||||
| int index, const bool use_topology); | int index, const bool use_topology); | ||||
| int *mesh_get_x_mirror_faces(struct Object *ob, struct BMEditMesh *em, struct Mesh *me_eval); | int *mesh_get_x_mirror_faces(struct Object *ob, struct BMEditMesh *em, struct Mesh *me_eval); | ||||
| int ED_mesh_mirror_get_vert(struct Object *ob, int index); | int ED_mesh_mirror_get_vert(struct Object *ob, int index); | ||||
| bool ED_mesh_pick_vert(struct bContext *C, struct Object *ob, const int mval[2], unsigned int *index, int size, bool use_zbuf); | bool ED_mesh_pick_vert(struct bContext *C, struct Object *ob, const int mval[2], unsigned int *index, int dist_px, bool use_zbuf); | ||||
| 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 dist_px); | ||||
| 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 dist_px); | ||||
| 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 Object **objects, const uint objects_len, int totelem[3], int totelem_sel[3]); | void EDBM_mesh_stats_multi(struct Object **objects, const uint objects_len, int totelem[3], int totelem_sel[3]); | ||||
| void EDBM_mesh_elem_index_ensure_multi(struct Object **objects, const uint objects_len, const char htype); | void EDBM_mesh_elem_index_ensure_multi(struct Object **objects, const uint objects_len, const char htype); | ||||
| #define ED_MESH_PICK_DEFAULT_VERT_SIZE 50 | #define ED_MESH_PICK_DEFAULT_VERT_DIST 25 | ||||
| #define ED_MESH_PICK_DEFAULT_FACE_SIZE 3 | #define ED_MESH_PICK_DEFAULT_FACE_DIST 1 | ||||
| #define USE_LOOPSLIDE_HACK | #define USE_LOOPSLIDE_HACK | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __ED_MESH_H__ */ | #endif /* __ED_MESH_H__ */ | ||||