Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_mesh.h
| Show All 21 Lines | |||||
| /** \file | /** \file | ||||
| * \ingroup bke | * \ingroup bke | ||||
| */ | */ | ||||
| /* defines BLI_INLINE */ | /* defines BLI_INLINE */ | ||||
| #include "BLI_compiler_compat.h" | #include "BLI_compiler_compat.h" | ||||
| /* defines CustomDataMask */ | /* defines CustomDataMask */ | ||||
| #include "BKE_customdata.h" | //#include "BKE_customdata.h" | ||||
| struct BLI_Stack; | struct BLI_Stack; | ||||
| struct BMEditMesh; | struct BMEditMesh; | ||||
| struct BMesh; | struct BMesh; | ||||
| struct BMeshCreateParams; | struct BMeshCreateParams; | ||||
| struct BMeshFromMeshParams; | struct BMeshFromMeshParams; | ||||
| struct BMeshToMeshParams; | struct BMeshToMeshParams; | ||||
| struct BoundBox; | struct BoundBox; | ||||
| struct CustomData; | struct CustomData; | ||||
| struct CustomData_Masks; | |||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct EdgeHash; | struct EdgeHash; | ||||
| struct ID; | struct ID; | ||||
| struct KeyBlock; | struct KeyBlock; | ||||
| struct LinkNode; | struct LinkNode; | ||||
| struct ListBase; | struct ListBase; | ||||
| struct MDeformVert; | struct MDeformVert; | ||||
| struct MDisps; | struct MDisps; | ||||
| Show All 30 Lines | struct BMesh *BKE_mesh_to_bmesh_ex( | ||||
| const struct Mesh *me, | const struct Mesh *me, | ||||
| const struct BMeshCreateParams *create_params, | const struct BMeshCreateParams *create_params, | ||||
| const struct BMeshFromMeshParams *convert_params); | const struct BMeshFromMeshParams *convert_params); | ||||
| struct BMesh *BKE_mesh_to_bmesh( | struct BMesh *BKE_mesh_to_bmesh( | ||||
| struct Mesh *me, struct Object *ob, | struct Mesh *me, struct Object *ob, | ||||
| const bool add_key_index, const struct BMeshCreateParams *params); | const bool add_key_index, const struct BMeshCreateParams *params); | ||||
| struct Mesh *BKE_mesh_from_bmesh_nomain(struct BMesh *bm, const struct BMeshToMeshParams *params); | struct Mesh *BKE_mesh_from_bmesh_nomain(struct BMesh *bm, const struct BMeshToMeshParams *params); | ||||
| struct Mesh *BKE_mesh_from_bmesh_for_eval_nomain(struct BMesh *bm, const int64_t cd_mask_extra); | struct Mesh *BKE_mesh_from_bmesh_for_eval_nomain(struct BMesh *bm, const struct CustomData_Masks *cd_mask_extra); | ||||
| struct Mesh *BKE_mesh_from_editmesh_with_coords_thin_wrap( | struct Mesh *BKE_mesh_from_editmesh_with_coords_thin_wrap( | ||||
| struct BMEditMesh *em, CustomDataMask data_mask, float (*vertexCos)[3]); | struct BMEditMesh *em, const struct CustomData_Masks *data_mask, float (*vertexCos)[3]); | ||||
| int poly_find_loop_from_vert( | int poly_find_loop_from_vert( | ||||
| const struct MPoly *poly, | const struct MPoly *poly, | ||||
| const struct MLoop *loopstart, unsigned vert); | const struct MLoop *loopstart, unsigned vert); | ||||
| int poly_get_adj_loops_from_vert( | int poly_get_adj_loops_from_vert( | ||||
| const struct MPoly *poly, | const struct MPoly *poly, | ||||
| const struct MLoop *mloop, unsigned int vert, | const struct MLoop *mloop, unsigned int vert, | ||||
| unsigned int r_adj[2]); | unsigned int r_adj[2]); | ||||
| ▲ Show 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | struct Mesh *BKE_mesh_new_from_object( | ||||
| struct Depsgraph *depsgraph, struct Main *bmain, struct Scene *sce, struct Object *ob, | struct Depsgraph *depsgraph, struct Main *bmain, struct Scene *sce, struct Object *ob, | ||||
| const bool apply_modifiers, const bool calc_undeformed); | const bool apply_modifiers, const bool calc_undeformed); | ||||
| struct Mesh *BKE_mesh_create_derived_for_modifier( | struct Mesh *BKE_mesh_create_derived_for_modifier( | ||||
| struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, | struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, | ||||
| struct ModifierData *md, int build_shapekey_layers); | struct ModifierData *md, int build_shapekey_layers); | ||||
| /* Copies a nomain-Mesh into an existing Mesh. */ | /* Copies a nomain-Mesh into an existing Mesh. */ | ||||
| void BKE_mesh_nomain_to_mesh(struct Mesh *mesh_src, struct Mesh *mesh_dst, struct Object *ob, | void BKE_mesh_nomain_to_mesh(struct Mesh *mesh_src, struct Mesh *mesh_dst, struct Object *ob, | ||||
| CustomDataMask mask, bool take_ownership); | const struct CustomData_Masks *mask, bool take_ownership); | ||||
| void BKE_mesh_nomain_to_meshkey(struct Mesh *mesh_src, struct Mesh *mesh_dst, struct KeyBlock *kb); | void BKE_mesh_nomain_to_meshkey(struct Mesh *mesh_src, struct Mesh *mesh_dst, struct KeyBlock *kb); | ||||
| /* vertex level transformations & checks (no derived mesh) */ | /* vertex level transformations & checks (no derived mesh) */ | ||||
| bool BKE_mesh_minmax(const struct Mesh *me, float r_min[3], float r_max[3]); | bool BKE_mesh_minmax(const struct Mesh *me, float r_min[3], float r_max[3]); | ||||
| void BKE_mesh_transform(struct Mesh *me, float mat[4][4], bool do_keys); | void BKE_mesh_transform(struct Mesh *me, float mat[4][4], bool do_keys); | ||||
| void BKE_mesh_translate(struct Mesh *me, const float offset[3], const bool do_keys); | void BKE_mesh_translate(struct Mesh *me, const float offset[3], const bool do_keys); | ||||
| ▲ Show 20 Lines • Show All 349 Lines • Show Last 20 Lines | |||||